hasura / gitkube

Build and deploy docker images to Kubernetes using git push
Apache License 2.0
3.81k stars 207 forks source link

Cannot generate multiple gitkube remotes on a given cluster using gitkube cli. #83

Closed naseemkullah closed 6 years ago

naseemkullah commented 6 years ago

Because it errors out on creating an already existing docker-registry secret.

FATA[0036] generating remote failed: error creating docker-registry secret: secrets "regsecret" already exists

tirumaraiselvan commented 6 years ago

@shahidhk can we name the regsecret as {remote-name}-regsecret to avoid collision?

@naseemkullah For the time being, you can ignore creating the docker secret through the cli (choose the skip option), and then create a docker secret manually ( https://github.com/hasura/gitkube/blob/master/docs/registry.md) and add it to your remote.yaml