From ecfef599a6888af2dd27bebf4f15367628f501bd Mon Sep 17 00:00:00 2001 From: Riadh Meghenem Date: Mon, 19 Aug 2024 16:37:06 +0200 Subject: [PATCH] feat(extraObjects): support creation of extra manifests via values (#5) * feat(extraObjects): support creation of extra manifests via values * cleaning * Update values.yaml --- templates/extra-manifests.yml | 4 ++++ values.yaml | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 templates/extra-manifests.yml diff --git a/templates/extra-manifests.yml b/templates/extra-manifests.yml new file mode 100644 index 0000000..a9bb3b6 --- /dev/null +++ b/templates/extra-manifests.yml @@ -0,0 +1,4 @@ +{{ range .Values.extraObjects }} +--- +{{ tpl (toYaml .) $ }} +{{ end }} diff --git a/values.yaml b/values.yaml index 3fba854..f15a91e 100644 --- a/values.yaml +++ b/values.yaml @@ -693,3 +693,15 @@ externalDatabase: ## key: mongoDBUri ## uri: {} + +## @param extraObjects [array] Create a dynamic manifests via values: +extraObjects: [] + ## - apiVersion: "kubernetes-client.io/v1" + ## kind: ExternalSecret + ## metadata: + ## name: horizon-secrets + ## spec: + ## backendType: gcpSecretsManager + ## data: + ## - key: horizon-secret-key + ## name: horizon-secret-name