feat(argo-rollouts): Add possibility to configure healthz and metrics ports to be compatible with Istio (#1976)
This commit is contained in:
parent
5766533626
commit
b651465fb2
6 changed files with 26 additions and 10 deletions
|
|
@ -37,6 +37,8 @@ spec:
|
|||
containers:
|
||||
- image: "{{ .Values.controller.image.registry }}/{{ .Values.controller.image.repository }}:{{ default .Chart.AppVersion .Values.controller.image.tag }}"
|
||||
args:
|
||||
- --healthzPort={{ .Values.controller.containerPorts.healthz }}
|
||||
- --metricsport={{ .Values.controller.containerPorts.metrics }}
|
||||
{{- if not .Values.clusterInstall }}
|
||||
- --namespaced
|
||||
{{- end }}
|
||||
|
|
@ -53,9 +55,9 @@ spec:
|
|||
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
||||
name: argo-rollouts
|
||||
ports:
|
||||
- containerPort: 8090
|
||||
- containerPort: {{ .Values.controller.containerPorts.metrics }}
|
||||
name: metrics
|
||||
- containerPort: 8080
|
||||
- containerPort: {{ .Values.controller.containerPorts.healthz }}
|
||||
name: healthz
|
||||
livenessProbe:
|
||||
{{- toYaml .Values.controller.livenessProbe | nindent 10 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue