-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update RabbitMQ and add configuration for Users and VHosts
Signed-off-by: Andrei Kvapil <[email protected]>
- Loading branch information
Showing
10 changed files
with
3,844 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
packages/apps/rabbitmq/templates/dashboard-resourcemap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: {{ .Release.Name }}-dashboard-resources | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- secrets | ||
resourceNames: | ||
- {{ .Release.Name }}-default-user | ||
{{- range $name, $u := .Values.users }} | ||
- {{ $.Release.Name }}-{{ kebabcase $name }}-credentials | ||
{{- end }} | ||
verbs: ["get", "list", "watch"] | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- services | ||
resourceNames: | ||
- {{ .Release.Name }} | ||
verbs: ["get", "list", "watch"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## @section Common parameters | ||
|
||
## @param external Enable external access from outside the cluster | ||
## @param size Persistent Volume size | ||
## @param replicas Number of RabbitMQ replicas | ||
## @param storageClass StorageClass used to store the data | ||
## | ||
external: false | ||
size: 10Gi | ||
replicas: 3 | ||
storageClass: "" | ||
|
||
## @section Configuration parameters | ||
|
||
users: | ||
user1: | ||
password: strongpassword | ||
user2: | ||
password: hackme | ||
user4: | ||
password: testtest | ||
user5: {} | ||
user6: {} | ||
|
||
|
||
vhosts: | ||
myapp: | ||
roles: | ||
admin: | ||
- user1 | ||
- user2 | ||
readonly: | ||
- user4 | ||
test: | ||
roles: | ||
admin: | ||
- user4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.