cloudposse/CICD Kubernetes Namespace Builder GitHub action
Constructs a name for a namespace based on inputs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| enabled | Whether or not to run this action, empty string or false is false, anything else is true | no | true |
| fallback | Fallback value if the action is disabled | no | "" |
| flavor | Flavor of naming, either `pr-number`, `branch-name`, or `custom`. Note `name` must be set if using `custom` | no | pr-number |
| app-name | Name of the application | no | "" |
| prefix | Prefix for namespace | no | "" |
| name | name for namespace if using flavor `custom`, still prefixed | yes | "" |
| suffix | Suffix for namespace, appended if still under max length (63 characters) | no | "" |
| deny-list | Comma seperated list of strings to deny in the namespace name | no | kube-system,kube-public,default |
| override-pr-number | Override the PR number, useful for manually helping calculate the PR number | no | — |
| override-branch-name | Override the branch name, useful for manually helping calculate the branch name | no | — |
Outputs
| name | description |
|---|---|
| kubernetes-namespace | Generated kubernetes namespace |