Skip to content

Commit 917bc20

Browse files
committed
feat(statefulset): add support for valueFrom in env
Signed-off-by: Baptiste Roux <arte.but.posix@gmail.com>
1 parent 53a62ca commit 917bc20

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

charts/woodpecker/charts/server/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ env:
3434
WOODPECKER_ADMIN: 'woodpecker,admin'
3535
WOODPECKER_HOST: 'https://xxxxxxx'
3636
# WOODPECKER_GITHUB: "true"
37+
# WOODPECKER_DATABASE_DATASOURCE:
38+
# valueFrom:
39+
# secretKeyRef:
40+
# name: woodpecker-database-secret
41+
# key: datasource
3742

3843
# -- Add extra environment variables from the secrets list
3944
extraSecretNamesForEnvFrom: []

charts/woodpecker/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ agent:
3535
WOODPECKER_BACKEND_K8S_POD_LABELS: ''
3636
WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS: ''
3737
WOODPECKER_CONNECT_RETRY_COUNT: '1'
38+
# WOODPECKER_DATABASE_DATASOURCE:
39+
# valueFrom:
40+
# secretKeyRef:
41+
# name: woodpecker-database-secret
42+
# key: datasource
3843

3944
# -- Add extra secret that is contains environment variables
4045
extraSecretNamesForEnvFrom: []

0 commit comments

Comments
 (0)