Allow configuration of ipFamilyPolicy and ipFamilies #313

Merged
luhahn merged 3 commits from svenihoney/helm-chart:master into master 2022-04-25 11:56:26 +00:00
Contributor

To enable access to e.g. the SSH port by IPv6, the selection of ipFamilyPolicy and ipFamilies service attributes is necessary. Enable the possibility to configure these by helm values.

To enable access to e.g. the SSH port by IPv6, the selection of ipFamilyPolicy and ipFamilies service attributes is necessary. Enable the possibility to configure these by helm values.
svenihoney added 1 commit 2022-04-17 09:02:06 +00:00
Allow configuration of ipFamilyPolicy and ipFamilies
All checks were successful
continuous-integration/drone/pr Build is passing
338b9db937
svenihoney added 1 commit 2022-04-17 09:03:42 +00:00
Add placeholders for ipFamilyPolicy and ipFamilies to values file
All checks were successful
continuous-integration/drone/pr Build is passing
5b511d8688

Thanks for the PR :)

From a purely diff perspective, these changes look fine, although I'm not familiar enough with the ipfamily service attributes enough to say either way.

If another maintainer is fine with these too, then I'm happy to give my approval as well.

Thanks for the PR :) From a purely diff perspective, these changes look fine, although I'm not familiar enough with the ipfamily service attributes enough to say either way. If another maintainer is fine with these too, then I'm happy to give my approval as well.
justusbunsi requested changes 2022-04-21 09:30:15 +00:00
justusbunsi left a comment
Member

In addition to the comments below, please add both new value parameters to the service section of README.md. Since the default value depend on each environment, I'd suggest linking the official Kubernetes dual-stack concept documentation: https://kubernetes.io/docs/concepts/services-networking/dual-stack/

In addition to the comments below, please add both new value parameters to the service section of [README.md](https://gitea.com/gitea/helm-chart/src/branch/master/README.md#service). Since the default value depend on each environment, I'd suggest linking the official Kubernetes dual-stack concept documentation: https://kubernetes.io/docs/concepts/services-networking/dual-stack/
@ -21,6 +21,13 @@ spec:
externalIPs:
{{- toYaml .Values.service.http.externalIPs | nindent 4 }}
{{- end }}
{{- if .Values.service.ipFamilyPolicy }}
Member
- {{- if .Values.service.ipFamilyPolicy }}
+ {{- if .Values.service.http.ipFamilyPolicy }}
```diff - {{- if .Values.service.ipFamilyPolicy }} + {{- if .Values.service.http.ipFamilyPolicy }} ```
justusbunsi marked this conversation as resolved
@ -22,2 +22,4 @@
{{- toYaml .Values.service.http.externalIPs | nindent 4 }}
{{- end }}
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
Member
- ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
+ ipFamilyPolicy: {{ .Values.service.http.ipFamilyPolicy }}
```diff - ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }} + ipFamilyPolicy: {{ .Values.service.http.ipFamilyPolicy }} ```
justusbunsi marked this conversation as resolved
@ -24,0 +24,4 @@
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
{{- end }}
{{- with .Values.service.ipFamilies }}
Member
- {{- with .Values.service.ipFamilies }}
+ {{- with .Values.service.http.ipFamilies }}
```diff - {{- with .Values.service.ipFamilies }} + {{- with .Values.service.http.ipFamilies }} ```
justusbunsi marked this conversation as resolved
@ -26,6 +26,13 @@ spec:
externalIPs:
{{- toYaml .Values.service.ssh.externalIPs | nindent 4 }}
{{- end }}
{{- if .Values.service.ipFamilyPolicy }}
Member

Like above but with .ssh. values subpath for this whole file.

Like above but with `.ssh.` values subpath for this whole file.
justusbunsi marked this conversation as resolved
justusbunsi added the
kind
feature
label 2022-04-21 09:30:39 +00:00
svenihoney added 1 commit 2022-04-21 15:41:10 +00:00
Correct yaml reference for dual-stack parameters
All checks were successful
continuous-integration/drone/pr Build is passing
5d048aceeb
Added documentation of parameters to README.md.
svenihoney requested review from justusbunsi 2022-04-21 15:42:54 +00:00
justusbunsi approved these changes 2022-04-21 19:04:49 +00:00
justusbunsi left a comment
Member

LGTM

LGTM
Member

If another maintainer is fine with these too, then I'm happy to give my approval as well.

@techknowlogick Ready for your approval. ?

> If another maintainer is fine with these too, then I'm happy to give my approval as well. @techknowlogick Ready for your approval. ?
luhahn approved these changes 2022-04-25 11:55:36 +00:00
luhahn left a comment
Member

LGTM

LGTM
luhahn merged commit 52ed32ae74 into master 2022-04-25 11:56:26 +00:00
Sign in to join this conversation.
No description provided.