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

Details

    • Story
    • Resolution: Done
    • Undefined
    • openshift-4.15
    • None
    • None

    Description

      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

      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:
              Resolved: