Error if runner is enabled but not actions
This commit is contained in:
parent
2ddee3af8f
commit
f01fcd9d0b
1 changed files with 4 additions and 0 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Reference in a new issue