{"repo":"Azure/k8s-create-secret","free":true,"listed":false,"github":"https://github.com/Azure/k8s-create-secret","clone":"git clone https://github.com/Azure/k8s-create-secret.git","description":"GitHub Action to create Kubernetes cluster secrets","language":"TypeScript","stars":40,"topics":["azure","github-actions","kubernetes","actions","aks","action","github-action","secrets"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Kubernetes create secret Create a generic secret or docker-registry secret in Kubernetes cluster, replacing the secret if it already exists. The secret will be created in the cluster context which was set earlier in the workflow by using either azure/aks-set-context or azure/k8s-set-context Refer to the action metadata file for details about all the inputs https://github.com/Azure/k8s-create-secret/blob/master/action.yml For docker-registry type secrets, the fields .dockercfg or .dockerconfigjson can be supplied in plaintext on the string-data JSON object, or base64 encoded on the data JSON object as included in the docker-config-secrets section. Sample workflow for docker-registry secret (imagepullsecret, stringData) Sample workflow for generic secret (base64 data) Alternative for Container Registry Secrets Get the username and password of your container registry and create secrets for them. For Azure Container registry refer to admin account document for username and password. For creating docker-registery secrets, kubectl can generate the JSON Example output: Testing Unit tests are run with Vitest and can be found in the ./test directory Integration tests use Minikube and are executed within workflows in ./github/workflows Dependencies This repository enforces a 7-day dependency freshness (\"bake\") period : newly published npm packages are not adopted until they have been available for at least 7 days, giving the ecosystem time to catch broken or malicious releases. - Depen","default_branch":null,"files":null,"tree":[],"storefront":"/r/Azure","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Azure/k8s-create-secret/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}