Add type to Dashboard Service

Add ability to specify a serviceType for dashboard.  (We have to run it as a NodePort.). Default to ClusterIP - which is the default if nothing is specified.
This commit is contained in:
MrWetsnow 2021-10-15 20:54:21 -04:00 committed by GitHub
parent 2671798e82
commit 5247f5d0e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.dashboard.serviceType | default "ClusterIP" }}
ports:
- name: dashboard
protocol: TCP