Move health check probes from mgmt to opa. (#15224)

Signed-off-by: Carlo Columna <carlo.columna@xero.com>
This commit is contained in:
Carlo Columna
2019-07-08 14:42:01 -07:00
committed by Kubernetes Prow Robot
parent 24a4bab298
commit c6038533df
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ keywords:
- opa
- admission control
- policy
version: 1.5.1
version: 1.5.2
home: https://www.openpolicyagent.org
icon: https://raw.githubusercontent.com/open-policy-agent/opa/master/logo/logo.png
sources:
+4 -4
View File
@@ -85,6 +85,10 @@ spec:
readOnly: true
mountPath: /authz
{{- end }}
readinessProbe:
{{ toYaml .Values.readinessProbe | indent 12 }}
livenessProbe:
{{ toYaml .Values.livenessProbe | indent 12 }}
{{- if .Values.mgmt.enabled }}
- name: mgmt
image: {{ .Values.mgmt.image }}:{{ .Values.mgmt.imageTag }}
@@ -126,10 +130,6 @@ spec:
- proxy
- --accept-paths=^/apis/authorization.k8s.io/v1/subjectaccessreviews$
{{- end }}
readinessProbe:
{{ toYaml .Values.readinessProbe | indent 12 }}
livenessProbe:
{{ toYaml .Values.livenessProbe | indent 12 }}
serviceAccountName: {{ template "opa.serviceAccountName" .}}
volumes:
- name: certs