Uploaded image for project: 'OpenShift Storage'
  1. OpenShift Storage
  2. STOR-1438

Automatically restart `ibm-powervs-block-csi-driver-controller` pods when the secret `ibm-powervs-block-csi-driver-controller-metrics-serving-cert` is updated

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • 1
    • None
    • None
    • None

      The pod `ibm-powervs-block-csi-driver-controller` mounts the secret:

      $ cat assets/controller.yaml
      ...
          containers:
              - name: provisioner-kube-rbac-proxy
      
                volumeMounts:
                - mountPath: /etc/tls/private
                  name: metrics-serving-cert
      
            volumes:
              - name: metrics-serving-cert
                secret:
                  secretName: ibm-powervs-block-csi-driver-controller-metrics-serving-cert
      

       Hence, if the secret is updated (e.g. as a result of CA cert update), the Pod must be restarted

              rh-ee-mpatlaso Maxim Patlasov
              rh-ee-mpatlaso Maxim Patlasov
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: