Skip to content

Commit

Permalink
Merge pull request #1341 from M0NsTeRRR/main
Browse files Browse the repository at this point in the history
feat: add support for dual stack clusters
  • Loading branch information
openshift-merge-bot[bot] authored Aug 14, 2024
2 parents eef13c8 + e5abdaf commit 74c0757
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm/volsync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ on the command line or via a custom `values.yaml` file.
- Annotations to add to the operator's service account
- `serviceAccount.name`: none
- Override the name of the operator's ServiceAccount
- `service.ipFamilyPolicy`: (empty)
- Set the ip family policy to configure dual-stack see
[Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
- `service.ipFamilies`: none
- Sets the families that should be supported and the order
in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6.
- `podSecurityContext`: none
- Allows setting the security context for the operator pod
- `podAnnotations`: none
Expand Down
6 changes: 6 additions & 0 deletions helm/volsync/templates/service-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ metadata:
control-plane: {{ include "volsync.fullname" . }}-controller
{{- include "volsync.labels" . | nindent 4 }}
spec:
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.service.ipFamilies }}
ipFamilies: {{ .Values.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports:
- name: https
port: 8443
Expand Down
6 changes: 6 additions & 0 deletions helm/volsync/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: ""

service:
# Set the ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# Sets the families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6.
ipFamilies: []

podAnnotations: {}
podLabels: {}

Expand Down

0 comments on commit 74c0757

Please sign in to comment.