netbox: Fix ingress values to be more correct
This commit is contained in:
parent
e600f836d1
commit
6e3b46059f
2 changed files with 13 additions and 3 deletions
|
@ -29,6 +29,9 @@ spec:
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.ingress.rules }}
|
||||
{{ toYaml .Values.ingress.rules | nindent 4 }}
|
||||
{{- else }}
|
||||
- host: {{ .Values.ingress.host | quote }}
|
||||
http:
|
||||
paths:
|
||||
|
@ -37,3 +40,4 @@ spec:
|
|||
serviceName: {{ $fullName }}
|
||||
servicePort: http
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -22,9 +22,15 @@ ingress:
|
|||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
hosts:
|
||||
- host: chart-example.local
|
||||
paths: []
|
||||
host: chart-example.local
|
||||
# Can also be specified by entering rules directly;
|
||||
# rules:
|
||||
# - host: chart-example.local
|
||||
# paths:
|
||||
# - path: /
|
||||
# backend:
|
||||
# serviceName: netbox-example
|
||||
# servicePort: http
|
||||
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
|
|
Loading…
Reference in a new issue