Skip to content

Commit

Permalink
chore(rabbitmq): secret
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Feb 20, 2024
1 parent 10ead4a commit e11de7b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rabbitmq/dev/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Kustomization

resources:
- route.yaml
# - secrets.yaml
- secrets.yaml

helmCharts:
- name: rabbitmq
Expand Down
11 changes: 11 additions & 0 deletions rabbitmq/dev/secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: rabbitmq
namespace: guardian
annotations:
avp.kubernetes.io/path: "kv/data/guardian/rabbitmq"
type: Opaque
stringData:
rabbitmq-erlang-cookie: "<ERLANG_COOKIE>"
rabbitmq-password: "<PASSWORD>"
4 changes: 2 additions & 2 deletions rabbitmq/dev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ auth:
## e.g:
## existingPasswordSecret: name-of-existing-secret
##
# existingErlangSecret: "rabbitmq"
# existingPasswordSecret: "rabbitmq"
existingErlangSecret: "rabbitmq"
existingPasswordSecret: "rabbitmq"

clustering:
enabled: true
Expand Down

0 comments on commit e11de7b

Please sign in to comment.