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

Commit

Permalink
Merge pull request #1 from weaveworks/valueFileSecrets
Browse files Browse the repository at this point in the history
Add valueFileSecrets example to Redis release
  • Loading branch information
stefanprodan authored Dec 27, 2018
2 parents 6bdadd3 + d4cba55 commit efa4f05
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions releases/redis-auth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
# This secret should be stored in Git encrypted
# Sealed Secrets example: https://github.com/stefanprodan/gitops-helm#managing-kubernetes-secrets
apiVersion: v1
kind: Secret
metadata:
name: redis-auth
namespace: demo
data:
values.yaml: cGFzc3dvcmQ6IGFkbWlu
5 changes: 4 additions & 1 deletion releases/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ spec:
repository: https://kubernetes-charts.storage.googleapis.com/
name: redis
version: 4.2.10
valueFileSecrets:
# the redis-auth secret contains the password value
- name: redis-auth
values:
usePassword: true
image:
repository: bitnami/redis
tag: 4.0.11
Expand All @@ -25,7 +29,6 @@ spec:
port: 6379
cluster:
enabled: false
usePassword: false
master:
persistence:
enabled: false

0 comments on commit efa4f05

Please sign in to comment.