Skip to content

Commit

Permalink
K8s: Fix chart template for relay node (#2594)
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 authored Jan 18, 2025
1 parent 2130c34 commit a195077
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
8 changes: 4 additions & 4 deletions charts/selenium-grid/CONFIGURATION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# selenium-grid

![Version: 0.38.4](https://img.shields.io/badge/Version-0.38.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.27.0-20250101](https://img.shields.io/badge/AppVersion-4.27.0--20250101-informational?style=flat-square)
![Version: 0.38.5](https://img.shields.io/badge/Version-0.38.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.27.0-20250101](https://img.shields.io/badge/AppVersion-4.27.0--20250101-informational?style=flat-square)

A Helm chart for creating a Selenium Grid Server in Kubernetes

Expand All @@ -19,11 +19,11 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 16.4.1 |
| https://charts.bitnami.com/bitnami | redis | 20.6.2 |
| https://jaegertracing.github.io/helm-charts | jaeger | 3.3.3 |
| https://charts.bitnami.com/bitnami | redis | 20.6.3 |
| https://jaegertracing.github.io/helm-charts | jaeger | 3.3.4 |
| https://kedacore.github.io/charts | keda | 2.16.1 |
| https://kubernetes.github.io/ingress-nginx | ingress-nginx | 4.12.0 |
| https://prometheus-community.github.io/helm-charts | kube-prometheus-stack | 68.0.0 |
| https://prometheus-community.github.io/helm-charts | kube-prometheus-stack | 68.1.0 |

## Values

Expand Down
8 changes: 4 additions & 4 deletions charts/selenium-grid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: selenium-grid
description: A Helm chart for creating a Selenium Grid Server in Kubernetes
type: application
version: 0.38.4
version: 0.38.5
appVersion: 4.27.0-20250101
icon: https://github.com/SeleniumHQ/docker-selenium/raw/trunk/logo.png
dependencies:
Expand All @@ -15,19 +15,19 @@ dependencies:
name: ingress-nginx
condition: ingress.enableWithController, ingress-nginx.enabled
- repository: https://jaegertracing.github.io/helm-charts
version: 3.3.3
version: 3.3.4
name: jaeger
condition: tracing.enabled, jaeger.enabled
- repository: https://prometheus-community.github.io/helm-charts
version: 68.0.0
version: 68.1.0
name: kube-prometheus-stack
condition: monitoring.enabled, prometheus-stack.enabled
- repository: https://charts.bitnami.com/bitnami
version: 16.4.1
name: postgresql
condition: postgresql.enabled
- repository: https://charts.bitnami.com/bitnami
version: 20.6.2
version: 20.6.3
name: redis
condition: redis.enabled
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/selenium-grid/templates/relay-node-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
{{- $_ := set $podScope "name" (include "seleniumGrid.relayNode.fullname" (list $nodeConfig $)) -}}
{{- $_ = set $podScope "node" $nodeConfig -}}
{{- $_ = set $podScope "recorder" (mergeOverwrite $.Values.videoRecorder $nodeConfig.videoRecorder) -}}
{{- $_ = set $podScope "uploader" (get $.Values.videoRecorder (.Values.videoRecorder.uploader.name | toString)) -}}
{{- $_ = set $podScope "uploader" (get $.Values.videoRecorder ($podScope.recorder.uploader.name | toString)) -}}
{{- include "seleniumGrid.podTemplate" $podScope | nindent 2 }}
---
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions tests/charts/templates/render/dummy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ edgeNode:
uploader:
enabled: false

relayNode:
enabled: true

videoRecorder:
enabled: true
uploader:
Expand Down
3 changes: 3 additions & 0 deletions tests/charts/templates/render/dummy_solution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ selenium-grid:
uploader:
enabled: false

relayNode:
enabled: true

videoRecorder:
enabled: true
uploader:
Expand Down

0 comments on commit a195077

Please sign in to comment.