feat(chart): support configuring dnsConfig
Signed-off-by: Stevo Slavic <sslavic@gmail.com>
This commit is contained in:
parent
9bc422016f
commit
ad1866c323
|
|
@ -11,4 +11,4 @@ name: cluster-autoscaler
|
|||
sources:
|
||||
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
|
||||
type: application
|
||||
version: 9.48.0
|
||||
version: 9.49.0
|
||||
|
|
|
|||
|
|
@ -463,6 +463,7 @@ vpa:
|
|||
| containerSecurityContext | object | `{}` | [Security context for container](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
|
||||
| customArgs | list | `[]` | Additional custom container arguments. Refer to https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-the-parameters-to-ca for the full list of cluster autoscaler parameters and their default values. List of arguments as strings. |
|
||||
| deployment.annotations | object | `{}` | Annotations to add to the Deployment object. |
|
||||
| dnsConfig | object | `{}` | [Pod's DNS Config](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config) |
|
||||
| dnsPolicy | string | `"ClusterFirst"` | Defaults to `ClusterFirst`. Valid values are: `ClusterFirstWithHostNet`, `ClusterFirst`, `Default` or `None`. If autoscaler does not depend on cluster DNS, recommended to set this to `Default`. |
|
||||
| envFromConfigMap | string | `""` | ConfigMap name to use as envFrom. |
|
||||
| envFromSecret | string | `""` | Secret name to use as envFrom. |
|
||||
|
|
|
|||
|
|
@ -40,6 +40,10 @@ spec:
|
|||
{{- if .Values.priorityClassName }}
|
||||
priorityClassName: "{{ .Values.priorityClassName }}"
|
||||
{{- end }}
|
||||
{{- with .Values.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.dnsPolicy }}
|
||||
dnsPolicy: "{{ .Values.dnsPolicy }}"
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -170,6 +170,18 @@ deployment:
|
|||
# deployment.annotations -- Annotations to add to the Deployment object.
|
||||
annotations: {}
|
||||
|
||||
# dnsConfig -- [Pod's DNS Config](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config)
|
||||
dnsConfig: {}
|
||||
# nameservers:
|
||||
# - 1.2.3.4
|
||||
# searches:
|
||||
# - ns1.svc.cluster-domain.example
|
||||
# - my.dns.search.suffix
|
||||
# options:
|
||||
# - name: ndots
|
||||
# value: "2"
|
||||
# - name: edns0
|
||||
|
||||
# dnsPolicy -- Defaults to `ClusterFirst`. Valid values are:
|
||||
# `ClusterFirstWithHostNet`, `ClusterFirst`, `Default` or `None`.
|
||||
# If autoscaler does not depend on cluster DNS, recommended to set this to `Default`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue