argocd/cilium/templates/hubble-ui/configmap.yaml
2024-11-08 12:56:42 +01:00

15 lines
401 B
YAML

{{- if and (or .Values.hubble.enabled .Values.hubble.ui.standalone.enabled) .Values.hubble.ui.enabled }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: hubble-ui-nginx
namespace: {{ .Release.Namespace }}
{{- with .Values.hubble.ui.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
data:
nginx.conf: {{ include "hubble-ui.nginx.conf" . | trim | quote }}
{{- end }}