Skip to content

Commit 104657a

Browse files
authored
CUSTESC-71: Implement extraManifests (#3)
This seems to be a common practice in the Helm community, as documented here: open-telemetry/opentelemetry-helm-charts#1361 In our case, it can help inject a secret or configmap along with the Helm chart, e.g. for injecting the kubeconfig of a Kubernetes resource as a volume.
1 parent cab3aed commit 104657a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{- range .Values.extraManifests }}
2+
---
3+
{{ toYaml . }}
4+
{{- end }}

charts/connector/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,12 @@ volumes: []
6262
volumeMounts: []
6363
serviceAccount:
6464
name: ""
65+
66+
# Extra manifests to deploy as an array of objects
67+
extraManifests: []
68+
# - apiVersion: v1
69+
# kind: ConfigMap
70+
# metadata:
71+
# name: example-configmap
72+
# data:
73+
# key: value

0 commit comments

Comments
 (0)