Open grifonas opened 4 years ago
Did you ensure the service account has storage viewer role to the registry?
@rchenzheng I have pub/sub editor role and it has a parsing bug with index.docker.io. All my images are in GCR including keel. It is annoying and leads to me thinking it is failing to update..
steps to reproduce: 1) 0.16.0 chart 2) have value.yaml below that is working on GKE helm chart 3) change cluster name and move to Azure AKS 4) run: helm upgrade --install keel . --namespace kube-system -f values.yaml 5) see issue
error:
time="2020-04-14T23:15:07Z" level=debug msg="performing scan" time="2020-04-14T23:15:07Z" level=debug msg="registry index.docker.io is not a GCR, skipping"
values.yaml
polling:
enabled: false
gcr:
enabled: true
projectId: "xxx"
clusterName: "tr-us-000"
keel:
# keel policy (all/major/minor/patch/force)
policy: all
# trigger type, defaults to events such as pubsub, webhooks
trigger: poll
# polling schedule
pollSchedule: "@every 3m"
# images to track and update
images:
- repository: gcr.io/..
tag: latest
Hi, I've been having trouble configuring image polling with GCR. We are using GCR as our Docker registry however the cluster doesn't live on Google Cloud.
Pub Sub I tried pub/sub, but that appears to require instance metadata, which, obviously, my cluster nodes don't have.
Polling
Configuration:
Keel logs:
☝️ This seems to indicate that Keel is able to detect and use the secret.
Is there a way to use polling with GCR?
Thank you!