kdtool
kdtool copied to clipboard
Error on deploy_review
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?
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 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?