Skip to content

Conversation

@flomedja
Copy link
Contributor

@flomedja flomedja commented Dec 22, 2025

What issue type does this pull request address? (keep at least one, remove the others)
/kind feature

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves ENG-8076
resolves #2500

Please provide a short message that should be published in the vcluster release notes

  • Add support for configuring hostAliases in the control plane StatefulSet

What else do we need to know?


Note

Enables configuring custom /etc/hosts entries for control plane pods.

  • Template: renders spec.hostAliases when controlPlane.statefulSet.hostAliases is set in statefulset.yaml
  • Values/Schema: adds controlPlane.statefulSet.hostAliases (array of HostAlias) with default [] and defines $defs.HostAlias
  • Go config: adds HostAliases []corev1.HostAlias to ControlPlaneStatefulSet
  • Tests: adds unit test to validate hostAliases rendering

Written by Cursor Bugbot for commit cf51de4. This will update automatically on new commits. Configure here.

@flomedja flomedja requested review from a team and FabianKramm as code owners December 22, 2025 18:59
johannesfrey
johannesfrey previously approved these changes Dec 23, 2025
Copy link
Contributor

@johannesfrey johannesfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@flomedja flomedja force-pushed the eng8076-allow-to-configure-hostaliases-in-values branch from 273f27b to cf51de4 Compare January 5, 2026 16:27
@FabianKramm FabianKramm merged commit cbb70a2 into loft-sh:main Jan 13, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide possibility to configure hostAliases in values.yaml

3 participants