feat(argo-cd): add support for dual stack clusters

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
Ludovic Ortega 2024-04-19 19:05:02 +02:00
parent 598a3c48c5
commit 84c3fb7d16
No known key found for this signature in database
GPG key ID: 87471466EB186A4C
15 changed files with 137 additions and 1 deletions

View file

@ -3,7 +3,7 @@ appVersion: v2.10.7
kubeVersion: ">=1.23.0-0" kubeVersion: ">=1.23.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 6.7.13 version: 6.8.0
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources: sources:

View file

@ -278,6 +278,11 @@ For full list of changes please check ArtifactHub [changelog].
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version. Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
### 6.8.0
Added support for IPv4/IPv6 dual-stack networking.
Please refer to [the docs](https://kubernetes.io/docs/concepts/services-networking/dual-stack/) for more information.
### 6.4.0 ### 6.4.0
Added support for application controller dynamic cluster distribution. Added support for application controller dynamic cluster distribution.
@ -758,6 +763,8 @@ NAME: my-release
| controller.metrics.scrapeTimeout | string | `""` | Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used. | | controller.metrics.scrapeTimeout | string | `""` | Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used. |
| controller.metrics.service.annotations | object | `{}` | Metrics service annotations | | controller.metrics.service.annotations | object | `{}` | Metrics service annotations |
| controller.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) | | controller.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) |
| controller.metrics.service.ipFamilies | list | `[]` | Metrics service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| controller.metrics.service.ipFamilyPolicy | string | `""` | Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| controller.metrics.service.labels | object | `{}` | Metrics service labels | | controller.metrics.service.labels | object | `{}` | Metrics service labels |
| controller.metrics.service.portName | string | `"http-metrics"` | Metrics service port name | | controller.metrics.service.portName | string | `"http-metrics"` | Metrics service port name |
| controller.metrics.service.servicePort | int | `8082` | Metrics service port | | controller.metrics.service.servicePort | int | `8082` | Metrics service port |
@ -851,6 +858,8 @@ NAME: my-release
| repoServer.metrics.enabled | bool | `false` | Deploy metrics service | | repoServer.metrics.enabled | bool | `false` | Deploy metrics service |
| repoServer.metrics.service.annotations | object | `{}` | Metrics service annotations | | repoServer.metrics.service.annotations | object | `{}` | Metrics service annotations |
| repoServer.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) | | repoServer.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) |
| repoServer.metrics.service.ipFamilies | list | `[]` | Metrics service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| repoServer.metrics.service.ipFamilyPolicy | string | `""` | Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| repoServer.metrics.service.labels | object | `{}` | Metrics service labels | | repoServer.metrics.service.labels | object | `{}` | Metrics service labels |
| repoServer.metrics.service.portName | string | `"http-metrics"` | Metrics service port name | | repoServer.metrics.service.portName | string | `"http-metrics"` | Metrics service port name |
| repoServer.metrics.service.servicePort | int | `8084` | Metrics service port | | repoServer.metrics.service.servicePort | int | `8084` | Metrics service port |
@ -885,6 +894,8 @@ NAME: my-release
| repoServer.replicas | int | `1` | The number of repo server pods to run | | repoServer.replicas | int | `1` | The number of repo server pods to run |
| repoServer.resources | object | `{}` | Resource limits and requests for the repo server pods | | repoServer.resources | object | `{}` | Resource limits and requests for the repo server pods |
| repoServer.service.annotations | object | `{}` | Repo server service annotations | | repoServer.service.annotations | object | `{}` | Repo server service annotations |
| repoServer.service.ipFamilies | list | `[]` | Repo server service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| repoServer.service.ipFamilyPolicy | string | `""` | Repo server service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| repoServer.service.labels | object | `{}` | Repo server service labels | | repoServer.service.labels | object | `{}` | Repo server service labels |
| repoServer.service.port | int | `8081` | Repo server service port | | repoServer.service.port | int | `8081` | Repo server service port |
| repoServer.service.portName | string | `"tcp-repo-server"` | Repo server service port name | | repoServer.service.portName | string | `"tcp-repo-server"` | Repo server service port name |
@ -1000,6 +1011,8 @@ NAME: my-release
| server.metrics.enabled | bool | `false` | Deploy metrics service | | server.metrics.enabled | bool | `false` | Deploy metrics service |
| server.metrics.service.annotations | object | `{}` | Metrics service annotations | | server.metrics.service.annotations | object | `{}` | Metrics service annotations |
| server.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) | | server.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) |
| server.metrics.service.ipFamilies | list | `[]` | Metrics service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| server.metrics.service.ipFamilyPolicy | string | `""` | Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| server.metrics.service.labels | object | `{}` | Metrics service labels | | server.metrics.service.labels | object | `{}` | Metrics service labels |
| server.metrics.service.portName | string | `"http-metrics"` | Metrics service port name | | server.metrics.service.portName | string | `"http-metrics"` | Metrics service port name |
| server.metrics.service.servicePort | int | `8083` | Metrics service port | | server.metrics.service.servicePort | int | `8083` | Metrics service port |
@ -1040,6 +1053,8 @@ NAME: my-release
| server.service.annotations | object | `{}` | Server service annotations | | server.service.annotations | object | `{}` | Server service annotations |
| server.service.externalIPs | list | `[]` | Server service external IPs | | server.service.externalIPs | list | `[]` | Server service external IPs |
| server.service.externalTrafficPolicy | string | `""` | Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints | | server.service.externalTrafficPolicy | string | `""` | Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints |
| server.service.ipFamilies | list | `[]` | Server service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| server.service.ipFamilyPolicy | string | `""` | Server service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| server.service.labels | object | `{}` | Server service labels | | server.service.labels | object | `{}` | Server service labels |
| server.service.loadBalancerIP | string | `""` | LoadBalancer will get created with the IP specified in this field | | server.service.loadBalancerIP | string | `""` | LoadBalancer will get created with the IP specified in this field |
| server.service.loadBalancerSourceRanges | list | `[]` | Source IP ranges to allow access to service from | | server.service.loadBalancerSourceRanges | list | `[]` | Source IP ranges to allow access to service from |
@ -1146,6 +1161,8 @@ NAME: my-release
| dex.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account | | dex.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
| dex.serviceAccount.create | bool | `true` | Create dex service account | | dex.serviceAccount.create | bool | `true` | Create dex service account |
| dex.serviceAccount.name | string | `"argocd-dex-server"` | Dex service account name | | dex.serviceAccount.name | string | `"argocd-dex-server"` | Dex service account name |
| dex.serviceIpFamilies | list | `[]` | Service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| dex.serviceIpFamilyPolicy | string | `""` | Service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| dex.servicePortGrpc | int | `5557` | Service port for gRPC access | | dex.servicePortGrpc | int | `5557` | Service port for gRPC access |
| dex.servicePortGrpcName | string | `"grpc"` | Service port name for gRPC access | | dex.servicePortGrpcName | string | `"grpc"` | Service port name for gRPC access |
| dex.servicePortHttp | int | `5556` | Service port for HTTP access | | dex.servicePortHttp | int | `5556` | Service port for HTTP access |
@ -1247,6 +1264,8 @@ NAME: my-release
| redis.serviceAccount.automountServiceAccountToken | bool | `false` | Automount API credentials for the Service Account | | redis.serviceAccount.automountServiceAccountToken | bool | `false` | Automount API credentials for the Service Account |
| redis.serviceAccount.create | bool | `false` | Create a service account for the redis pod | | redis.serviceAccount.create | bool | `false` | Create a service account for the redis pod |
| redis.serviceAccount.name | string | `""` | Service account name for redis pod | | redis.serviceAccount.name | string | `""` | Service account name for redis pod |
| redis.serviceIpFamilies | list | `[]` | Redis service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| redis.serviceIpFamilyPolicy | string | `""` | Redis service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| redis.servicePort | int | `6379` | Redis service port | | redis.servicePort | int | `6379` | Redis service port |
| redis.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook | | redis.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
| redis.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints | | redis.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
@ -1372,6 +1391,8 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
| applicationSet.metrics.enabled | bool | `false` | Deploy metrics service | | applicationSet.metrics.enabled | bool | `false` | Deploy metrics service |
| applicationSet.metrics.service.annotations | object | `{}` | Metrics service annotations | | applicationSet.metrics.service.annotations | object | `{}` | Metrics service annotations |
| applicationSet.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) | | applicationSet.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) |
| applicationSet.metrics.service.ipFamilies | list | `[]` | Metrics service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| applicationSet.metrics.service.ipFamilyPolicy | string | `""` | Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| applicationSet.metrics.service.labels | object | `{}` | Metrics service labels | | applicationSet.metrics.service.labels | object | `{}` | Metrics service labels |
| applicationSet.metrics.service.portName | string | `"http-metrics"` | Metrics service port name | | applicationSet.metrics.service.portName | string | `"http-metrics"` | Metrics service port name |
| applicationSet.metrics.service.servicePort | int | `8080` | Metrics service port | | applicationSet.metrics.service.servicePort | int | `8080` | Metrics service port |
@ -1406,6 +1427,8 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
| applicationSet.replicas | int | `1` | The number of ApplicationSet controller pods to run | | applicationSet.replicas | int | `1` | The number of ApplicationSet controller pods to run |
| applicationSet.resources | object | `{}` | Resource limits and requests for the ApplicationSet controller pods. | | applicationSet.resources | object | `{}` | Resource limits and requests for the ApplicationSet controller pods. |
| applicationSet.service.annotations | object | `{}` | ApplicationSet service annotations | | applicationSet.service.annotations | object | `{}` | ApplicationSet service annotations |
| applicationSet.service.ipFamilies | list | `[]` | ApplicationSet service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| applicationSet.service.ipFamilyPolicy | string | `""` | ApplicationSet service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| applicationSet.service.labels | object | `{}` | ApplicationSet service labels | | applicationSet.service.labels | object | `{}` | ApplicationSet service labels |
| applicationSet.service.port | int | `7000` | ApplicationSet service port | | applicationSet.service.port | int | `7000` | ApplicationSet service port |
| applicationSet.service.portName | string | `"http-webhook"` | ApplicationSet service port name | | applicationSet.service.portName | string | `"http-webhook"` | ApplicationSet service port name |
@ -1453,6 +1476,8 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
| notifications.metrics.port | int | `9001` | Metrics port | | notifications.metrics.port | int | `9001` | Metrics port |
| notifications.metrics.service.annotations | object | `{}` | Metrics service annotations | | notifications.metrics.service.annotations | object | `{}` | Metrics service annotations |
| notifications.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) | | notifications.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) |
| notifications.metrics.service.ipFamilies | list | `[]` | Metrics service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| notifications.metrics.service.ipFamilyPolicy | string | `""` | Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| notifications.metrics.service.labels | object | `{}` | Metrics service labels | | notifications.metrics.service.labels | object | `{}` | Metrics service labels |
| notifications.metrics.service.portName | string | `"http-metrics"` | Metrics service port name | | notifications.metrics.service.portName | string | `"http-metrics"` | Metrics service port name |
| notifications.metrics.service.type | string | `"ClusterIP"` | Metrics service type | | notifications.metrics.service.type | string | `"ClusterIP"` | Metrics service type |

View file

@ -278,6 +278,11 @@ For full list of changes please check ArtifactHub [changelog].
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version. Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
### 6.8.0
Added support for IPv4/IPv6 dual-stack networking.
Please refer to [the docs](https://kubernetes.io/docs/concepts/services-networking/dual-stack/) for more information.
### 6.4.0 ### 6.4.0
Added support for application controller dynamic cluster distribution. Added support for application controller dynamic cluster distribution.

View file

@ -24,6 +24,12 @@ spec:
{{- if and .Values.controller.metrics.service.clusterIP (eq .Values.controller.metrics.service.type "ClusterIP") }} {{- if and .Values.controller.metrics.service.clusterIP (eq .Values.controller.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.controller.metrics.service.clusterIP }} clusterIP: {{ .Values.controller.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- if .Values.controller.metrics.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.controller.metrics.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.controller.metrics.service.ipFamilies }}
ipFamilies: {{ .Values.controller.metrics.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.controller.metrics.service.portName }} - name: {{ .Values.controller.metrics.service.portName }}
protocol: TCP protocol: TCP

View file

@ -24,6 +24,12 @@ spec:
{{- if and .Values.applicationSet.metrics.service.clusterIP (eq .Values.applicationSet.metrics.service.type "ClusterIP") }} {{- if and .Values.applicationSet.metrics.service.clusterIP (eq .Values.applicationSet.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.applicationSet.metrics.service.clusterIP }} clusterIP: {{ .Values.applicationSet.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- if .Values.applicationSet.metrics.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.applicationSet.metrics.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.applicationSet.metrics.service.ipFamilies }}
ipFamilies: {{ .Values.applicationSet.metrics.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.applicationSet.metrics.service.portName }} - name: {{ .Values.applicationSet.metrics.service.portName }}
protocol: TCP protocol: TCP

View file

@ -17,6 +17,12 @@ metadata:
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.applicationSet.service.type }} type: {{ .Values.applicationSet.service.type }}
{{- if .Values.applicationSet.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.applicationSet.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.applicationSet.service.ipFamilies }}
ipFamilies: {{ .Values.applicationSet.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.applicationSet.service.portName }} - name: {{ .Values.applicationSet.service.portName }}
port: {{ .Values.applicationSet.service.port }} port: {{ .Values.applicationSet.service.port }}

View file

@ -24,6 +24,12 @@ spec:
{{- if and .Values.notifications.metrics.service.clusterIP (eq .Values.notifications.metrics.service.type "ClusterIP") }} {{- if and .Values.notifications.metrics.service.clusterIP (eq .Values.notifications.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.notifications.metrics.service.clusterIP }} clusterIP: {{ .Values.notifications.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- if .Values.notifications.metrics.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.notifications.metrics.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.notifications.metrics.service.ipFamilies }}
ipFamilies: {{ .Values.notifications.metrics.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
selector: selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 6 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 6 }}
ports: ports:

View file

@ -24,6 +24,12 @@ spec:
{{- if and .Values.repoServer.metrics.service.clusterIP (eq .Values.repoServer.metrics.service.type "ClusterIP") }} {{- if and .Values.repoServer.metrics.service.clusterIP (eq .Values.repoServer.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.repoServer.metrics.service.clusterIP }} clusterIP: {{ .Values.repoServer.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- if .Values.repoServer.metrics.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.repoServer.metrics.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.repoServer.metrics.service.ipFamilies }}
ipFamilies: {{ .Values.repoServer.metrics.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.repoServer.metrics.service.portName }} - name: {{ .Values.repoServer.metrics.service.portName }}
protocol: TCP protocol: TCP

View file

@ -15,6 +15,12 @@ metadata:
name: {{ template "argo-cd.repoServer.fullname" . }} name: {{ template "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ .Release.Namespace | quote }}
spec: spec:
{{- if .Values.repoServer.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.repoServer.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.repoServer.service.ipFamilies }}
ipFamilies: {{ .Values.repoServer.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.repoServer.service.portName }} - name: {{ .Values.repoServer.service.portName }}
protocol: TCP protocol: TCP

View file

@ -9,6 +9,12 @@ metadata:
name: {{ template "argo-cd.server.fullname" . }}-grpc name: {{ template "argo-cd.server.fullname" . }}-grpc
namespace: {{ .Release.Namespace | quote }} namespace: {{ .Release.Namespace | quote }}
spec: spec:
{{- if .Values.server.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.server.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.server.service.ipFamilies }}
ipFamilies: {{ .Values.server.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.server.service.servicePortHttpName }} - name: {{ .Values.server.service.servicePortHttpName }}
protocol: TCP protocol: TCP

View file

@ -24,6 +24,12 @@ spec:
{{- if and .Values.server.metrics.service.clusterIP (eq .Values.server.metrics.service.type "ClusterIP") }} {{- if and .Values.server.metrics.service.clusterIP (eq .Values.server.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.server.metrics.service.clusterIP }} clusterIP: {{ .Values.server.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- if .Values.server.metrics.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.server.metrics.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.server.metrics.service.ipFamilies }}
ipFamilies: {{ .Values.server.metrics.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.server.metrics.service.portName }} - name: {{ .Values.server.metrics.service.portName }}
protocol: TCP protocol: TCP

View file

@ -16,6 +16,12 @@ metadata:
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.server.service.type }} type: {{ .Values.server.service.type }}
{{- if .Values.server.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.server.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.server.service.ipFamilies }}
ipFamilies: {{ .Values.server.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.server.service.servicePortHttpName }} - name: {{ .Values.server.service.servicePortHttpName }}
protocol: TCP protocol: TCP

View file

@ -16,6 +16,12 @@ metadata:
{{- toYaml .Values.dex.metrics.service.labels | nindent 4 }} {{- toYaml .Values.dex.metrics.service.labels | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
{{- if .Values.dex.serviceIpFamilyPolicy }}
ipFamilyPolicy: {{ .Values.dex.serviceIpFamilyPolicy }}
{{- end }}
{{- if .Values.dex.serviceIpFamilies }}
ipFamilies: {{ .Values.dex.serviceIpFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: {{ .Values.dex.servicePortHttpName }} - name: {{ .Values.dex.servicePortHttpName }}
protocol: TCP protocol: TCP

View file

@ -17,6 +17,12 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
spec: spec:
{{- if .Values.redis.serviceIpFamilyPolicy }}
ipFamilyPolicy: {{ .Values.redis.serviceIpFamilyPolicy }}
{{- end }}
{{- if .Values.redis.serviceIpFamilies }}
ipFamilies: {{ .Values.redis.serviceIpFamilies | toYaml | nindent 2 }}
{{- end }}
ports: ports:
- name: redis - name: redis
port: {{ .Values.redis.servicePort }} port: {{ .Values.redis.servicePort }}

View file

@ -799,6 +799,10 @@ controller:
type: ClusterIP type: ClusterIP
# -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) # -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP)
clusterIP: "" clusterIP: ""
# -- Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# -- Metrics service ip 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: []
# -- Metrics service annotations # -- Metrics service annotations
annotations: {} annotations: {}
# -- Metrics service labels # -- Metrics service labels
@ -1126,6 +1130,10 @@ dex:
# -- Automount API credentials for the Service Account # -- Automount API credentials for the Service Account
automountServiceAccountToken: true automountServiceAccountToken: true
# -- Service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
serviceIpFamilyPolicy: ""
# -- Service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6.
serviceIpFamilies: []
# -- Service port for HTTP access # -- Service port for HTTP access
servicePortHttp: 5556 servicePortHttp: 5556
# -- Service port name for HTTP access # -- Service port name for HTTP access
@ -1385,6 +1393,10 @@ redis:
drop: drop:
- ALL - ALL
# -- Redis service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
serviceIpFamilyPolicy: ""
# -- Redis service ip families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6.
serviceIpFamilies: []
# -- Redis service port # -- Redis service port
servicePort: 6379 servicePort: 6379
@ -1950,6 +1962,10 @@ server:
labels: {} labels: {}
# -- Server service type # -- Server service type
type: ClusterIP type: ClusterIP
# -- Server service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# -- Server service ip 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: []
# -- Server service http port for NodePort service type (only if `server.service.type` is set to "NodePort") # -- Server service http port for NodePort service type (only if `server.service.type` is set to "NodePort")
nodePortHttp: 30080 nodePortHttp: 30080
# -- Server service https port for NodePort service type (only if `server.service.type` is set to "NodePort") # -- Server service https port for NodePort service type (only if `server.service.type` is set to "NodePort")
@ -1984,6 +2000,10 @@ server:
type: ClusterIP type: ClusterIP
# -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) # -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP)
clusterIP: "" clusterIP: ""
# -- Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# -- Metrics service ip 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: []
# -- Metrics service annotations # -- Metrics service annotations
annotations: {} annotations: {}
# -- Metrics service labels # -- Metrics service labels
@ -2541,6 +2561,10 @@ repoServer:
annotations: {} annotations: {}
# -- Repo server service labels # -- Repo server service labels
labels: {} labels: {}
# -- Repo server service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# -- Repo server service ip 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: []
# -- Repo server service port # -- Repo server service port
port: 8081 port: 8081
# -- Repo server service port name # -- Repo server service port name
@ -2555,6 +2579,10 @@ repoServer:
type: ClusterIP type: ClusterIP
# -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) # -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP)
clusterIP: "" clusterIP: ""
# -- Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# -- Metrics service ip 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: []
# -- Metrics service annotations # -- Metrics service annotations
annotations: {} annotations: {}
# -- Metrics service labels # -- Metrics service labels
@ -2715,6 +2743,10 @@ applicationSet:
type: ClusterIP type: ClusterIP
# -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) # -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP)
clusterIP: "" clusterIP: ""
# -- Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# -- Metrics service ip 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: []
# -- Metrics service annotations # -- Metrics service annotations
annotations: {} annotations: {}
# -- Metrics service labels # -- Metrics service labels
@ -2757,6 +2789,10 @@ applicationSet:
labels: {} labels: {}
# -- ApplicationSet service type # -- ApplicationSet service type
type: ClusterIP type: ClusterIP
# -- ApplicationSet service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# -- ApplicationSet service ip 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: []
# -- ApplicationSet service port # -- ApplicationSet service port
port: 7000 port: 7000
# -- ApplicationSet service port name # -- ApplicationSet service port name
@ -3119,6 +3155,10 @@ notifications:
type: ClusterIP type: ClusterIP
# -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) # -- Metrics service clusterIP. `None` makes a "headless service" (no virtual IP)
clusterIP: "" clusterIP: ""
# -- Metrics service ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
ipFamilyPolicy: ""
# -- Metrics service ip 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: []
# -- Metrics service annotations # -- Metrics service annotations
annotations: {} annotations: {}
# -- Metrics service labels # -- Metrics service labels