fix(traefik): add substituteFrom config map and secrets

This commit is contained in:
SeanOMik 2024-09-07 00:01:46 -04:00
parent 18c99ba347
commit 8c224b4464
1 changed files with 15 additions and 1 deletions

View File

@ -16,6 +16,13 @@ spec:
provider: sops provider: sops
secretRef: secretRef:
name: sops-gpg 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 # yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1 apiVersion: kustomize.toolkit.fluxcd.io/v1
@ -37,4 +44,11 @@ spec:
name: sops-gpg name: sops-gpg
dependsOn: dependsOn:
- name: traefik - name: traefik
namespace: flux-system namespace: flux-system
postBuild:
substitute: {}
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets