Skip to content

Commit

Permalink
add password to redis commander
Browse files Browse the repository at this point in the history
  • Loading branch information
xuluna committed May 21, 2024
1 parent f927af6 commit 986c889
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ metadata:
type: kubernetes.io/basic-auth
stringData:
password: K@ravi123!
commander_user: dev
10 changes: 10 additions & 0 deletions charts/csm-authorization/charts/redis/templates/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@ spec:
secretKeyRef:
name: redis-csm-secret
key: password
- name: HTTP_PASSWORD
valueFrom:
secretKeyRef:
name: redis-csm-secret
key: password
- name: HTTP_USER
valueFrom:
secretKeyRef:
name: redis-csm-secret
key: commander_user
ports:
- name: {{ .Values.redis.rediscommander }}
containerPort: 8081
Expand Down

0 comments on commit 986c889

Please sign in to comment.