helm image pull issue

1

eu tenho um registro privado para imagens, o que funciona "", agora eu quero usar isso, meu deployment.yaml

apiVersion: extensions / v1beta1

kind: Deployment
metadata:
  name: {{ template "mychart.fullname" . }}
spec:
  replicas: {{ .Values.replicaCount }}
  template:
    metadata:
      labels:
        app: {{ template "mychart.name" . }}
    spec:
      containers:
        - name: {{ .Chart.Name }}
          image: "{{ .Values.image.repository }}/ssh"
          imagePullPolicy: {{ .Values.image.pullPolicy }}
          ports:
            - containerPort: {{ .Values.service.internalPort }}
      imagePullSecrets:
        - name: "{{  .Values.imageCredentials }}"

e meus valores.yaml

replicaCount: 1

image:
  repository: registry.yoy.online
  pullPolicy: IfNotPresent
service:
  name: ssh
  type: NodePort
  externalPort: 31000
  internalPort: 2222
imageCredentials:
  registry: registry.yoy.online
  username: tesing
  password: tesing

mas falha, tenho certeza de que há algum engano,

    
por Mohd 21.01.2018 / 13:44

0 respostas