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

Automatically restart `shared-resource-csi-driver-node` pods when the secret `shared-resource-csi-driver-node-metrics-serving-cert` is updated

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • BU Product Work
    • 1
    • False
    • None
    • False
    • OCPSTRAT-193 - Automatically restart storage operators pods when the CA certificates are updated

      The pod `shared-resource-csi-driver-node` mounts the secret:

      $ cat assets/node.yaml
      ...
            containers:
              - name: hostpath
      
                volumeMounts:
                  - mountPath: /etc/secrets
                    name: shared-resource-csi-driver-node-metrics-serving-cert
      
            volumes:
              - name: shared-resource-csi-driver-node-metrics-serving-cert
                secret:
                  defaultMode: 420
                  secretName: shared-resource-csi-driver-node-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
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: