# ⚠️ ATENÇÃO: Este é um TEMPLATE para o imagePullSecret! # NÃO commitar valores reais neste arquivo! # # Para criar o secret do registry, use um dos métodos abaixo: # # Método 1 - Criar secret diretamente: # kubectl create secret docker-registry gitea-registry-secret \ # --docker-server=git.automatizase.com.br \ # --docker-username= \ # --docker-password= \ # --docker-email= \ # -n automatizase # # Método 2 - Usar arquivo .dockerconfigjson: # kubectl create secret generic gitea-registry-secret \ # --from-file=.dockerconfigjson=$HOME/.docker/config.json \ # --type=kubernetes.io/dockerconfigjson \ # -n automatizase # # Verificar se o secret foi criado: # kubectl get secret gitea-registry-secret -n automatizase --- apiVersion: v1 kind: Secret metadata: name: gitea-registry-secret namespace: automatizase type: kubernetes.io/dockerconfigjson data: # Este campo precisa ser preenchido com o base64 do dockerconfigjson # Use os comandos acima para criar o secret corretamente .dockerconfigjson: YOUR_BASE64_DOCKER_CONFIG_HERE