forked from payara/Payara
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support sub-directories for MPCONFIG SecretDirConfigSource. payara#5006
This adds support for mounting your secrets in subdirectories to create scopes. The relative path is used as the property name. A secret file "SECRET_DIR/foo/bar/secret" will be available as MPCONFIG value "foo.bar.secret". You can still put a file "foo.bar.secret" in "SECRET_DIR" and have the same value available. If both are present, the topmost file will be picked. Mix'n'match isn't supported. Retrieving "foo.bar.secret" from "SECRET_DIR/foo/bar.secret" will not work reliably when added at runtime.
- Loading branch information
1 parent
8acad3f
commit f2795e2
Showing
2 changed files
with
126 additions
and
46 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