feat(argo-rollouts): Support LoadBalancer settings for dashboard Service (#1074)
* feat(argo-rollouts): +LB service.type for dashboard svc Signed-off-by: Maciej Lasyk <maciej@lasyk.info> * Apply changes from code review Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
daa6501137
commit
f518712c33
4 changed files with 23 additions and 2 deletions
|
|
@ -11,6 +11,17 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .Values.dashboard.service.externalIPs }}
|
||||
externalIPs: {{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if eq .Values.dashboard.service.type "LoadBalancer" }}
|
||||
{{- with .Values.dashboard.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.dashboard.service.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges: {{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
type: {{ .Values.dashboard.service.type }}
|
||||
ports:
|
||||
- name: dashboard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue