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:
|
sources:
|
||||||
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
|
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
|
||||||
type: application
|
type: application
|
||||||
version: 9.41.0
|
version: 9.42.0
|
||||||
|
|
|
||||||
|
|
@ -440,6 +440,7 @@ vpa:
|
||||||
| image.pullSecrets | list | `[]` | Image pull secrets |
|
| image.pullSecrets | list | `[]` | Image pull secrets |
|
||||||
| image.repository | string | `"registry.k8s.io/autoscaling/cluster-autoscaler"` | Image repository |
|
| image.repository | string | `"registry.k8s.io/autoscaling/cluster-autoscaler"` | Image repository |
|
||||||
| image.tag | string | `"v1.31.0"` | Image tag |
|
| 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. |
|
| kubeTargetVersionOverride | string | `""` | Allow overriding the `.Capabilities.KubeVersion.GitVersion` check. Useful for `helm template` commands. |
|
||||||
| kwokConfigMapName | string | `"kwok-provider-config"` | configmap for configuring kwok provider |
|
| 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. |
|
| 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 }}
|
{{- if .Values.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.hostNetwork }}
|
hostNetwork: {{ .Values.hostNetwork }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.initContainers }}
|
||||||
|
initContainers:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ template "cluster-autoscaler.name" . }}
|
- name: {{ template "cluster-autoscaler.name" . }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
|
|
|
||||||
|
|
@ -244,6 +244,9 @@ extraVolumeSecrets: {}
|
||||||
# - key: subkey
|
# - key: subkey
|
||||||
# path: mypath
|
# path: mypath
|
||||||
|
|
||||||
|
# initContainers -- Any additional init containers.
|
||||||
|
initContainers: []
|
||||||
|
|
||||||
# fullnameOverride -- String to fully override `cluster-autoscaler.fullname` template.
|
# fullnameOverride -- String to fully override `cluster-autoscaler.fullname` template.
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue