Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
Add environment variables into pod template to support Virtual Node w…
Browse files Browse the repository at this point in the history
…ith AKS
  • Loading branch information
idubnori authored and diemol committed Dec 9, 2019
1 parent 733d1cc commit 905b99b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions charts/zalenium/templates/_pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@ spec:
value: {{ .Values.hub.memRequest | quote }}
- name: ZALENIUM_KUBERNETES_MEMORY_LIMIT
value: {{ .Values.hub.memLimit | quote }}
{{- if .Values.hub.seleniumNodeHost }}
- name: SELENIUM_NODE_HOST
value: {{ .Values.hub.seleniumNodeHost | quote }}
{{- end }}
{{- if .Values.hub.seleniumNodeSelector }}
- name: ZALENIUM_KUBERNETES_NODE_SELECTOR
value: {{ .Values.hub.seleniumNodeSelector | quote }}
{{- end }}
{{- if .Values.hub.seleniumTolerations }}
- name: ZALENIUM_KUBERNETES_TOLERATIONS
value: {{ .Values.hub.seleniumTolerations | quote }}
{{- end }}
{{- if .Values.hub.basicAuth.enabled }}
- name: GRID_USER
valueFrom:
Expand Down Expand Up @@ -158,6 +170,10 @@ spec:
- name: {{ $key | quote }}
value: {{ $val | quote }}
{{ end }}
{{- if .Values.hub.timeToWaitToStart }}
- name: TIME_TO_WAIT_TO_START
value: {{ .Values.hub.timeToWaitToStart | quote }}
{{- end }}
args:
- start
resources:
Expand Down

0 comments on commit 905b99b

Please sign in to comment.