kdtool icon indicating copy to clipboard operation
kdtool copied to clipboard

Error on deploy_review

Open alexwine36 opened this issue 7 years ago • 2 comments

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?

alexwine36 avatar Aug 17 '17 18:08 alexwine36

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?

unixwitch avatar Aug 17 '17 19:08 unixwitch

@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?

alexwine36 avatar Aug 17 '17 21:08 alexwine36