Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renovate config is not correctly read on v30 #173

Closed
roobre opened this issue Dec 11, 2021 · 1 comment · Fixed by #174
Closed

Renovate config is not correctly read on v30 #173

roobre opened this issue Dec 11, 2021 · 1 comment · Fixed by #174

Comments

@roobre
Copy link
Contributor

roobre commented Dec 11, 2021

As reported originally here: renovatebot/renovate#13054

Copypaste from my comment here: renovatebot/renovate#13054 (comment):

I believe this could be related to:

config: Renovate will now fail if RENOVATE_CONFIG_FILE is specified without a file extension

(https://github.com/renovatebot/renovate/releases/tag/30.0.0)

This should have been fixed here: #170

But unfortunately the line introduced in that PR will not be evaluated because the whole env section is guarded by another if:

{{- if or .Values.redis.enabled .Values.renovate.existingConfigFile .Values.env .Values.dind.enabled }}

As a workaround, this can be specified in the values.yml

  env:
    RENOVATE_CONFIG_FILE: /usr/src/app/config.json
@roobre
Copy link
Contributor Author

roobre commented Dec 11, 2021

Actually, if I'm reading this correctly, specifying anything on env will cause #170 to behave as intended, so doing:

env:
  foo: bar

Should also be a valid workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant