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

Automatically restart `gcp-pd-csi-driver-controller` pods when the secret `gcp-pd-csi-driver-controller-metrics-serving-cert` is updated

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Undefined
    • openshift-4.14
    • None
    • None

    Description

      The pod `gcp-pd-csi-driver-controller` mounts the secret:

      $ oc get po -n openshift-cluster-csi-drivers gcp-pd-csi-driver-controller-5787b9c477-q78qx -o yaml
      ...
          name: provisioner-kube-rbac-proxy
          ...
      
          volumeMounts:
          - mountPath: /etc/tls/private
            name: metrics-serving-cert
      
        volumes:
        - name: metrics-serving-cert
          secret:
            secretName: gcp-pd-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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: