use secret instead of specifying registration code

This commit is contained in:
Chris Cureau 2023-05-26 13:25:51 +00:00
parent 285496ef82
commit 5f3c56a129

View file

@ -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