mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/cluster-autoscaler] Add extraEnvFromSecret parameter (#13308)
This parameter can be useful if we want to supply the access keys via an external secret. This should work with any cloud provider. In my case I don't want to authorize the workers to interact with the ASG, as any container running in the cluster would be allowed to do so, instead I have created an IAM user and stored the credentials in a secret. Signed-off-by: Alessandro Siragusa <alessandro.siragusa@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d9374f57d6
commit
1f9750eedb
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: Scales worker nodes within autoscaling groups.
|
||||
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
|
||||
name: cluster-autoscaler
|
||||
version: 0.13.3
|
||||
version: 0.14.0
|
||||
appVersion: 1.13.1
|
||||
home: https://github.com/kubernetes/autoscaler
|
||||
sources:
|
||||
|
||||
@@ -137,6 +137,7 @@ Parameter | Description | Default
|
||||
`extraArgs` | additional container arguments | `{}`
|
||||
`podDisruptionBudget` | Pod disruption budget | `maxUnavailable: 1`
|
||||
`extraEnv` | additional container environment variables | `{}`
|
||||
`envFromSecret` | additional container environment variables from secret | `nil`
|
||||
`nodeSelector` | node labels for pod assignment | `{}`
|
||||
`podAnnotations` | annotations to add to each pod | `{}`
|
||||
`deployment.apiVersion` | apiVersion for the deployment | `extensions/v1beta1`
|
||||
|
||||
@@ -148,6 +148,11 @@ spec:
|
||||
- name: {{ $key }}
|
||||
value: "{{ $value }}"
|
||||
{{- end }}
|
||||
{{- if .Values.envFromSecret }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ .Values.envFromSecret }}
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health-check
|
||||
|
||||
Reference in New Issue
Block a user