cdrx / rancher-gitlab-deploy

Painless deployment of projects built with GitLab CI onto your Rancher infrastructure
MIT License
432 stars 89 forks source link

Add support for secrets #63

Closed earzur closed 3 years ago

earzur commented 5 years ago

Add options for specifying references to existing (the code doesn't create/update them) rancher secrets (tested against rancher v1.6.x)

--secret SECRET_ID, --secrets SECRET_ID1,SECRET_ID2...

this patch requires support for the /v2-beta endpoint in the rancher server and has only been tested against rancher v1.6.21 (current version we have deployed in production)

I have also slightly changed the Dockerfile to make it pass hadolint checks - required in our production pipelines...