Flux CD
Easy
Security
When you encrypt a Kubernetes Secret with SOPS for Flux, which fields should you encrypt?
Select your answer:
Show answer and explanation
Answer: Only the data and stringData fields
Explanation
kustomize-controller needs apiVersion, kind and metadata in plain text, and encrypting them is not supported. The usual way is encrypted_regex: ^(data|stringData)$ in .sops.yaml, or the --encrypted-regex flag on sops encrypt.
More easy Flux CD questions
- What is Flux CD?
- With Flux, how do changes in Git reach the cluster?
- Which Flux controller fetches Git repositories, OCI artifacts and Helm charts for the other controllers?
- Which Flux custom resource applies the Kubernetes manifests found at a path in a source?
- Which command checks that a cluster meets Flux's requirements before you install it?
- What does 'flux bootstrap github' do?