Compare commits

..

No commits in common. "68de3942be90875c0257c956de0919c9a3202ae0" and "16ac9cb908ba256d99f83261ad58aee9d4e7a887" have entirely different histories.

3 changed files with 5 additions and 13 deletions

View file

@ -36,7 +36,7 @@ spec:
initContainers:
- name: runner-register
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
command: ["forgejo-runner", "register", "--no-interactive", "--token", $(RUNNER_SECRET), "--name", $(RUNNER_NAME), "--instance", $(FORGEJO_INSTANCE_URL), "--labels", $(RUNNER_LABELS)]
command: ["forgejo-runner", "register", "--no-interactive", "--token", $(RUNNER_SECRET), "--name", $(RUNNER_NAME), "--instance", $(FORGEJO_INSTANCE_URL)]
env:
- name: RUNNER_NAME
valueFrom:
@ -49,8 +49,6 @@ spec:
key: token
- name: FORGEJO_INSTANCE_URL
value: {{ .Values.forgejoUrl }}
- name: RUNNER_LABELS
value: {{ join "," .Values.runnerLabels }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:

View file

@ -10,8 +10,7 @@ kind: Secret
metadata:
name: {{ include "forgejo-runner.fullname" . }}-token
namespace: {{ .Release.Namespace }}
# TODO: RIRE should this be enabled?
#metadata:
# annotations:
# argocd.argoproj.io/sync-options: Prune=false
metadata:
annotations:
argocd.argoproj.io/sync-options: Prune=false
{{- end }}

View file

@ -42,9 +42,4 @@ registration:
enabled: false
token: ""
forgejoUrl: https://my.forgejo.server
runnerLabels:
- docker:docker://node:20-bullseye
- ubuntu-latest:docker://node:20-bullseye
forgejoUrl: http://forgejo-http.forgejo.svc.cluster.local:3000