Skip to content

Commit

Permalink
chore(flux): adding common metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Jan 11, 2025
1 parent 3c2acf0 commit f25b020
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions kubernetes/flux/cluster/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-meta
name: &app cluster-meta
namespace: flux-system
spec:
targetNamespace: flux-system
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/flux/meta
prune: true
sourceRef:
kind: GitRepository
name: flux-system
wait: true
interval: 30m
decryption:
provider: sops
secretRef:
name: sops-age
wait: true
interval: 30m
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
Expand All @@ -31,12 +34,12 @@ spec:
sourceRef:
kind: GitRepository
name: flux-system
wait: false
interval: 30m
decryption:
provider: sops
secretRef:
name: sops-age
wait: false
interval: 30m
postBuild:
substituteFrom:
- kind: ConfigMap
Expand Down

0 comments on commit f25b020

Please sign in to comment.