Open Goodsmileduck opened 5 years ago
Same error. just a note: in the doc page the -s parameter has the suffix .git in the url.
In my case I also used the parameters:
--user myuser --token mytoken
I also checked the secrets and it has the correct user / token provided in the command above. What I found strange are his parameters:
Namespace: jx
Labels: jenkins.io/chart-release=jxet
jenkins.io/created-by=jx
jenkins.io/credentials-type=usernamePassword
jenkins.io/kind=git
jenkins.io/namespace=jx
jenkins.io/service-kind=github
jenkins.io/version=0.0.92
Annotations: jenkins.io/chart: environment-controller
jenkins.io/credentials-description: API Token for acccessing git for GitOps
jenkins.io/name: Git
jenkins.io/url: https://github.com
Type: Opaque
Data
====
password: 40 bytes
username: 9 bytes
the password contains the token provided?! is it correct? jenkins.io/credentials-type=usernamePassword is correct?
there is probably an issue in the command line tool:
jx create addon envctl
if I use directly the hel the controller runs without errors.
installed it using the command:
but it didn't work
Kubernetes cluster on digitalocean