Skip to content

Possibility to define dnsConfig section #227

@vozarea

Description

@vozarea

What would you like to be added

I would like to add possibility to define dnsConfig section for pod(s) - minimally to define searches.

Something like (for version 1.27.4):
ca.yaml (on line 170)

      {{- if and .Values.dnsConfig .Values.dnsConfig.searches }}
      dnsConfig:
        searches:
        {{- range .Values.dnsConfig.searches }}
          - {{ . }}
        {{- end }}
      {{- end }}

Why this is needed

I use AKS cluster connected to Azure VNET and running step-ca in it not only for this cluster, but also for another systems running on the same or other VNETs. In cluster I use Core DNS with customization to be able to reach internal domain names (but only FQDN, if we want to preserve internal AKS DNS resolving). But then, if we try to create certificate via HTTP-01 for our non-fqdn domains, it fails (because internal AKS DNS cannot translate it).

This fix/update solves our problem.

Thanks.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestneeds triageWaiting for discussion / prioritization by team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions