diff --git a/stable/kube2iam/templates/daemonset.yaml b/stable/kube2iam/templates/daemonset.yaml index 496091386d..1a04dffc2b 100644 --- a/stable/kube2iam/templates/daemonset.yaml +++ b/stable/kube2iam/templates/daemonset.yaml @@ -65,6 +65,7 @@ spec: {{- end }} ports: - containerPort: {{ .Values.host.port }} + {{- if .Values.probe }} livenessProbe: httpGet: path: /healthz @@ -75,6 +76,7 @@ spec: successThreshold: 1 failureThreshold: 3 timeoutSeconds: 1 + {{- end }} resources: {{ toYaml .Values.resources | indent 12 }} {{- if .Values.host.iptables }} diff --git a/stable/kube2iam/values.yaml b/stable/kube2iam/values.yaml index afa07e2ea0..7b04e90fee 100644 --- a/stable/kube2iam/values.yaml +++ b/stable/kube2iam/values.yaml @@ -37,6 +37,8 @@ podAnnotations: {} podLabels: {} +probe: true + rbac: ## If true, create & use RBAC resources ##