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

Correct PodAntiAffinity typing #163

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Correct PodAntiAffinity typing #163

merged 1 commit into from
Jun 21, 2024

Conversation

chrisseto
Copy link
Contributor

Prior to this commit, Statefulset.PodAntiAffinity was incorrectly typed as a corev1.PodAntiAffinity. Despite the seemingly correct naming, this is not the type expected by the helm chart nor the documented type.

This commit corrects the typing to use the PodAntiAffinity struct, which was vexingly defined but not utilized.

@chrisseto chrisseto enabled auto-merge (rebase) June 21, 2024 16:12
@chrisseto chrisseto disabled auto-merge June 21, 2024 18:13
Prior to this commit, Statefulset.PodAntiAffinity was incorrectly typed
as a `corev1.PodAntiAffinity`. Despite the seemingly correct naming,
this is not the type expected by the helm chart nor the documented type.

This commit corrects the typing to use the `PodAntiAffinity` struct,
which was vexingly defined but not utilized.
@chrisseto chrisseto enabled auto-merge (rebase) June 21, 2024 18:14
@chrisseto chrisseto merged commit ff0c0c1 into main Jun 21, 2024
3 of 5 checks passed
@chrisseto chrisseto deleted the chris/pod-anti-affinity branch June 21, 2024 19:04
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.

None yet

2 participants