Allow for ConfigMaps to be annotated (#272)
Without an annotation, spinnaker will rename the configmap. --------- Signed-off-by: Faisal Memon <[email protected]> Co-authored-by: kfox1111 <[email protected]>
This commit is contained in:
@@ -16,6 +16,7 @@ A Helm chart to install the SPIRE agent.
|
||||
|-----|------|---------|-------------|
|
||||
| bundleConfigMap | string | `"spire-bundle"` | |
|
||||
| clusterName | string | `"example-cluster"` | |
|
||||
| configMap.annotations | object | `{}` | Annotations to add to the SPIRE Agent ConfigMap |
|
||||
| extraContainers | list | `[]` | |
|
||||
| extraVolumeMounts | list | `[]` | |
|
||||
| extraVolumes | list | `[]` | |
|
||||
|
||||
@@ -55,6 +55,10 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "spire-agent.fullname" . }}
|
||||
namespace: {{ include "spire-agent.namespace" . }}
|
||||
{{- with .Values.configMap.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
agent.conf: |
|
||||
{{- include "spire-agent.yaml-config" . | fromYaml | toPrettyJson | nindent 4 }}
|
||||
|
||||
@@ -25,6 +25,10 @@ serviceAccount:
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
configMap:
|
||||
# -- Annotations to add to the SPIRE Agent ConfigMap
|
||||
annotations: {}
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
|
||||
Reference in New Issue
Block a user