Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Error on deploy_review #1

Open
alexwine36 opened this issue Aug 17, 2017 · 2 comments
Open

Error on deploy_review #1

alexwine36 opened this issue Aug 17, 2017 · 2 comments

Comments

@alexwine36
Copy link

First of all thank you for automating this!

I am struggling to get the deploy command working and it is spitting out the error

--gitlab: cannot determine Kubernetes CA certificate

Do you know how I can remedy this?

@unixwitch
Copy link
Contributor

Hello,

This indicates that neither $KUBE_CA_PEM nor $KUBE_CA_PEM_FILE were set in the job's environment. One or both of these (depending on GitLab version) should be set when Kubernetes integration is configured.

Can you add env to your deploy script prior to deploy, i.e.:

script:
- env
- deploy --gitlab ...

and show the output? (This may include sensitive data like access tokens, which you'll want to remove first.)

Also, what version of GitLab are you using?

@alexwine36
Copy link
Author

@unixwitch I was using GitLab 9.4.5 which wasn't showing any KUBE_ variables so I downgraded to 9.4.4 now everything seems to be created fine.

The current issue is that I can't pull the image from the private repository for the Deployment to use.

The next question I had is if it is possible to specifiy the ingress that is used or the ip address that it is using?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants