feat(argo-rollouts): Add possibility to configure healthz and metrics ports to be compatible with Istio (#1976)

This commit is contained in:
Yevhen Tienkaiev 2023-05-20 18:39:17 +03:00 committed by GitHub
parent 5766533626
commit b651465fb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 10 deletions

View file

@ -13,10 +13,10 @@ metadata:
{{- end }}
spec:
ports:
- name: metrics
- name: {{ .Values.controller.metrics.service.portName }}
protocol: TCP
port: 8090
targetPort: 8090
port: {{ .Values.controller.metrics.service.port }}
targetPort: metrics
selector:
app.kubernetes.io/component: {{ .Values.controller.component }}
{{- include "argo-rollouts.selectorLabels" . | nindent 4 }}