79362914

Date: 2025-01-16 20:01:04
Score: 1
Natty:
Report link

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

enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Narayana Basetty