Boa tarde,
Estou tentando pegar a no yaml de configuração do yaml usando o codigo abaixo:
apiVersion: apps/v1 kind: Deployment metadata: name: backend-deployment labels: app: backend-deployment spec: selector: matchLabels: app: backend-pod template: metadata: labels: app: backend-pod spec: containers: - image: registry.gitlab.com// name: container-backend-apistructure ports: - containerPort: 8086 imagePullSecrets: - name: gitlab-auth
Configurei a secret com o comando abaixo: kubectl create secret docker-registry gitlab-auth --docker-server=registry.gitlab.com --docker-username= --docker-password= --docker-email=
mas no console do kubernetes eh exibido a mensagem abaixo: