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

mysql-operator image pull issue #319

Open
sasipune opened this issue Dec 10, 2020 · 0 comments
Open

mysql-operator image pull issue #319

sasipune opened this issue Dec 10, 2020 · 0 comments

Comments

@sasipune
Copy link

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?
image

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant