mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Move health check probes from mgmt to opa. (#15224)
Signed-off-by: Carlo Columna <carlo.columna@xero.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
24a4bab298
commit
c6038533df
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user