Skip to content

Commit 7666932

Browse files
committed
feat(openstack): allow additional manifests to be deployed
Allow the user to define extra manifests in their values.yaml in their deployment repo to deploy extra manifests with this chart.
1 parent a732353 commit 7666932

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{- range .Values.extraObjects }}
2+
---
3+
{{ if typeIs "string" . }}
4+
{{- tpl . $ }}
5+
{{- else }}
6+
{{- tpl (toYaml .) $ }}
7+
{{- end }}
8+
{{ end }}

components/openstack/values.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
11
---
2+
3+
# -- Array of extra Kubernetes manifests to deploy
4+
extraObjects: []
5+
# - apiVersion: external-secrets.io/v1beta1
6+
# kind: ExternalSecret
7+
# metadata:
8+
# name: my-secret
9+
# spec:
10+
# secretStoreREf:
11+
# kind: ClusterSecretStore
12+
# name: mystore
13+
# target:
14+
# name: my-secret
15+
# dataFrom:
16+
# - extract:
17+
# key: my-secret-id

0 commit comments

Comments
 (0)