fix(helm): add enabled logic for ingress and issuers
This commit is contained in:
parent
14165fabed
commit
b14d105478
2 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{{- if (index .Values "cert-manager") }}
|
||||
{{- if (index .Values "cert-manager").enabled }}
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Issuer
|
||||
metadata:
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ spec:
|
|||
name: {{ include "oncall.engine.fullname" . }}
|
||||
port:
|
||||
number: 8080
|
||||
{{ if .Values.grafana.enabled }}
|
||||
- path: /grafana
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
|
@ -45,4 +46,5 @@ spec:
|
|||
name: {{ include "oncall.grafana.fullname" . }}
|
||||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue