feat: allow setting init containers for cluster-autoscaler
Signed-off-by: Henrik Gerdes <hegerdes@outlook.de>
This commit is contained in:
parent
51167b3034
commit
c50e5a9236
|
|
@ -11,4 +11,4 @@ name: cluster-autoscaler
|
|||
sources:
|
||||
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
|
||||
type: application
|
||||
version: 9.41.0
|
||||
version: 9.42.0
|
||||
|
|
|
|||
|
|
@ -440,6 +440,7 @@ vpa:
|
|||
| image.pullSecrets | list | `[]` | Image pull secrets |
|
||||
| image.repository | string | `"registry.k8s.io/autoscaling/cluster-autoscaler"` | Image repository |
|
||||
| image.tag | string | `"v1.31.0"` | Image tag |
|
||||
| initContainers | list | `[]` | Any additional init containers. |
|
||||
| kubeTargetVersionOverride | string | `""` | Allow overriding the `.Capabilities.KubeVersion.GitVersion` check. Useful for `helm template` commands. |
|
||||
| kwokConfigMapName | string | `"kwok-provider-config"` | configmap for configuring kwok provider |
|
||||
| magnumCABundlePath | string | `"/etc/kubernetes/ca-bundle.crt"` | Path to the host's CA bundle, from `ca-file` in the cloud-config file. |
|
||||
|
|
|
|||
|
|
@ -46,6 +46,10 @@ spec:
|
|||
{{- if .Values.hostNetwork }}
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
{{- end }}
|
||||
{{- with .Values.initContainers }}
|
||||
initContainers:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "cluster-autoscaler.name" . }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
|
|
|||
|
|
@ -244,6 +244,9 @@ extraVolumeSecrets: {}
|
|||
# - key: subkey
|
||||
# path: mypath
|
||||
|
||||
# initContainers -- Any additional init containers.
|
||||
initContainers: []
|
||||
|
||||
# fullnameOverride -- String to fully override `cluster-autoscaler.fullname` template.
|
||||
fullnameOverride: ""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue