-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add apply command for creds and params (#1715)
* Add apply command for creds and params Add a new command for credential and parameter sets which allow you to apply changes (or create net new) from a file. Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com> * Fix exmaple Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
- Loading branch information
Showing
22 changed files
with
385 additions
and
24 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
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,49 @@ | ||
--- | ||
title: "porter credentials apply" | ||
slug: porter_credentials_apply | ||
url: /cli/porter_credentials_apply/ | ||
--- | ||
## porter credentials apply | ||
|
||
Apply changes to a credential set | ||
|
||
### Synopsis | ||
|
||
Apply changes from the specified file to a credential set. If the credential set doesn't already exist, it is created. | ||
|
||
Supported file extensions: json and yaml. | ||
|
||
You can use the generate and show commands to create the initial file: | ||
porter credentials generate mycreds --reference SOME_BUNDLE | ||
porter credentials show mycreds --output yaml > mycreds.yaml | ||
|
||
|
||
``` | ||
porter credentials apply FILE [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
porter credentials apply mycreds.yaml | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for apply | ||
-n, --namespace string Namespace in which the credential set is defined. The namespace in the file, if set, takes precedence. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug logging | ||
--debug-plugins Enable plugin debug logging | ||
--experimental strings Comma separated list of experimental features to enable. See https://porter.sh/configuration/#experimental-feature-flags for available feature flags. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [porter credentials](/cli/porter_credentials/) - Credentials commands | ||
|
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,49 @@ | ||
--- | ||
title: "porter parameters apply" | ||
slug: porter_parameters_apply | ||
url: /cli/porter_parameters_apply/ | ||
--- | ||
## porter parameters apply | ||
|
||
Apply changes to a parameter set | ||
|
||
### Synopsis | ||
|
||
Apply changes from the specified file to a parameter set. If the parameter set doesn't already exist, it is created. | ||
|
||
Supported file extensions: json and yaml. | ||
|
||
You can use the generate and show commands to create the initial file: | ||
porter parameters generate myparams --reference SOME_BUNDLE | ||
porter parameters show myparams --output yaml > myparams.yaml | ||
|
||
|
||
``` | ||
porter parameters apply FILE [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
porter parameters apply myparams.yaml | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for apply | ||
-n, --namespace string Namespace in which the parameter set is defined. The namespace in the file, if set, takes precedence. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug logging | ||
--debug-plugins Enable plugin debug logging | ||
--experimental strings Comma separated list of experimental features to enable. See https://porter.sh/configuration/#experimental-feature-flags for available feature flags. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [porter parameters](/cli/porter_parameters/) - Parameter set commands | ||
|
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
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
Oops, something went wrong.