Unverified Commit 368fbabb authored by Joseph Petersen's avatar Joseph Petersen Committed by GitHub

add className for chronograf (#354)

parent 1c3c161b
apiVersion: v1 apiVersion: v1
name: chronograf name: chronograf
version: 1.2.0 version: 1.2.1
appVersion: 1.9.1 appVersion: 1.9.1
description: Open-source web application written in Go and React.js that provides description: Open-source web application written in Go and React.js that provides
the tools to visualize your monitoring data and easily create alerting and automation the tools to visualize your monitoring data and easily create alerting and automation
......
...@@ -17,6 +17,9 @@ spec: ...@@ -17,6 +17,9 @@ spec:
- {{ .Values.ingress.hostname | quote }} - {{ .Values.ingress.hostname | quote }}
secretName: {{ .Values.ingress.secretName | default (printf "%s-tls" (include "chronograf.fullname" .)) }} secretName: {{ .Values.ingress.secretName | default (printf "%s-tls" (include "chronograf.fullname" .)) }}
{{- end }} {{- end }}
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
rules: rules:
- host: {{ .Values.ingress.hostname }} - host: {{ .Values.ingress.hostname }}
http: http:
...@@ -25,4 +28,4 @@ spec: ...@@ -25,4 +28,4 @@ spec:
backend: backend:
serviceName: {{ template "chronograf.fullname" . }} serviceName: {{ template "chronograf.fullname" . }}
servicePort: 80 servicePort: 80
{{- end -}} {{- end -}}
\ No newline at end of file
...@@ -64,6 +64,7 @@ ingress: ...@@ -64,6 +64,7 @@ ingress:
enabled: false enabled: false
tls: false tls: false
hostname: chronograf.foobar.com hostname: chronograf.foobar.com
className: null
annotations: {} annotations: {}
# kubernetes.io/ingress.class: "nginx" # kubernetes.io/ingress.class: "nginx"
# secretName: my-tls-cert # secretName: my-tls-cert
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment