Add hostname policy#359
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #359 +/- ##
==========================================
+ Coverage 46.08% 46.19% +0.11%
==========================================
Files 123 123
Lines 7660 7672 +12
==========================================
+ Hits 3530 3544 +14
+ Misses 3811 3808 -3
- Partials 319 320 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
317f528 to
1aea72e
Compare
When NamingStrategy.PodNamingSuffixPolicy is PersistentSequence, pod names are deterministic before creation, so automatically set pod.spec.hostname to the pod name. This removes the need for a separate HostnamePolicy field and makes the behavior implicit. - Add GetPostCreateFunc to XSetOperation for hostname injection - Add integration test for auto hostname with PersistentSequence - Update kube-api to v0.7.5-0.20260512114711-9570d38337c2 - Update kube-xset to v0.0.2-0.20260515171226-5fb80db19c40 - Add GOLANGCI_VERSION to Makefile Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1aea72e to
47ba335
Compare
zoumo
approved these changes
May 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):
2. What is the scope of this PR (e.g. component or file name):
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):
5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:
6. Release note
Please refer to Release Notes Language Style Guide to write a quality release note.