I am using this image to refresh my AWS ECR creds and K8 secret. I use rancher UI to deploy a workload via the UI. I have set the environment variables as follows -
name: AWS_ACCESS_KEY_ID
value: my_aws_id_which has admin_access
But the deployment is failing and crashes with following logs in the container. The logs are very generic and cannot tell what I am missing. Any help will be appreciated.
INFO[2018-05-24T07:31:54Z] Starting ECR Credential Updater FATA[2018-05-24T07:31:54Z] Unable to create Rancher API client: Get: unsupported protocol scheme ""
I am using this image to refresh my AWS ECR creds and K8 secret. I use rancher UI to deploy a workload via the UI. I have set the environment variables as follows -
And added labels as mentioned in repo readme.Add the following labels to the service in Rancher:
But the deployment is failing and crashes with following logs in the container. The logs are very generic and cannot tell what I am missing. Any help will be appreciated.
INFO[2018-05-24T07:31:54Z] Starting ECR Credential Updater FATA[2018-05-24T07:31:54Z] Unable to create Rancher API client: Get: unsupported protocol scheme ""