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

Automatically restart `vsphere-problem-detector-operator` pods when the secret `vsphere-problem-detector-serving-cert` is updated

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.15
    • None
    • None
    • False
    • None
    • False
    • OCPSTRAT-193 - Automatically restart storage operators pods when the CA certificates are updated

      The pod `vsphere-problem-detector-operator` mounts the secret:

      $ cat assets/vsphere_problem_detector/07_deployment.yaml
      
      apiVersion: apps/v1
      kind: Deployment
      metadata:
        name: vsphere-problem-detector-operator
      
          spec:
            containers:
      	  
              volumeMounts:
              - mountPath: /var/run/secrets/serving-cert
                name: vsphere-problem-detector-serving-cert
      
            volumes:
            - name: vsphere-problem-detector-serving-cert
              secret:
                secretName: vsphere-problem-detector-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:
              Resolved: