20 lines
559 B
YAML

{{/*
ConfigMap containing the status.json file
This file will be mounted into the nginx container
*/}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "gitops-status-server.fullname" . }}
labels:
{{- include "gitops-status-server.labels" . | nindent 4 }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
data:
# The status.json file that will be served by nginx
# This can be updated by your GitOps pipeline or ArgoCD hooks
status.json: |
{{- .Values.statusJson | toJson | nindent 4 }}