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