diff --git a/charts/selenium-grid/CONFIGURATION.md b/charts/selenium-grid/CONFIGURATION.md index 9a2a99a4b7..273fc11500 100644 --- a/charts/selenium-grid/CONFIGURATION.md +++ b/charts/selenium-grid/CONFIGURATION.md @@ -49,6 +49,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | global.seleniumGrid.updateStrategy.type | string | `"Recreate"` | Specify update strategy for all components, can be overridden individually | | global.seleniumGrid.updateStrategy.rollingUpdate | object | `{"maxSurge":1,"maxUnavailable":0}` | Specify for strategy RollingUpdate | | global.seleniumGrid.affinity | object | `{}` | Specify affinity for all components, can be overridden individually | +| global.seleniumGrid.dnsPolicy | string | `""` | Specify dnsPolicy for all components, can be overridden individually | +| global.seleniumGrid.dnsConfig | object | `{}` | Specify dnsConfig for all components, can be overridden individually | | global.seleniumGrid.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for all components, can be overridden individually | | global.seleniumGrid.sessionRequestTimeout | int | `300` | Timeout in seconds. A new incoming session request is added to the queue. Requests sitting in the queue for longer than the configured time will timeout. | | global.seleniumGrid.nodeMaxSessions | int | `1` | Specify number of max sessions per node. Can be overridden by individual component (this is also set to scaler trigger parameter `nodeMaxSessions` if `autoscaling` is enabled) | @@ -202,6 +204,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | components.router.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Router | | components.router.affinity | object | `{}` | Specify affinity for router pods, this overwrites global.seleniumGrid.affinity parameter | | components.router.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for router pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| components.router.dnsPolicy | string | `""` | Specify dnsPolicy for router pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| components.router.dnsConfig | object | `{}` | Specify dnsConfig for router pods, this overwrites global.seleniumGrid.dnsConfig parameter | | components.router.annotations | object | `{}` | Custom annotations for router pods | | components.router.port | int | `4444` | Router container port | | components.router.nodePort | int | `30444` | Router expose NodePort | @@ -232,6 +236,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | components.distributor.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Distributor | | components.distributor.affinity | object | `{}` | Specify affinity for distributor pods, this overwrites global.seleniumGrid.affinity parameter | | components.distributor.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Distributor pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| components.distributor.dnsPolicy | string | `""` | Specify dnsPolicy for Distributor pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| components.distributor.dnsConfig | object | `{}` | Specify dnsConfig for Distributor pods, this overwrites global.seleniumGrid.dnsConfig parameter | | components.distributor.annotations | object | `{}` | Custom annotations for Distributor pods | | components.distributor.port | int | `5553` | Distributor container port | | components.distributor.nodePort | int | `30553` | Distributor expose NodePort | @@ -257,6 +263,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | components.eventBus.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Event Bus | | components.eventBus.affinity | object | `{}` | Specify affinity for Event Bus pods, this overwrites global.seleniumGrid.affinity parameter | | components.eventBus.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Event Bus pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| components.eventBus.dnsPolicy | string | `""` | Specify dnsPolicy for Event Bus pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| components.eventBus.dnsConfig | object | `{}` | Specify dnsConfig for Event Bus pods, this overwrites global.seleniumGrid.dnsConfig parameter | | components.eventBus.annotations | object | `{}` | Custom annotations for Event Bus pods | | components.eventBus.port | int | `5557` | Event Bus container port | | components.eventBus.nodePort | int | `30557` | Event Bus expose NodePort | @@ -286,6 +294,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | components.sessionMap.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Session Map | | components.sessionMap.affinity | object | `{}` | Specify affinity for Session Map pods, this overwrites global.seleniumGrid.affinity parameter | | components.sessionMap.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Session Map pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| components.sessionMap.dnsPolicy | string | `""` | Specify dnsPolicy for Session Map pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| components.sessionMap.dnsConfig | object | `{}` | Specify dnsConfig for Session Map pods, this overwrites global.seleniumGrid.dnsConfig parameter | | components.sessionMap.annotations | object | `{}` | Custom annotations for Session Map pods | | components.sessionMap.port | int | `5556` | Session Map container port | | components.sessionMap.resources | object | `{"limits":{"cpu":"1","memory":"1Gi"},"requests":{"cpu":"0.5","memory":"512Mi"}}` | Resources for Session Map container | @@ -312,6 +322,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | components.sessionQueue.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Session Queue | | components.sessionQueue.affinity | object | `{}` | Specify affinity for Session Queue pods, this overwrites global.seleniumGrid.affinity parameter | | components.sessionQueue.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Session Queue pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| components.sessionQueue.dnsPolicy | string | `""` | Specify dnsPolicy for Session Queue pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| components.sessionQueue.dnsConfig | object | `{}` | Specify dnsConfig for Session Queue pods, this overwrites global.seleniumGrid.dnsConfig parameter | | components.sessionQueue.annotations | object | `{}` | Custom annotations for Session Queue pods | | components.sessionQueue.port | int | `5559` | Session Queue container port | | components.sessionQueue.nodePort | int | `30559` | Session Queue expose NodePort | @@ -336,6 +348,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | hub.imagePullSecret | string | `""` | Image pull secret (see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) | | hub.affinity | object | `{}` | Specify affinity for Selenium Hub pods, this overwrites global.seleniumGrid.affinity parameter | | hub.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for Hub pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| hub.dnsPolicy | string | `""` | Specify dnsPolicy for Hub pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| hub.dnsConfig | object | `{}` | Specify dnsConfig for Hub pods, this overwrites global.seleniumGrid.dnsConfig parameter | | hub.annotations | object | `{}` | Custom annotations for Selenium Hub pods | | hub.labels | object | `{}` | Custom labels for Selenium Hub pods | | hub.disableUI | bool | `false` | Disable the Grid UI | @@ -476,6 +490,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | chromeNode.nodePort | string | `nil` | Node component expose NodePort | | chromeNode.affinity | object | `{}` | Specify affinity for chrome-node pods, this overwrites global.seleniumGrid.affinity parameter | | chromeNode.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for chrome-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| chromeNode.dnsPolicy | string | `""` | Specify dnsPolicy for chrome-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| chromeNode.dnsConfig | object | `{}` | Specify dnsConfig for chrome-node pods, this overwrites global.seleniumGrid.dnsConfig parameter | | chromeNode.annotations | object | `{}` | Annotations for chrome-node pods | | chromeNode.labels | object | `{}` | Labels for chrome-node pods | | chromeNode.shareProcessNamespace | bool | `true` | Shared process namespace for chrome-node pods | @@ -536,6 +552,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | firefoxNode.nodePort | string | `nil` | Node component expose NodePort | | firefoxNode.affinity | object | `{}` | Specify affinity for firefox-node pods, this overwrites global.seleniumGrid.affinity parameter | | firefoxNode.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for firefox-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| firefoxNode.dnsPolicy | string | `""` | Specify dnsPolicy for firefox-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| firefoxNode.dnsConfig | object | `{}` | Specify dnsConfig for firefox-node pods, this overwrites global.seleniumGrid.dnsConfig parameter | | firefoxNode.annotations | object | `{}` | Annotations for firefox-node pods | | firefoxNode.labels | object | `{}` | Labels for firefox-node pods | | firefoxNode.tolerations | list | `[]` | Tolerations for firefox-node pods | @@ -596,6 +614,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | edgeNode.nodePort | string | `nil` | Node component expose NodePort | | edgeNode.affinity | object | `{}` | Specify affinity for edge-node pods, this overwrites global.seleniumGrid.affinity parameter | | edgeNode.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for edge-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| edgeNode.dnsPolicy | string | `""` | Specify dnsPolicy for edge-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| edgeNode.dnsConfig | object | `{}` | Specify dnsConfig for edge-node pods, this overwrites global.seleniumGrid.dnsConfig parameter | | edgeNode.annotations | object | `{}` | Annotations for edge-node pods | | edgeNode.labels | object | `{}` | Labels for edge-node pods | | edgeNode.tolerations | list | `[]` | Tolerations for edge-node pods | @@ -657,6 +677,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | relayNode.nodePort | string | `nil` | Node component expose NodePort | | relayNode.affinity | object | `{}` | Specify affinity for relay-node pods, this overwrites global.seleniumGrid.affinity parameter | | relayNode.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for relay-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| relayNode.dnsPolicy | string | `""` | Specify dnsPolicy for relay-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| relayNode.dnsConfig | object | `{}` | Specify dnsConfig for relay-node pods, this overwrites global.seleniumGrid.dnsConfig parameter | | relayNode.annotations | object | `{}` | Annotations for relay-node pods | | relayNode.labels | object | `{}` | Labels for relay-node pods | | relayNode.shareProcessNamespace | bool | `true` | Shared process namespace for relay-node pods | @@ -750,6 +772,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes | videoManager.extraEnvFrom | list | `[]` | Specify extra environment variables from ConfigMap and Secret for Router | | videoManager.affinity | object | `{}` | Specify affinity for router pods, this overwrites global.seleniumGrid.affinity parameter | | videoManager.topologySpreadConstraints | list | `[]` | Specify topologySpreadConstraints for router pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter | +| videoManager.dnsPolicy | string | `""` | Specify dnsPolicy for file-browser pods, this overwrites global.seleniumGrid.dnsPolicy parameter | +| videoManager.dnsConfig | object | `{}` | Specify dnsConfig for file-browser pods, this overwrites global.seleniumGrid.dnsConfig parameter | | videoManager.annotations | object | `{}` | Custom annotations for router pods | | videoManager.port | int | `80` | Router container port | | videoManager.nodePort | int | `30080` | Router expose NodePort | diff --git a/charts/selenium-grid/templates/_helpers.tpl b/charts/selenium-grid/templates/_helpers.tpl index 596a411609..9fe0c86fb9 100644 --- a/charts/selenium-grid/templates/_helpers.tpl +++ b/charts/selenium-grid/templates/_helpers.tpl @@ -723,6 +723,13 @@ template: {{- $affinityYaml := default $.Values.global.seleniumGrid.affinity .node.affinity }} affinity: {{- toYaml $affinityYaml | nindent 6 }} {{- end }} + {{- if or $.Values.global.seleniumGrid.dnsPolicy .node.dnsPolicy }} + dnsPolicy: {{ default $.Values.global.seleniumGrid.dnsPolicy .node.dnsPolicy }} + {{- end }} + {{- if or $.Values.global.seleniumGrid.dnsConfig .node.dnsConfig }} + {{- $dnsConfigYaml := default $.Values.global.seleniumGrid.dnsConfig .node.dnsConfig }} + dnsConfig: {{- toYaml $dnsConfigYaml | nindent 6 }} + {{- end }} {{- if or $.Values.global.seleniumGrid.topologySpreadConstraints .node.topologySpreadConstraints }} {{- $topologySpreadConstraints := default $.Values.global.seleniumGrid.topologySpreadConstraints .node.topologySpreadConstraints }} {{- $appName := .name }} diff --git a/charts/selenium-grid/templates/distributor-deployment.yaml b/charts/selenium-grid/templates/distributor-deployment.yaml index 75c0ab1a03..2cf08d0cda 100644 --- a/charts/selenium-grid/templates/distributor-deployment.yaml +++ b/charts/selenium-grid/templates/distributor-deployment.yaml @@ -193,6 +193,13 @@ spec: {{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.distributor.affinity }} affinity: {{- toYaml $affinityYaml | nindent 8 }} {{- end }} + {{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.distributor.dnsPolicy }} + dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.distributor.dnsPolicy }} + {{- end }} + {{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.distributor.dnsConfig }} + {{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.distributor.dnsConfig }} + dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }} + {{- end }} {{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.distributor.topologySpreadConstraints }} {{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.distributor.topologySpreadConstraints }} topologySpreadConstraints: diff --git a/charts/selenium-grid/templates/event-bus-deployment.yaml b/charts/selenium-grid/templates/event-bus-deployment.yaml index 8bf5250c56..2f4716d398 100644 --- a/charts/selenium-grid/templates/event-bus-deployment.yaml +++ b/charts/selenium-grid/templates/event-bus-deployment.yaml @@ -100,6 +100,13 @@ spec: {{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.eventBus.affinity }} affinity: {{- toYaml $affinityYaml | nindent 8 }} {{- end }} + {{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.eventBus.dnsPolicy }} + dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.eventBus.dnsPolicy }} + {{- end }} + {{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.eventBus.dnsConfig }} + {{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.eventBus.dnsConfig }} + dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }} + {{- end }} {{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.eventBus.topologySpreadConstraints }} {{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.eventBus.topologySpreadConstraints }} topologySpreadConstraints: diff --git a/charts/selenium-grid/templates/hub-deployment.yaml b/charts/selenium-grid/templates/hub-deployment.yaml index 9a847fcb9d..6425bccca0 100644 --- a/charts/selenium-grid/templates/hub-deployment.yaml +++ b/charts/selenium-grid/templates/hub-deployment.yaml @@ -190,6 +190,13 @@ spec: {{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.hub.affinity }} affinity: {{- toYaml $affinityYaml | nindent 8 }} {{- end }} + {{- if or .Values.global.seleniumGrid.dnsPolicy .Values.hub.dnsPolicy }} + dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.hub.dnsPolicy }} + {{- end }} + {{- if or .Values.global.seleniumGrid.dnsConfig .Values.hub.dnsConfig }} + {{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.hub.dnsConfig }} + dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }} + {{- end }} {{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.hub.topologySpreadConstraints }} {{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.hub.topologySpreadConstraints }} topologySpreadConstraints: diff --git a/charts/selenium-grid/templates/router-deployment.yaml b/charts/selenium-grid/templates/router-deployment.yaml index 18e085cc9d..215b430017 100644 --- a/charts/selenium-grid/templates/router-deployment.yaml +++ b/charts/selenium-grid/templates/router-deployment.yaml @@ -173,6 +173,13 @@ spec: {{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.router.affinity }} affinity: {{- toYaml $affinityYaml | nindent 8 }} {{- end }} + {{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.router.dnsPolicy }} + dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.router.dnsPolicy }} + {{- end }} + {{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.router.dnsConfig }} + {{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.router.dnsConfig }} + dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }} + {{- end }} {{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.router.topologySpreadConstraints }} {{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.router.topologySpreadConstraints }} topologySpreadConstraints: diff --git a/charts/selenium-grid/templates/session-map-deployment.yaml b/charts/selenium-grid/templates/session-map-deployment.yaml index d8231d96a5..08703dbdcc 100644 --- a/charts/selenium-grid/templates/session-map-deployment.yaml +++ b/charts/selenium-grid/templates/session-map-deployment.yaml @@ -101,6 +101,13 @@ spec: {{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.sessionMap.affinity }} affinity: {{- toYaml $affinityYaml | nindent 8 }} {{- end }} + {{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.sessionMap.dnsPolicy }} + dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.sessionMap.dnsPolicy }} + {{- end }} + {{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.sessionMap.dnsConfig }} + {{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.sessionMap.dnsConfig }} + dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }} + {{- end }} {{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.sessionMap.topologySpreadConstraints }} {{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.sessionMap.topologySpreadConstraints }} topologySpreadConstraints: diff --git a/charts/selenium-grid/templates/session-queue-deployment.yaml b/charts/selenium-grid/templates/session-queue-deployment.yaml index c423add749..ab0a95dc10 100644 --- a/charts/selenium-grid/templates/session-queue-deployment.yaml +++ b/charts/selenium-grid/templates/session-queue-deployment.yaml @@ -99,6 +99,13 @@ spec: {{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.components.sessionQueue.affinity }} affinity: {{- toYaml $affinityYaml | nindent 8 }} {{- end }} + {{- if or .Values.global.seleniumGrid.dnsPolicy .Values.components.sessionQueue.dnsPolicy }} + dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.components.sessionQueue.dnsPolicy }} + {{- end }} + {{- if or .Values.global.seleniumGrid.dnsConfig .Values.components.sessionQueue.dnsConfig }} + {{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.components.sessionQueue.dnsConfig }} + dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }} + {{- end }} {{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.sessionQueue.topologySpreadConstraints }} {{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.components.sessionQueue.topologySpreadConstraints }} topologySpreadConstraints: diff --git a/charts/selenium-grid/templates/video-manager/file-browser-deployment.yaml b/charts/selenium-grid/templates/video-manager/file-browser-deployment.yaml index adaa1b0e04..81b7b45593 100644 --- a/charts/selenium-grid/templates/video-manager/file-browser-deployment.yaml +++ b/charts/selenium-grid/templates/video-manager/file-browser-deployment.yaml @@ -88,6 +88,13 @@ spec: {{- $affinityYaml := default .Values.global.seleniumGrid.affinity .Values.videoManager.affinity }} affinity: {{- toYaml $affinityYaml | nindent 8 }} {{- end }} + {{- if or .Values.global.seleniumGrid.dnsPolicy .Values.videoManager.dnsPolicy }} + dnsPolicy: {{ default .Values.global.seleniumGrid.dnsPolicy .Values.videoManager.dnsPolicy }} + {{- end }} + {{- if or .Values.global.seleniumGrid.dnsConfig .Values.videoManager.dnsConfig }} + {{- $dnsConfigYaml := default .Values.global.seleniumGrid.dnsConfig .Values.videoManager.dnsConfig }} + dnsConfig: {{- toYaml $dnsConfigYaml | nindent 8 }} + {{- end }} {{- if or .Values.global.seleniumGrid.topologySpreadConstraints .Values.videoManager.topologySpreadConstraints }} {{- $topologySpreadConstraints := default .Values.global.seleniumGrid.topologySpreadConstraints .Values.videoManager.topologySpreadConstraints }} topologySpreadConstraints: diff --git a/charts/selenium-grid/values.yaml b/charts/selenium-grid/values.yaml index 2aa13b895a..af24017540 100644 --- a/charts/selenium-grid/values.yaml +++ b/charts/selenium-grid/values.yaml @@ -46,6 +46,10 @@ global: maxUnavailable: 0 # -- Specify affinity for all components, can be overridden individually affinity: {} + # -- Specify dnsPolicy for all components, can be overridden individually + dnsPolicy: "" + # -- Specify dnsConfig for all components, can be overridden individually + dnsConfig: {} # -- Specify topologySpreadConstraints for all components, can be overridden individually topologySpreadConstraints: [] # - maxSkew: 4 @@ -474,6 +478,10 @@ components: affinity: {} # -- Specify topologySpreadConstraints for router pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for router pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for router pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Custom annotations for router pods annotations: {} # -- Router container port @@ -566,6 +574,10 @@ components: affinity: {} # -- Specify topologySpreadConstraints for Distributor pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for Distributor pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for Distributor pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Custom annotations for Distributor pods annotations: {} # -- Distributor container port @@ -648,6 +660,10 @@ components: affinity: {} # -- Specify topologySpreadConstraints for Event Bus pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for Event Bus pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for Event Bus pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Custom annotations for Event Bus pods annotations: {} # -- Event Bus container port @@ -717,6 +733,10 @@ components: affinity: {} # -- Specify topologySpreadConstraints for Session Map pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for Session Map pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for Session Map pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Custom annotations for Session Map pods annotations: {} # -- Session Map container port @@ -789,6 +809,10 @@ components: affinity: {} # -- Specify topologySpreadConstraints for Session Queue pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for Session Queue pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for Session Queue pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Custom annotations for Session Queue pods annotations: {} # -- Session Queue container port @@ -867,6 +891,10 @@ hub: affinity: {} # -- Specify topologySpreadConstraints for Hub pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for Hub pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for Hub pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Custom annotations for Selenium Hub pods annotations: {} # -- Custom labels for Selenium Hub pods @@ -1252,6 +1280,10 @@ chromeNode: affinity: {} # -- Specify topologySpreadConstraints for chrome-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for chrome-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for chrome-node pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Annotations for chrome-node pods annotations: {} # -- Labels for chrome-node pods @@ -1452,6 +1484,10 @@ firefoxNode: affinity: {} # -- Specify topologySpreadConstraints for firefox-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for firefox-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for firefox-node pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Annotations for firefox-node pods annotations: {} # -- Labels for firefox-node pods @@ -1652,6 +1688,10 @@ edgeNode: affinity: {} # -- Specify topologySpreadConstraints for edge-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for edge-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for edge-node pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Annotations for edge-node pods annotations: {} # -- Labels for edge-node pods @@ -1853,6 +1893,10 @@ relayNode: affinity: {} # -- Specify topologySpreadConstraints for relay-node pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for relay-node pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for relay-node pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Annotations for relay-node pods annotations: {} # -- Labels for relay-node pods @@ -2192,6 +2236,10 @@ videoManager: affinity: {} # -- Specify topologySpreadConstraints for router pods, this overwrites global.seleniumGrid.topologySpreadConstraints parameter topologySpreadConstraints: [] + # -- Specify dnsPolicy for file-browser pods, this overwrites global.seleniumGrid.dnsPolicy parameter + dnsPolicy: "" + # -- Specify dnsConfig for file-browser pods, this overwrites global.seleniumGrid.dnsConfig parameter + dnsConfig: {} # -- Custom annotations for router pods annotations: {} # -- Router container port