-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create internal secret to consume in sub-crs
Create an internal secret in the watcher controller to pass to the sub CRs (atm only for WatcherAPI). Initially, this secret contains the service password and the transport url. Eventually, this secret will be set as the Secret field in the sub CRs specs, once they are created from the Watcher controller.
- Loading branch information
1 parent
4800987
commit e607848
Showing
7 changed files
with
64 additions
and
13 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
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
11 changes: 1 addition & 10 deletions
11
tests/kuttl/test-suites/default/watcher-api/03-deploy-watcher-api.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 |
---|---|---|
@@ -1,17 +1,8 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: watcherapi-secret | ||
type: Opaque | ||
stringData: | ||
WatcherPassword: password | ||
transport_url: rabbitmq-transport-url-watcher-kuttl-watcher-transport | ||
--- | ||
apiVersion: watcher.openstack.org/v1beta1 | ||
kind: WatcherAPI | ||
metadata: | ||
name: watcherapi-kuttl | ||
spec: | ||
databaseInstance: openstack | ||
secret: watcherapi-secret | ||
secret: watcher-kuttl | ||
memcachedInstance: "memcached" |
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