I am using Drone and Gogs as helm subcharts. The installation works fine. I was able to register at Gogs, got the auth token and I can authenticate via Drone at Gogs, because the logs of the Gogs pod says:
[Macaron] 2019-03-14 17:00:14: Started GET / for 10.1.1.1 2019/03/14 17:00:14 [TRACE] Session ID: 237b28e27dd4282d 2019/03/14 17:00:14 [TRACE] CSRF Token: AagPEb2hSel1hJWbLMskrwrNEZs6MTU1MjU4MjgxNDg3NjAxOTQwNA== 2019/03/14 17:00:14 [TRACE] Template: home
So the authentication went fine. Unfortunatelly, Drone returns:
401 Unauthorized (http://localhost:8002/api/user)
And the response of the login page (http://localhost:8002/login/) says:
" invalid character '>' looking for beginning of value"
My values file is this:
gogs: service: gogs: serverDomain: "localhost" serverRootUrl: "http://localhost" drone: sharedSecret: "supersecret" server: adminUser: "anja" env: DRONE_SERVER_HOST: "http://example-setup-drone.cicd" DRONE_USER_CREATE: "username:anja,machine:false,admin:true,token:40fc3882bde41b458e23c3949cd112d7a9871a32" sourceControl: provider: "gogs" gogs: server: "http://example-setup-gogs.cicd?skip_verify=true"