azure/Create secret in Kubernetes cluster
Create a generic secret, docker-registry secret, or TLS secret in a Kubernetes such as Azure Kubernetes Service (AKS) clusters
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| namespace | Choose the target Kubernetes namespace. If the namespace is not provided, the commands will run in the default namespace. | no | — |
| secret-type | Type of Kubernetes secret. Defaults to 'kubernetes.io/dockerconfigjson'. | no | kubernetes.io/dockerconfigjson |
| secret-name | Name of the secret. You can use this secret name in the Kubernetes YAML configuration file. | yes | — |
| container-registry-url | Container Registry URL | no | — |
| container-registry-username | Container Registry user name | no | — |
| container-registry-password | Container Registry password | no | — |
| container-registry-email | Container Registry email (optional even when using url,username,password) | no | — |
| string-data | JSON object with plaintext string data for secret ex: {"key1":"value1"} | no | — |
| data | JSON object with the serialized form of the secret data in a base64 encoded string ex: {"key1":"[base64 encoded data]"} | no | — |
| tls-cert | Base64 encoded TLS certificate (PEM format) | no | — |
| tls-key | Base64 encoded TLS private key (PEM format) | no | — |
Outputs
| name | description |
|---|---|
| secret-name | Secret name |