This repository was archived by the owner on May 28, 2021. It is now read-only.

Description
I am getting following error when mysql-operator is being installed using a helm chart.
Failed to pull image "iad.ocir.io/oracle/mysql-operator:0.3.0": rpc error: code = Unknown desc = failed to pull and unpack image "iad.ocir.io/oracle/mysql-operator:0.3.0": failed to resolve reference "iad.ocir.io/oracle/mysql-operator:0.3.0": no scope specified for token auth challenge
But when I pull the image directly using docker pull , it pulls the image without any issue. Do you see any issues in K8S config?

Deployment file ( Helm chart deployment template)
apiVersion: apps/v1
kind: Deployment
metadata:
name: mysql-operator
namespace: {{.Values.operator.namespace}}
labels:
release: {{ .Release.Name }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
app: mysql-operator
spec:
replicas: 1
selector:
matchLabels:
app: mysql-operator
template:
metadata:
labels:
app: mysql-operator
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
serviceAccountName: mysql-operator
containers:
- name: mysql-operator-controller
imagePullPolicy: {{ .Values.image.pullPolicy }}
image: {{ .Values.image.registry }}/mysql-operator:{{ .Values.image.tag }}
ports:
- containerPort: 10254
args:
- --v=4
{{- if not .Values.operator.global }}
- --namespace={{- .Values.operator.namespace }}
{{- end }}
- --mysql-agent-image={{- .Values.image.registry }}/mysql-agent