diff --git a/controllers/user/deploy/charts/user/templates/deployment.yaml b/controllers/user/deploy/charts/user/templates/deployment.yaml index aa4104ac8..6efa06154 100644 --- a/controllers/user/deploy/charts/user/templates/deployment.yaml +++ b/controllers/user/deploy/charts/user/templates/deployment.yaml @@ -57,8 +57,8 @@ spec: - containerPort: 9443 name: webhook-server protocol: TCP - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + image: "{{ .Values.image }}" + imagePullPolicy: IfNotPresent livenessProbe: {{- toYaml .Values.livenessProbe | nindent 12 }} readinessProbe: diff --git a/controllers/user/deploy/charts/user/values.yaml b/controllers/user/deploy/charts/user/values.yaml index 0c9e7ecc4..4dddebdae 100644 --- a/controllers/user/deploy/charts/user/values.yaml +++ b/controllers/user/deploy/charts/user/values.yaml @@ -2,10 +2,7 @@ replicaCount: 1 -image: - repository: ghcr.io/labring/sealos-user-controller - tag: latest - pullPolicy: Always +image: ghcr.io/labring/sealos-user-controller:latest imagePullSecrets: [] nameOverride: ""