Skip to content

Commit 467ae9b

Browse files
Pothulapatikostasrim
authored andcommitted
fix(ci): use auth mechanism with tls helm values (#1696)
fix(ci): Fix Chart install Tests One of the install test seems to fail, This PR tries to fix that by also including password with tls test
1 parent c1f3508 commit 467ae9b

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

contrib/charts/dragonfly/ci/tls-values.golden.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ metadata:
1111
app.kubernetes.io/version: "v1.8.0"
1212
app.kubernetes.io/managed-by: Helm
1313
---
14+
# Source: dragonfly/templates/extra-manifests.yaml
15+
apiVersion: v1
16+
kind: Secret
17+
metadata:
18+
name: dfly-password
19+
stringData:
20+
password: foobar
21+
---
1422
# Source: dragonfly/templates/tls-secret.yaml
1523
apiVersion: v1
1624
kind: Secret
@@ -114,6 +122,12 @@ spec:
114122
volumeMounts:
115123
- mountPath: /etc/dragonfly/tls
116124
name: tls
125+
env:
126+
- name: DFLY_PASSWORD
127+
valueFrom:
128+
secretKeyRef:
129+
name: dfly-password
130+
key: password
117131
volumes:
118132
- name: tls
119133
secret:

contrib/charts/dragonfly/ci/tls-values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,17 @@ tls:
2222
AwEHoUQDQgAEFjX07jY4TxIu4dXIgktCLXyoIgYcSxpRdzLY5RU4wq85Mp0kgAaD
2323
LTZY3AxNIZv4s20VKIAHAxXL5J7woc8Wqg==
2424
-----END EC PRIVATE KEY-----
25+
26+
extraObjects:
27+
- apiVersion: v1
28+
kind: Secret
29+
metadata:
30+
name: dfly-password
31+
stringData:
32+
password: foobar
33+
34+
passwordFromSecret:
35+
enable: true
36+
existingSecret:
37+
name: dfly-password
38+
key: password

0 commit comments

Comments
 (0)