use secret instead of specifying registration code
This commit is contained in:
parent
285496ef82
commit
5f3c56a129
1 changed files with 4 additions and 1 deletions
|
@ -57,7 +57,10 @@ spec:
|
|||
- name: GITEA_INSTANCE_URL
|
||||
value: http://gitea-http.gitea.svc.cluster.local:3000
|
||||
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
||||
value: "my-registration-token"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: runner-secret
|
||||
key: token
|
||||
volumeMounts:
|
||||
- name: docker-certs
|
||||
mountPath: /certs
|
||||
|
|
Loading…
Add table
Reference in a new issue