From 700eb426c634ea94d7e01058992beb024b068023 Mon Sep 17 00:00:00 2001 From: DMSwimTech <62772356+DMSwimTech@users.noreply.github.com> Date: Sun, 31 Aug 2025 16:38:08 +0300 Subject: [PATCH 1/2] feat: adding option for creating extra kubernetes resource --- helm/holmes/templates/extra-objects.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 helm/holmes/templates/extra-objects.yaml diff --git a/helm/holmes/templates/extra-objects.yaml b/helm/holmes/templates/extra-objects.yaml new file mode 100644 index 000000000..fc9a76b88 --- /dev/null +++ b/helm/holmes/templates/extra-objects.yaml @@ -0,0 +1,8 @@ +{{ range .Values.extraObjects }} +--- +{{ if typeIs "string" . }} + {{- tpl . $ }} +{{- else }} + {{- tpl (toYaml .) $ }} +{{- end }} +{{ end }} From e651b19cb1d97c70c5aed6c014d41e798087259d Mon Sep 17 00:00:00 2001 From: DMSwimTech <62772356+DMSwimTech@users.noreply.github.com> Date: Sun, 31 Aug 2025 16:40:42 +0300 Subject: [PATCH 2/2] feat: adding example for extra objects --- helm/holmes/values.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/helm/holmes/values.yaml b/helm/holmes/values.yaml index 99986e753..79fd3003d 100644 --- a/helm/holmes/values.yaml +++ b/helm/holmes/values.yaml @@ -55,6 +55,17 @@ resources: additionalVolumes: [] additionalVolumeMounts: [] +# -- Array of extra K8s manifests to deploy +## Note: Supports use of custom Helm templates +extraObjects: [] + # - apiVersion: secrets-store.csi.x-k8s.io/v1 + # kind: SecretProviderClass + # metadata: + # name: holmes-secrets-store + # spec: + # provider: aws + # ... + priorityClassName: "" modelList: {}