k8s-actions/k8s-create-secret/action.yml

40 строки
1.7 KiB
YAML

name: 'Create secret in Kubernetes cluster'
description: 'Create a generic secret or docker-registry secret in Kubernetes cluster'
inputs:
# Please ensure you have used either azure/k8s-actions/aks-set-context or azure/k8s-actions/k8s-set-context in the workflow before this action
namespace:
description: 'Choose the target Kubernetes namespace. If the namespace is not provided, the commands will run in the default namespace.'
required: false
container-registry-url:
description: 'Container registry url'
required: false
deprecationMessage: 'This action is ARCHIVED and will not receive any updates, update your workflows to use the new action azure/k8s-create-secret@v1'
container-registry-username:
description: 'Container registry username'
required: false
container-registry-password:
description: 'Container registry password'
required: false
container-registry-email:
description: 'Container registry email'
required: false
secret-type:
description: 'Type of Kubernetes secret. For example, docker-registry or generic'
required: true
default: 'docker-registry'
secret-name:
description: 'Name of the secret. You can use this secret name in the Kubernetes YAML configuration file.'
required: true
arguments:
description: 'Specify keys and literal values to insert in generic type secret.For example, --from-literal=key1=value1 --from-literal=key2="top secret".'
required: false
outputs:
secret-name:
description: 'Secret name'
branding:
icon: 'k8s.svg' # vector art to display in the GitHub Marketplace
color: 'blue' # optional, decorates the entry in the GitHub Marketplace
runs:
using: 'node12'
main: 'lib/run.js'