function "ternary" not defined

values.yaml Modify only host and token

[root@master]# helm install --namespace gitlab-managed-apps --name gitlab-runner -f values.yaml gitlab/gitlab-runner
Error: parse error in “gitlab-runner/templates/_helpers.tpl”: template: gitlab-runner/templates/_helpers.tpl:2: function “ternary” not defined