josmo / drone-rancher

Drone plugin for triggering Rancher deployments
53 stars 35 forks source link

Problem with secrets #31

Closed mckernanin closed 6 years ago

mckernanin commented 6 years ago

I started a thread on the drone discourse, posting here as well. I think I'm following the docs on this repo but it's not working.

https://discourse.drone.io/t/problem-with-rancher-plugin-secrets/1739

====================================================

I can't figure out how to configure the rancher plugin properly. Here's my .drone.yml: https://github.com/tahosalodge/elections-frontend/blob/master/.drone.yml

And for that repo, here's a screenshot of the defined secrets:

screenshot 2018-02-09 13 12 46

On my latest build I get this:

    time="2018-02-09T19:49:16Z" level=info msg="Drone Rancher Plugin built" 
    time="2018-02-09T19:49:16Z" level=fatal msg="Eek: Must have url, key, secret, and service definied"
josmo commented 6 years ago

I just answered on discourse, looks like you are trying to use access_secret instead of secret_key which is causing you your problems

mckernanin commented 6 years ago

Ugh, thank you.