k8s-deployment/charts/apply-log/templates/configmap.yaml
2024-12-16 14:55:35 +01:00

21 lines
547 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-apply-log
namespace: {{ .Release.Namespace }}
labels:
k8s.badhouseplants.net/configmap-kind: helmfile-apply-log
{{- include "apply-log.labels" . | nindent 4 }}
data:
author: {{ .Values.author }}
{{- if .Values.ci }}
ci: {{ .Values.ci | quote }}
{{- else }}
{{- with .Values.cdDisabled }}
cdDisabled: {{ . | quote }}
{{- end }}
branch: {{ .Values.branch }}
sha: {{ .Values.sha | quote | replace " " "" }}
status: {{ .Values.status }}
{{- end }}