add option to set ontime password

This commit is contained in:
2025-10-27 18:49:43 -05:00
parent 5b182ce539
commit f93da11c94
4 changed files with 7 additions and 2 deletions

View File

@@ -5,4 +5,4 @@ kind: Kustomization
images: images:
- name: controller - name: controller
newName: git.jwetzell.com/jwetzell/ontime-operator newName: git.jwetzell.com/jwetzell/ontime-operator
newTag: v1.0.0 newTag: v1.1.0

View File

@@ -3,4 +3,4 @@ appVersion: v4.0.1
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
name: stage name: stage
type: application type: application
version: 0.1.0 version: 1.1.0

View File

@@ -37,6 +37,10 @@ spec:
env: env:
- name: ROUTER_PREFIX - name: ROUTER_PREFIX
value: {{ .Values.ontime.prefix | quote}} value: {{ .Values.ontime.prefix | quote}}
{{- with .Values.ontime.password }}
- name: SESSION_PASSWORD
value: {{ . | quote }}
{{- end }}
ports: ports:
- name: http - name: http
containerPort: {{ .Values.service.port }} containerPort: {{ .Values.service.port }}

View File

@@ -6,6 +6,7 @@ replicaCount: 1
ontime: ontime:
version: 4.0.2 version: 4.0.2
prefix: "" prefix: ""
# password: "password"
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image: image: