Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-3639

DO180-563: Ch05: Secret data in the pod does not update

XMLWordPrintable

    • ROLE
    • en-US (English)

      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/do280-4.6/pages/ch04
      Reporter RHNID: lmcnaugh
      Section: s01 - Managing Sensitive Information with Secrets
      Language: en-US (English)||||||||
      Workaround:

      Description: If the value of a secret changes during pod execution, the secret data in the pod does not update. After a secret value changes, you must create new pods to inject the new secret data. I don't think this is always correct. See https://kubernetes.io/docs/concepts/configuration/secret/#mounted-secrets-are-updated-automatically The statement is true when the secret is referenced as an environment variable, but when it is mounted, the file will be updated.

            althomas@redhat.com Allen Thomas
            msameer-admin Mohammed Sameer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: