feat(argo-rollouts): Add ability to define dashboard service node port (#1138)
* feat(argo-rollouts): Add ability to define dashboard service node port Signed-off-by: Jean Mainguy <9969006+jhandguy@users.noreply.github.com> * 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
1aabc80985
commit
3be6c52a64
4 changed files with 9 additions and 3 deletions
|
|
@ -34,6 +34,9 @@ spec:
|
|||
protocol: TCP
|
||||
port: {{ .Values.dashboard.service.port }}
|
||||
targetPort: {{ .Values.dashboard.service.targetPort }}
|
||||
{{- if and (eq .Values.dashboard.service.type "NodePort") .Values.dashboard.service.nodePort }}
|
||||
nodePort: {{ .Values.dashboard.service.nodePort }}
|
||||
{{- end }}
|
||||
selector:
|
||||
app.kubernetes.io/component: {{ .Values.dashboard.component }}
|
||||
{{- include "argo-rollouts.selectorLabels" . | nindent 4 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue