Do you have sample code? my passwords not sync with ns flux-system in k8s github up to date password as encrypted
i shown code structure
ns: flux-system has my-secrets
i placed secret encrypted under /apps/test
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: podinfo
namespace: flux-system
spec:
interval: 5m
url: https://github.com/narayanab16/podinfo
ref:
branch: main
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: podinfo
namespace: flux-system
spec:
interval: 10m
targetNamespace: flux-system
sourceRef:
kind: GitRepository
name: podinfo
path: "./apps/test"
prune: true
timeout: 1m
# Decryption configuration starts here
decryption:
provider: sops
secretRef:
name: sops-age