piotrlinski commented on PR #61527: URL: https://github.com/apache/airflow/pull/61527#issuecomment-3904220656
`stringData` is a write-only convenience field in the Kubernetes API — the API server converts it to base64 and merges it into `data` at write time. When reading secrets back via `list_namespaced_secret`, `stringData` is always `None`. So `secret.data` will always contain the values regardless of how the secret was originally created. Reference: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
