From bb0bd9da54d9a616752b63a5aed45b7f1047b12f Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Tue, 24 Jun 2025 12:45:06 +0100 Subject: [PATCH] add extraManifests --- .../k8s/helm/templates/extra-manifests.yaml | 4 +++ hosting/k8s/helm/values.yaml | 30 ++++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 hosting/k8s/helm/templates/extra-manifests.yaml diff --git a/hosting/k8s/helm/templates/extra-manifests.yaml b/hosting/k8s/helm/templates/extra-manifests.yaml new file mode 100644 index 000000000..c25dc7baf --- /dev/null +++ b/hosting/k8s/helm/templates/extra-manifests.yaml @@ -0,0 +1,4 @@ +{{- range .Values.extraManifests }} +--- +{{ toYaml . }} +{{- end }} \ No newline at end of file diff --git a/hosting/k8s/helm/values.yaml b/hosting/k8s/helm/values.yaml index 6a7a4554c..ba872bd32 100644 --- a/hosting/k8s/helm/values.yaml +++ b/hosting/k8s/helm/values.yaml @@ -557,4 +557,32 @@ persistence: accessMode: ReadWriteOnce # accessMode: ReadWriteMany # Use for cross-node deployment (requires compatible storage class) storageClass: "" - retain: true # Prevents deletion on uninstall + retain: true # Prevents deletion on uninstall + +# Extra Kubernetes manifests +# This allows you to add additional Kubernetes resources that will be deployed with the chart +extraManifests: + [] + # - apiVersion: v1 + # kind: ConfigMap + # metadata: + # name: my-config + # data: + # key: value + # - apiVersion: apps/v1 + # kind: Deployment + # metadata: + # name: my-app + # spec: + # replicas: 1 + # selector: + # matchLabels: + # app: my-app + # template: + # metadata: + # labels: + # app: my-app + # spec: + # containers: + # - name: my-container + # image: nginx:latest