feat: add advanced features to config (#1208)
* feat: add advanced features to config Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: only enable longhorn if distro is k3s or k0s Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update ansible lint Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
0fda1f6a56
commit
1ec59d1559
87 files changed
+158
-145
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if discord_template_notifier.enabled | default(false) %#
|
||||
#% if discord_template_notifier|default({}) and discord_template_notifier.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if discord_template_notifier.enabled | default(false) %#
|
||||
#% if discord_template_notifier|default({}) and discord_template_notifier.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if discord_template_notifier.enabled | default(false) %#
|
||||
#% if discord_template_notifier|default({}) and discord_template_notifier.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if discord_template_notifier.enabled | default(false) %#
|
||||
#% if discord_template_notifier|default({}) and discord_template_notifier.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -3,9 +3,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./namespace.yaml
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
- ./homepage/ks.yaml
|
||||
#% endif %#
|
||||
#% if discord_template_notifier.enabled | default(false) %#
|
||||
#% if discord_template_notifier|default({}) and discord_template_notifier.enabled|default(false) %#
|
||||
- ./discord-template-notifier/ks.yaml
|
||||
#% endif %#
|
||||
@@ -4,6 +4,6 @@ kind: Kustomization
|
||||
resources:
|
||||
- ./namespace.yaml
|
||||
- ./addons/ks.yaml
|
||||
#% if weave_gitops.enabled | default(false) %#
|
||||
#% if weave_gitops|default({}) and weave_gitops.enabled|default(false) %#
|
||||
- ./weave-gitops/ks.yaml
|
||||
#% endif %#
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
#% if weave_gitops.enabled | default(false) %#
|
||||
#% if weave_gitops|default({}) and weave_gitops.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
@@ -31,7 +31,7 @@ spec:
|
||||
ingress:
|
||||
enabled: true
|
||||
className: internal
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
annotations:
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/group: Home
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if weave_gitops.enabled | default(false) %#
|
||||
#% if weave_gitops|default({}) and weave_gitops.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if weave_gitops.enabled | default(false) %#
|
||||
#% if weave_gitops|default({}) and weave_gitops.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if weave_gitops.enabled | default(false) %#
|
||||
#% if weave_gitops|default({}) and weave_gitops.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
#% if not bootstrap_ipv6_enabled | default(false) %#
|
||||
#% if not bootstrap_ipv6_enabled|default(false) %#
|
||||
- ./cilium-l2.yaml
|
||||
#% endif %#
|
||||
- ./helmrelease.yaml
|
||||
@@ -8,6 +8,6 @@ resources:
|
||||
- ./kubelet-csr-approver/ks.yaml
|
||||
#% endif %#
|
||||
- ./metrics-server/ks.yaml
|
||||
#% if (bootstrap_distribution == "k0s" or bootstrap_distribution == "talos") and spegel.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'talos'] and spegel|default({}) and spegel.enabled|default(false) %#
|
||||
- ./spegel/ks.yaml
|
||||
#% endif %#
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if (bootstrap_distribution == "k0s" or bootstrap_distribution == "talos") and spegel.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'talos'] and spegel|default({}) and spegel.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if (bootstrap_distribution == "k0s" or bootstrap_distribution == "talos") and spegel.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'talos'] and spegel|default({}) and spegel.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if (bootstrap_distribution == "k0s" or bootstrap_distribution == "talos") and spegel.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'talos'] and spegel|default({}) and spegel.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'k3s'] and longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'k3s'] and longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'k3s'] and longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'k3s'] and longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'k3s'] and longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'k3s'] and longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
|
||||
@@ -70,7 +70,7 @@ spec:
|
||||
className: external
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "external.${SECRET_DOMAIN}"
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/group: Network
|
||||
gethomepage.dev/name: Echo Server
|
||||
|
||||
+1
-1
@@ -3,6 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./staging.yaml
|
||||
#% if bootstrap_acme_production_enabled | default(false) %#
|
||||
#% if bootstrap_acme_production_enabled|default(false) %#
|
||||
- ./production.yaml
|
||||
#% endif %#
|
||||
+1
-1
@@ -70,7 +70,7 @@ spec:
|
||||
namespaceSelector:
|
||||
any: true
|
||||
extraArgs:
|
||||
#% if bootstrap_acme_production_enabled | default(false) %#
|
||||
#% if bootstrap_acme_production_enabled|default(false) %#
|
||||
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-production-tls"
|
||||
#% else %#
|
||||
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-staging-tls"
|
||||
|
||||
@@ -68,7 +68,7 @@ spec:
|
||||
namespaceSelector:
|
||||
any: true
|
||||
extraArgs:
|
||||
#% if bootstrap_acme_production_enabled | default(false) %#
|
||||
#% if bootstrap_acme_production_enabled|default(false) %#
|
||||
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-production-tls"
|
||||
#% else %#
|
||||
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-staging-tls"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if grafana.enabled | default(false) %#
|
||||
#% if grafana|default({}) and grafana.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
@@ -159,7 +159,7 @@ spec:
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: internal
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
annotations:
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/icon: grafana.png
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if grafana.enabled | default(false) %#
|
||||
#% if grafana|default({}) and grafana.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if grafana.enabled | default(false) %#
|
||||
#% if grafana|default({}) and grafana.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if grafana.enabled | default(false) %#
|
||||
#% if grafana|default({}) and grafana.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
#% if kube_prometheus_stack.enabled | default(false) %#
|
||||
#% if kube_prometheus_stack|default({}) and kube_prometheus_stack.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
@@ -121,7 +121,7 @@ spec:
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: internal
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
annotations:
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/icon: prometheus.png
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if kube_prometheus_stack.enabled | default(false) %#
|
||||
#% if kube_prometheus_stack|default({}) and kube_prometheus_stack.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if kube_prometheus_stack.enabled | default(false) %#
|
||||
#% if kube_prometheus_stack|default({}) and kube_prometheus_stack.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
#% if kubernetes_dashboard.enabled | default(false) %#
|
||||
#% if kubernetes_dashboard|default({}) and kubernetes_dashboard.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
@@ -31,7 +31,7 @@ spec:
|
||||
ingress:
|
||||
enabled: true
|
||||
className: internal
|
||||
#% if homepage.enabled | default(false) %#
|
||||
#% if homepage|default({}) and homepage.enabled|default(false) %#
|
||||
annotations:
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/icon: kubernetes-dashboard.png
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if kubernetes_dashboard.enabled | default(false) %#
|
||||
#% if kubernetes_dashboard|default({}) and kubernetes_dashboard.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if kubernetes_dashboard.enabled | default(false) %#
|
||||
#% if kubernetes_dashboard|default({}) and kubernetes_dashboard.enabled|default(false) %#
|
||||
# For dashboard sign in token:
|
||||
# kubectl -n observability get secret kubernetes-dashboard -o jsonpath='{.data.token}' | base64 -d
|
||||
---
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if kubernetes_dashboard.enabled | default(false) %#
|
||||
#% if kubernetes_dashboard|default({}) and kubernetes_dashboard.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -3,12 +3,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./namespace.yaml
|
||||
#% if grafana.enabled | default(false) %#
|
||||
#% if grafana|default({}) and grafana.enabled|default(false) %#
|
||||
- ./grafana/ks.yaml
|
||||
#% endif %#
|
||||
#% if kube_prometheus_stack.enabled | default(false) %#
|
||||
#% if kube_prometheus_stack|default({}) and kube_prometheus_stack.enabled|default(false) %#
|
||||
- ./kube-prometheus-stack/ks.yaml
|
||||
#% endif %#
|
||||
#% if kubernetes_dashboard.enabled | default(false) %#
|
||||
#% if kubernetes_dashboard|default({}) and kubernetes_dashboard.enabled|default(false) %#
|
||||
- ./kubernetes-dashboard/ks.yaml
|
||||
#% endif %#
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if csi_driver_nfs.enabled | default(false) %#
|
||||
#% if csi_driver_nfs|default({}) and csi_driver_nfs.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if csi_driver_nfs.enabled | default(false) %#
|
||||
#% if csi_driver_nfs|default({}) and csi_driver_nfs.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if csi_driver_nfs.enabled | default(false) %#
|
||||
#% if csi_driver_nfs|default({}) and csi_driver_nfs.enabled|default(false) %#
|
||||
#% for item in csi_driver_nfs.storage_class %#
|
||||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if csi_driver_nfs.enabled | default(false) %#
|
||||
#% if csi_driver_nfs|default({}) and csi_driver_nfs.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -4,9 +4,9 @@ kind: Kustomization
|
||||
resources:
|
||||
- ./namespace.yaml
|
||||
- ./openebs/ks.yaml
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
- ./volsync/ks.yaml
|
||||
#% endif %#
|
||||
#% if csi_driver_nfs.enabled | default(false) %#
|
||||
#% if csi_driver_nfs|default({}) and csi_driver_nfs.enabled|default(false) %#
|
||||
- ./csi-driver-nfs/ks.yaml
|
||||
#% endif %#
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
@@ -10,7 +10,7 @@ spec:
|
||||
commonMetadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
dependsOn:
|
||||
- name: longhorn
|
||||
#% endif %#
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
keepHistory: false
|
||||
values:
|
||||
controller:
|
||||
#% if longhorn.enabled | default(false) %#
|
||||
#% if bootstrap_distribution in ['k0s', 'k3s'] and longhorn|default({}) and longhorn.enabled|default(false) %#
|
||||
volumeSnapshotClasses:
|
||||
- name: longhorn-snapclass
|
||||
annotations:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if volsync.enabled | default(false) %#
|
||||
#% if volsync|default({}) and volsync.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
@@ -5,6 +5,6 @@ resources:
|
||||
- ./namespace.yaml
|
||||
- ./descheduler/ks.yaml
|
||||
- ./reloader/ks.yaml
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
||||
- ./system-upgrade-controller/ks.yaml
|
||||
#% endif %#
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: upgrade.cattle.io/v1
|
||||
kind: Plan
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller.enabled | default(false) %#
|
||||
#% if bootstrap_distribution == "k3s" and system_upgrade_controller|default({}) and system_upgrade_controller.enabled|default(false) %#
|
||||
---
|
||||
apiVersion: upgrade.cattle.io/v1
|
||||
kind: Plan
|
||||
|
||||
Reference in new issue
Block a user