feat(grafana): added config for ingress

!5 nofusscomputing/infrastructure/configuration-management/inventory-production!3
This commit is contained in:
2023-11-19 18:02:38 +09:30
parent 65534660dd
commit 26a78bdb33
2 changed files with 37 additions and 0 deletions

View File

@ -12,3 +12,18 @@ spec:
{{ end }}
{{ if .Values.nfc_monitoring.grafana.ingress.enabled | default "false" | bool -}}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grafana
namespace: "{{ .Values.nfc_monitoring.grafana.namespace }}"
annotations:
{{ toYaml $.Values.nfc_monitoring.grafana.ingress.annotations | nindent 4 }}
spec:
{{ toYaml $.Values.nfc_monitoring.grafana.ingress.spec | nindent 2 }}
{{ end }}