Fixed forgejo-runner helm chart

This commit is contained in:
Richard Robert Reitz 2024-11-22 13:01:46 +01:00
parent edfdc8561c
commit 0361226bde
9 changed files with 257 additions and 3 deletions

View file

@ -0,0 +1,13 @@
{{- 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 }}