Skip to content

expose ipFamilies and ipFamilyPolicy for Service via helm values#1190

Open
sachinavina wants to merge 8 commits into
stakater:masterfrom
sachinavina:patch-1
Open

expose ipFamilies and ipFamilyPolicy for Service via helm values#1190
sachinavina wants to merge 8 commits into
stakater:masterfrom
sachinavina:patch-1

Conversation

@sachinavina

Copy link
Copy Markdown

Fix for #1189

@sachinavina

Copy link
Copy Markdown
Author

@rasheedamir, @msafwankarim , I've submitted my first PR and would appreciate your review. Please let me know if there are any issues, improvements, or best practices I should incorporate. Looking forward to your feedback. Thank you!

Comment on lines +25 to +30
{{ if .Values.reloader.service.ipFamilyPolicy -}}
ipFamilyPolicy: {{ .Values.reloader.service.ipFamilyPolicy }}
{{ end -}}
{{ if .Values.reloader.service.ipFamilies -}}
ipFamilies: {{ .Values.reloader.service.ipFamilies | toYaml | nindent 4 }}
{{ end -}}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please verify if it works correctly and add helm tests for this. It looks like indentation can break this. The {{ if ... -}} / {{ end -}} trim markers strip the newline and leading indentation, ports: (and the ipFamily fields) land at the document root instead of under spec

@sachinavina sachinavina Jul 22, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed the indentation issue and added tests for the services resource. Please review

@sachinavina
sachinavina requested a review from msafwankarim July 22, 2026 13:30
@sachinavina

Copy link
Copy Markdown
Author

@msafwankarim , I have fixed the indentation issue and added tests for the services resource. Please take a look and let me know if any further changes are needed.

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.

2 participants