Skip to content

Commit 02f220f

Browse files
committed
Support ipFamilyPolicy
1 parent 1b9d78d commit 02f220f

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ Parameters related to Kubernetes.
133133
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` |
134134
| `service.sslLdapPortNodePort` | Nodeport of External service port for SSL if service.type is NodePort | `nil` |
135135
| `service.type` | Service type can be ClusterIP, NodePort, LoadBalancer | `ClusterIP` |
136+
| `service.ipFamilyPolicy` | Represents the dual-stack-ness requested or required by this Service. | `SingleStack` |
136137
| `persistence.enabled` | Whether to use PersistentVolumes or not | `false` |
137138
| `persistence.storageClass` | Storage class for PersistentVolumes. | `<unset>` |
138139
| `persistence.existingClaim` | Add existing Volumes Claim. | `<unset>` |

templates/service.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ metadata:
1717
{{- end }}
1818
spec:
1919
type: {{ .Values.service.type }}
20+
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
2021
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerIP }}
2122
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
2223
{{- end }}

values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ service:
9696
type: ClusterIP
9797
sessionAffinity: None
9898

99+
## Represents the dual-stack-ness requested or required by this Service. Possible values are
100+
## SingleStack, PreferDualStack or RequireDualStack.
101+
## The ipFamilies and clusterIPs fields depend on the value of this field.
102+
## Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/
103+
ipFamilyPolicy: SingleStack
104+
99105
# Default configuration for openldap as environment variables. These get injected directly in the container.
100106
# Use the env variables from https://hub.docker.com/r/bitnami/openldap/
101107
# Be careful, do not modify the following values unless you know exactly what your are doing

0 commit comments

Comments
 (0)