feat(argo-rollouts): Add rollouts dashboard ingress support (#870)
* Add rollouts dashboard ingress support Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Fix eol Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Bump version Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Update Chart.yaml Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com> * Fix service duplication * Extend warning in terms of exposing the dashboard Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Adapt API overrides to other charts (apiVersionOverrides) Also add missing param 'kubeVersionOverride' to README. Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Use consistent code style for empty lists Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Fix README `[/]` -> `["/"]` 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
e32f580733
commit
1794ba17bf
7 changed files with 205 additions and 8 deletions
|
|
@ -6,8 +6,14 @@ metadata:
|
|||
labels:
|
||||
app.kubernetes.io/component: {{ .Values.dashboard.component }}
|
||||
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAnnotations }}
|
||||
{{- with .Values.dashboard.service.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
annotations:
|
||||
{{- with .Values.serviceAnnotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.dashboard.service.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
|
@ -24,10 +30,10 @@ spec:
|
|||
{{- end }}
|
||||
type: {{ .Values.dashboard.service.type }}
|
||||
ports:
|
||||
- name: dashboard
|
||||
- name: {{ .Values.dashboard.service.portName }}
|
||||
protocol: TCP
|
||||
port: 3100
|
||||
targetPort: 3100
|
||||
port: {{ .Values.dashboard.service.port }}
|
||||
targetPort: {{ .Values.dashboard.service.targetPort }}
|
||||
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