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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user