mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kube2iam] Add liveness probe (#3400)
* Add liveness check so kube takes care of kube2iam in the event of any issues * Configure --app-port to remain consistent with Helm chart value of .host.port * Bump minor version * Remove option to disable liveness probe
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: kube2iam
|
||||
version: 0.7.0
|
||||
version: 0.8.0
|
||||
description: Provide IAM credentials to pods based on annotations.
|
||||
keywords:
|
||||
- kube2iam
|
||||
|
||||
@@ -56,7 +56,6 @@ Parameter | Description | Default
|
||||
`updateStrategy` | Strategy for DaemonSet updates (requires Kubernetes 1.6+) | `OnDelete`
|
||||
`verbose` | Enable verbose output | `false`
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
```console
|
||||
|
||||
@@ -37,6 +37,7 @@ spec:
|
||||
{{- if .Values.verbose }}
|
||||
- --verbose
|
||||
{{- end }}
|
||||
- --app-port={{ .Values.host.port }}
|
||||
env:
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
@@ -59,7 +60,17 @@ spec:
|
||||
value: {{ .Values.aws.region }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: 8181
|
||||
- containerPort: {{ .Values.host.port }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: {{ .Values.host.port }}
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
{{- if .Values.host.iptables }}
|
||||
|
||||
@@ -8,6 +8,7 @@ host:
|
||||
ip: $(HOST_IP)
|
||||
iptables: false
|
||||
interface: docker0
|
||||
port: 8181
|
||||
|
||||
image:
|
||||
repository: jtblin/kube2iam
|
||||
|
||||
Reference in New Issue
Block a user