fix(traefik): add substituteFrom config map and secrets

This commit is contained in:
SeanOMik 2024-09-07 00:01:46 -04:00
parent 5c8cdb3cbb
commit 245b7c0bca
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 15 additions and 1 deletions

View File

@ -16,6 +16,13 @@ spec:
provider: sops
secretRef:
name: sops-gpg
postBuild:
substitute: {}
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
@ -38,3 +45,10 @@ spec:
dependsOn:
- name: traefik
namespace: flux-system
postBuild:
substitute: {}
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets