[FIX] Move substitute files into a tmpl folder

Cleans up `envsubst` command and allows command to be re-run
This commit is contained in:
dcplaya committed 2021-04-15 13:56:27 -07:00
1 parent ac794cfefc
commit 72197115f1
6 files changed
+5 -5

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
# yamllint disable
apiVersion: v1
kind: Secret
metadata:
name: cluster-secrets
namespace: flux-system
stringData:
SECRET_DOMAIN: $BOOTSTRAP_DOMAIN
SECRET_DOMAIN_CERT: $BOOTSTRAP_DOMAIN_CERT
SECRET_CLOUDFLARE_EMAIL: $BOOTSTRAP_CLOUDFLARE_EMAIL
-9
View File
@@ -1,9 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: cluster-settings
namespace: flux-system
data:
METALLB_LB_RANGE: $BOOTSTRAP_METALLB_LB_RANGE
INGRESS_NGINX_LB: $BOOTSTRAP_INGRESS_NGINX_LB
-31
View File
@@ -1,31 +0,0 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
secretRef:
name: flux-system
url: ssh://git@github.com/$BOOTSTRAP_GITHUB_REPOSITORY
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m0s
path: ./cluster/base
prune: true
sourceRef:
kind: GitRepository
name: flux-system
validation: client
decryption:
provider: sops
secretRef:
name: sops-gpg