-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow pre-definition of user passwords (#44)
## Summary Of Changes This PR adds several new fields to allow import of passwords from a created Secret: ```yaml apiVersion: v1 kind: Secret metadata: name: credentials-secret namespace: testing type: Opaque data: username: bXktc2VjcmV0LXVzZXI= password: d2h5YXJleW91bG9va2luZ2hlcmU= --- apiVersion: rabbitmq.com/v1alpha1 kind: User metadata: name: import-user namespace: testing spec: rabbitmqClusterReference: name: rmq namespace: rabbitmq-system importCredentialsSecret: name: credentials-secret ```
- Loading branch information
Showing
9 changed files
with
327 additions
and
152 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,22 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: credentials-secret | ||
type: Opaque | ||
data: | ||
username: bXktc2VjcmV0LXVzZXI= | ||
password: d2h5YXJleW91bG9va2luZ2hlcmU= | ||
--- | ||
apiVersion: rabbitmq.com/v1alpha1 | ||
kind: User | ||
metadata: | ||
name: import-user-sample | ||
spec: | ||
tags: | ||
- management # available tags are 'management', 'policymaker', 'monitoring' and 'administrator' | ||
- policymaker | ||
rabbitmqClusterReference: | ||
name: test | ||
namespace: rabbitmq-system | ||
importCredentialsSecret: | ||
name: credentials-secret |
Oops, something went wrong.