Update README and app-config

Signed-off-by: Julio Zynger <julio.zynger@soundcloud.com>
This commit is contained in:
Julio Zynger
2021-12-23 17:04:02 +01:00
parent e14896fb63
commit 6fc1d9bbaf
2 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -110,8 +110,10 @@ proxy:
'/gocd':
target: https://your.gocd.instance.com/go/api
allowedMethods: ['GET']
allowedHeaders: ['Authorization', 'Accept']
headers:
Authorization: ${GOCD_AUTH_TOKEN}
Authorization: Basic ${GOCD_AUTH_TOKEN}
Accept: application/vnd.go.cd+json
organization:
name: My Company
@@ -458,4 +460,4 @@ apacheAirflow:
baseUrl: https://your.airflow.instance.com
gocd:
baseUrl: https://your.gocd.instance.com
baseUrl: https://your.gocd.instance.com
+3 -1
View File
@@ -41,8 +41,10 @@ proxy:
'/gocd':
target: '<go cd server host>/go/api'
allowedMethods: ['GET']
allowedHeaders: ['Authorization', 'Accept']
headers:
Authorization: ${GOCD_AUTH_TOKEN}
Authorization: Basic ${GOCD_AUTH_TOKEN}
Accept: application/vnd.go.cd+json
```
You should also include the `gocd` section to allow for the plugin to redirect back to GoCD pipelines in your deployed instance: