-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ecr: secret not being generated #2
Comments
From @kwent on March 21, 2017 23:20 I would also update the documentation (https://deis.com/docs/workflow/installing-workflow/configuring-registry/) with one section for ECR and one section for GCR with samples. |
From @vdice on March 23, 2017 21:29 deis/workflow#779 represents the docs update |
From @foxycoder on April 7, 2017 16:35 FWIW I ran into the same error all of a sudden
So I deleted the token refresher pod to start a new one and everything worked again:
|
From @mariusmarais on May 30, 2017 13:23 I'm running into this same problem, but I'm not able to recover. Originally I setup values with both However, after removing them and running
Restarting the pod has no effect and it isn't generating any log output, which is making debugging very difficult (quay.io/deis/registry-token-refresher:v1.1.2). Please help :) Update: Granting the follow access via IAM resolves the issue, since Deis needs to be able to create a repository for every app: {
"Effect": "Allow",
"Action": [
"ecr:*"
],
"Resource": [
"*"
]
} Can this be limited further? |
In the docs, it is mentioned not to set hostname & registryid for ecr. Without these, helm is failing to update values.
|
where I have to update this config. did you mean to update in trust relationship policy? |
hello i also tried to install deis workflow using hem chart.
but I am getting error like,
I tried with empty string, and attached I am policy to user full access for ECR and changed kubeconfig file. but none of them helped me |
@whitedevil-369 , Can you try setting these values below to blank strings
https://docs.teamhephy.com/installing-workflow/configuring-registry/#ecr
|
From @vdice on March 21, 2017 22:42
When setting up values for using ECR as the off-cluster registry option, a sample snippet of Workflow's global
values.yaml
would look something like:Yet, when the
registryid
andhostname
values are non-empty as above, it seems a bug is hit and the necessaryprivate-registry-ecr
secret is not created correctly. When an attempt to build/deploy an example app, the following is hit:Meanwhile, counterintuitively, if both
registryid
andhostname
are just kept at""
then the aforementioned secret is created properly and build/deploys work as intended.Copied from original issue: deis/registry-token-refresher#11
The text was updated successfully, but these errors were encountered: