fix: update cluster-settings and cluster-secrets files

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-05-22 09:57:11 -04:00
1 parent 8a7b1391c2
commit 74477840dd
6 files changed
+9 -12

No files matched your search

@@ -22,5 +22,5 @@ metadata:
spec: spec:
allowFirstLastIPs: "Yes" allowFirstLastIPs: "Yes"
blocks: blocks:
- cidr: "${NODE_CIDR}" - cidr: "#{ bootstrap_node_network }#"
#% endif %# #% endif %#
@@ -36,5 +36,5 @@ metadata:
spec: spec:
allowFirstLastIPs: "Yes" allowFirstLastIPs: "Yes"
blocks: blocks:
- cidr: "${BGP_ADVERTISED_CIDR}" - cidr: "#{ bootstrap_bgp.advertised_network }#"
#% endif %# #% endif %#
@@ -22,10 +22,10 @@ spec:
- kind: Secret - kind: Secret
name: cluster-secrets name: cluster-secrets
- kind: ConfigMap - kind: ConfigMap
name: cluster-settings-user name: cluster-user-settings
optional: true optional: true
- kind: Secret - kind: Secret
name: cluster-secrets-user name: cluster-user-secrets
optional: true optional: true
patches: patches:
- patch: |- - patch: |-
@@ -45,10 +45,10 @@ spec:
- kind: Secret - kind: Secret
name: cluster-secrets name: cluster-secrets
- kind: ConfigMap - kind: ConfigMap
name: cluster-settings-user name: cluster-user-settings
optional: true optional: true
- kind: Secret - kind: Secret
name: cluster-secrets-user name: cluster-user-secrets
optional: true optional: true
target: target:
group: kustomize.toolkit.fluxcd.io group: kustomize.toolkit.fluxcd.io
@@ -1,5 +1,4 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json
apiVersion: source.toolkit.fluxcd.io/v1 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository kind: HelmRepository
metadata: metadata:
@@ -5,9 +5,10 @@ metadata:
name: cluster-secrets name: cluster-secrets
namespace: flux-system namespace: flux-system
stringData: stringData:
SECRET_EXAMPLE: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...
#% if bootstrap_cloudflare.enabled %# #% if bootstrap_cloudflare.enabled %#
SECRET_DOMAIN: "#{ bootstrap_cloudflare.domain }#" SECRET_DOMAIN: "#{ bootstrap_cloudflare.domain }#"
SECRET_ACME_EMAIL: "#{ bootstrap_cloudflare.acme.email }#" SECRET_ACME_EMAIL: "#{ bootstrap_cloudflare.acme.email }#"
SECRET_CLOUDFLARE_TUNNEL_ID: "#{ bootstrap_cloudflare.tunnel.id }#" SECRET_CLOUDFLARE_TUNNEL_ID: "#{ bootstrap_cloudflare.tunnel.id }#"
#% else %#
SECRET_EXAMPLE: Global secrets for your cluster go in this file, this file is encrypted with sops
#% endif %# #% endif %#
@@ -5,7 +5,4 @@ metadata:
name: cluster-settings name: cluster-settings
namespace: flux-system namespace: flux-system
data: data:
NODE_CIDR: "#{ bootstrap_node_network }#" SETTING_EXAMPLE: Global settings for your cluster go in this file, this file is NOT encrypted
#% if bootstrap_bgp.enabled %#
BGP_ADVERTISED_CIDR: "#{ bootstrap_bgp.advertised_network }#"
#% endif %#