Open vlasov-y opened 3 weeks ago
To support this, the discovery mechanism for generators needs to be extended to components. Similar to: https://github.com/fluxcd/kustomize-controller/blob/6c91a199fdfb43af42c17f17f463d72507747bc5/internal/decryptor/decryptor.go#L659-L663
Describe the bug
It is possible to create resources from both Kustomization and Component stacks, but in the second case, secrets are left encrypted.
Steps to reproduce
Create
kustomize.toolkit.fluxcd.io/v1 Kustomization
that read sources with files like below.Expected behavior
Secret with decryped token. But receive a secret with all fields straight from env file
Screenshots and recordings
No response
OS / Distro
EKS 1.30.2
Flux version
2.3.0
Flux check
Git provider
GitLab
Container Registry provider
ECR
Additional context
No response
Code of Conduct