13 lines
474 B
YAML
13 lines
474 B
YAML
{{- if .Values.registration.enabled }}
|
|
# Secret data.
|
|
# You will need to retrive this from the web UI, and your Forgejo instance must be running v1.21+
|
|
# Alternatively, create this with
|
|
# kubectl create secret generic runner-secret --from-literal=token=your_offline_token_here
|
|
apiVersion: v1
|
|
stringData:
|
|
token: {{ .Values.registration.token }}
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "forgejo-runner.fullname" . }}-token
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- end }}
|