cloudbees-io/create-k8s-namespace
Create a Kubernetes Namespace
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| name | Name of the Namespace. When sanitize-name is enabled, the provided name will be sanitized | — | ${{ cloudbees.scm.branch }}-${{ cloudbees.scm.repository }}-${{ cloudbees.scm.sha }} |
| sanitize-name | If 'true', the given name will be modified so that it is valid, truncated and suffixed with a hash | — | true |
| labels | A YAML object of labels the Namespace should be created with. Example: cloudbees.io/cleanup: "true" example.org/mylabel: xyz | — | — |
| fail-if-exists | Fail if the Namespace already exists | — | false |
Outputs
| name | description |
|---|---|
| name | Name of the Kubernetes Namespace resource |