Skip to content

Commit

Permalink
chore!: switch config to yaml for easier overriding (#35)
Browse files Browse the repository at this point in the history
* chore!: switch config to yaml for easier overriding

* fix docs
  • Loading branch information
Racer159 authored Dec 18, 2024
1 parent 672f448 commit bcedd51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chart/templates/renovate-config-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ metadata:
type: Opaque
stringData:
config.json: |-
{{- .Values.renovate.config | nindent 4 }}
{{- .Values.renovate.config | toJson | nindent 4 }}
7 changes: 3 additions & 4 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ renovate:
# that aren't directly exposed by the uds-renovate-config chart. (see: https://docs.renovatebot.com/self-hosted-configuration/)
extraEnv: {}

config: |
{
"enabled": true
}
config:
enabled: true


additionalNetworkAllow: []
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ By default the schedule is every 15 minutes (`"*/15 * * * *"`).
- `renovate.autodiscover` - Autodiscover repositories. Defaults to `true` which enables Renovate to run on all repositories that the bot account can access. See https://docs.renovatebot.com/self-hosted-configuration/#autodiscover
- `renovate.onboarding` - Require a configuration PR to onboard new repositories to Renovate. Defaults to `true`. See https://docs.renovatebot.com/self-hosted-configuration/#onboarding
- `renovate.extraEnv` - A map of key value pairs to pass extra environment variables to Renovate for custom configuration options. Any value listed in the [Renovate Self-Hosted configuration options](https://docs.renovatebot.com/self-hosted-configuration/) can be specified here using the `env` variable name from the docs.
- `renovate.config` - Renovate config.json file. The contents of this file will be combined with any settings or environment variables specified above. If `renovate.printconfig` is `true` the combined effective config will appear in the pod logs for each execution of Renovate.
- `renovate.config` - Renovate `config.json` file represented in YAML (YAML keys are the same as those in the `config.json` and are converted toJson iby the template). The contents of this file will be combined with any settings or environment variables specified above. If `renovate.printconfig` is `true` the combined effective config will appear in the pod logs for each execution of Renovate.

## Redis

Expand Down

0 comments on commit bcedd51

Please sign in to comment.