Error if runner is enabled but not actions

This commit is contained in:
Stefan Bethke 2024-09-12 13:24:26 +02:00
parent 2ddee3af8f
commit f01fcd9d0b

View file

@ -31,4 +31,8 @@
{{- fail "`gitea.database.builtIn` does no longer exist. Builtin databases can be configured inside the dependencies itself. Please refer to the changelog." -}}
{{- end -}}
{{- end -}}
{{- if and .Values.forgejo.runner.enabled (not .Values.gitea.actions.enabled)}}
{{- fail "`forgejo.runner.enabled` is true, but `.gitea.actions.enabled` is false. Either enable actions or disable runner." -}}
{{- end -}}
{{- end -}}