|
23 | 23 | - name: gcp-sa-release
|
24 | 24 | secret:
|
25 | 25 | secretName: gcp-sa-gitpod-release-deployer
|
26 |
| - - name: gpsh-coredev-license |
27 |
| - secret: |
28 |
| - secretName: gpsh-coredev-license |
29 | 26 | - name: prometheus-remote-write-auth
|
30 | 27 | secret:
|
31 | 28 | secretName: prometheus-remote-write-auth
|
|
54 | 51 | - name: fluent-bit-external
|
55 | 52 | secret:
|
56 | 53 | secretName: fluent-bit-external
|
| 54 | + - name: github-token-gitpod-bot |
| 55 | + secret: |
| 56 | + defaultMode: 420 |
| 57 | + secretName: github-token-gitpod-bot |
57 | 58 | # - name: deploy-key
|
58 | 59 | # secret:
|
59 | 60 | # secretName: deploy-key
|
|
74 | 75 | - name: MYSQL_TCP_PORT
|
75 | 76 | value: 23306
|
76 | 77 | - name: build
|
77 |
| - image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:ljb-werft-cli-grpc-changes.2 |
| 78 | + image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aledbf-go184.0 |
78 | 79 | workingDir: /workspace
|
79 | 80 | imagePullPolicy: IfNotPresent
|
80 | 81 | resources:
|
|
95 | 96 | - name: gcp-sa-release
|
96 | 97 | mountPath: /mnt/secrets/gcp-sa-release
|
97 | 98 | readOnly: true
|
98 |
| - - name: gpsh-coredev-license |
99 |
| - mountPath: /mnt/secrets/gpsh-coredev |
100 |
| - readOnly: true |
101 | 99 | - name: gpsh-harvester-license
|
102 | 100 | mountPath: /mnt/secrets/gpsh-harvester
|
103 | 101 | readOnly: true
|
|
118 | 116 | mountPath: /mnt/secrets/harvester-k3s-dockerhub-pull-account
|
119 | 117 | - name: fluent-bit-external
|
120 | 118 | mountPath: /mnt/fluent-bit-external
|
| 119 | + - mountPath: /mnt/secrets/github-token-gitpod-bot |
| 120 | + name: github-token-gitpod-bot |
121 | 121 | # - name: deploy-key
|
122 | 122 | # mountPath: /mnt/secrets/deploy-key
|
123 | 123 | # readOnly: true
|
|
137 | 137 | value: http://athens-athens-proxy.athens.svc.cluster.local:9999
|
138 | 138 | - name: GOCACHE
|
139 | 139 | value: /go-build-cache
|
140 |
| - - name: WERFT_HOST |
141 |
| - value: "werft.werft.svc.cluster.local:7777" |
142 | 140 | - name: NODENAME
|
143 | 141 | valueFrom:
|
144 | 142 | fieldRef:
|
@@ -218,6 +216,11 @@ pod:
|
218 | 216 | secretKeyRef:
|
219 | 217 | name: replicated
|
220 | 218 | key: token
|
| 219 | + # Used by the Werft CLI through werft-credential-helper.sh |
| 220 | + - name: WERFT_GITHUB_TOKEN_PATH |
| 221 | + value: "/mnt/secrets/github-token-gitpod-bot/token" |
| 222 | + - name: WERFT_CREDENTIAL_HELPER |
| 223 | + value: "/workspace/dev/preview/werft-credential-helper.sh" |
221 | 224 | command:
|
222 | 225 | - bash
|
223 | 226 | - -c
|
|
0 commit comments