Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide possibility to configure hostAliases in values.yaml #2500

Open
petr0ff opened this issue Feb 19, 2025 · 0 comments
Open

Provide possibility to configure hostAliases in values.yaml #2500

petr0ff opened this issue Feb 19, 2025 · 0 comments

Comments

@petr0ff
Copy link

petr0ff commented Feb 19, 2025

Is your feature request related to a problem?

It would be very useful to add possibility to configure hostAliases in values.yaml, so it would be propagated in vcluster sts/deployment. It is valuable for debugging and working with ingresses which are not yet in DNS entries. For me the use case is adding OIDC authentication for kube-apiserver working with local dex deployment which is exposed via ingress, and I would like to add hostAliases to make it work.

Which solution do you suggest?

In values.yaml for controlPlane add hostAliases object and then use it in templates/statefulset.yaml like this:

{{- with .Values.controlPlane.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}

Which alternative solutions exist?

No response

Additional context

No response

@linear linear bot closed this as completed Feb 20, 2025
@linear linear bot reopened this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant