Skip to content

Allow to set dnsPolicy and dnsConfig #1022

@aneudecker

Description

@aneudecker

TL;DR

We need to set dnsPolicy and dnsConfig for our cluster. This is currently not possible with the hcloud-cloud-controller-manager helm chart.

Expected behavior

dnsPolicy and dnsConfig should be configurable via helm values:

values.yaml

dnsPolicy: default
dnsConfig: {}

deployment.yaml

[...]
spec:
  template:
    spec:
      dnsPolicy: {{ .Values.dnsPolicy }}
      {{- with .Values.dnsConfig }}
      dnsConfig:
        {{- toYaml . | nindent 8 }}
      {{- end }}
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions