mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
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
This commit is contained in:
parent
e234833423
commit
df2745df64
2 changed files with 28 additions and 0 deletions
|
@ -11,6 +11,14 @@ metadata:
|
|||
app.kubernetes.io/version: "v1.8.0"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
---
|
||||
# Source: dragonfly/templates/extra-manifests.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: dfly-password
|
||||
stringData:
|
||||
password: foobar
|
||||
---
|
||||
# Source: dragonfly/templates/tls-secret.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
@ -114,6 +122,12 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /etc/dragonfly/tls
|
||||
name: tls
|
||||
env:
|
||||
- name: DFLY_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dfly-password
|
||||
key: password
|
||||
volumes:
|
||||
- name: tls
|
||||
secret:
|
||||
|
|
|
@ -22,3 +22,17 @@ tls:
|
|||
AwEHoUQDQgAEFjX07jY4TxIu4dXIgktCLXyoIgYcSxpRdzLY5RU4wq85Mp0kgAaD
|
||||
LTZY3AxNIZv4s20VKIAHAxXL5J7woc8Wqg==
|
||||
-----END EC PRIVATE KEY-----
|
||||
|
||||
extraObjects:
|
||||
- apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: dfly-password
|
||||
stringData:
|
||||
password: foobar
|
||||
|
||||
passwordFromSecret:
|
||||
enable: true
|
||||
existingSecret:
|
||||
name: dfly-password
|
||||
key: password
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue