Compare commits
No commits in common. "68de3942be90875c0257c956de0919c9a3202ae0" and "16ac9cb908ba256d99f83261ad58aee9d4e7a887" have entirely different histories.
68de3942be
...
16ac9cb908
3 changed files with 5 additions and 13 deletions
|
@ -36,7 +36,7 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: runner-register
|
- name: runner-register
|
||||||
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
|
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:
|
env:
|
||||||
- name: RUNNER_NAME
|
- name: RUNNER_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -49,8 +49,6 @@ spec:
|
||||||
key: token
|
key: token
|
||||||
- name: FORGEJO_INSTANCE_URL
|
- name: FORGEJO_INSTANCE_URL
|
||||||
value: {{ .Values.forgejoUrl }}
|
value: {{ .Values.forgejoUrl }}
|
||||||
- name: RUNNER_LABELS
|
|
||||||
value: {{ join "," .Values.runnerLabels }}
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
|
@ -10,8 +10,7 @@ kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "forgejo-runner.fullname" . }}-token
|
name: {{ include "forgejo-runner.fullname" . }}-token
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
# TODO: RIRE should this be enabled?
|
metadata:
|
||||||
#metadata:
|
annotations:
|
||||||
# annotations:
|
argocd.argoproj.io/sync-options: Prune=false
|
||||||
# argocd.argoproj.io/sync-options: Prune=false
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -42,9 +42,4 @@ registration:
|
||||||
enabled: false
|
enabled: false
|
||||||
token: ""
|
token: ""
|
||||||
|
|
||||||
forgejoUrl: https://my.forgejo.server
|
forgejoUrl: http://forgejo-http.forgejo.svc.cluster.local:3000
|
||||||
|
|
||||||
runnerLabels:
|
|
||||||
- docker:docker://node:20-bullseye
|
|
||||||
- ubuntu-latest:docker://node:20-bullseye
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue