fix: use config.json as default and bump to v31
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a13fe1d506
commit
a3d1eb7cd9
@ -3,7 +3,7 @@ name: renovate
|
||||
description: Helm chart for renovate bot
|
||||
type: application
|
||||
version: 0.2.0
|
||||
appVersion: "29.14.0-slim"
|
||||
appVersion: "31.11.2-slim"
|
||||
icon: https://avatars3.githubusercontent.com/u/38656520?s=400&v=4
|
||||
|
||||
keywords:
|
||||
|
@ -10,6 +10,11 @@ data:
|
||||
{{- $_ := set .Values "env" dict -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if not (hasKey .Values.renovate.env "RENOVATE_CONFIG_FILE") -}}
|
||||
{{- $configFile := printf "/usr/src/app/config.%s" .Values.renovate.appConfig.extension -}}
|
||||
{{- $_ := set .Values.renovate.env "RENOVATE_CONFIG_FILE" $configFile -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* SETUP CONFIG */}}
|
||||
{{ range $key, $value := .Values.renovate.env }}
|
||||
{{ upper $key}}: {{ quote $value }}
|
||||
|
@ -52,10 +52,10 @@ spec:
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 16 }}
|
||||
volumeMounts:
|
||||
{{- if .Values.renovate.appConfig }}
|
||||
{{- if .Values.renovate.appConfig.content }}
|
||||
- name: app-config
|
||||
mountPath: /usr/src/app/config.json
|
||||
subPath: config.json
|
||||
mountPath: {{ printf "/usr/src/app/config.%s" .Values.renovate.appConfig.extension }}
|
||||
subPath: config
|
||||
{{- end }}
|
||||
{{- if .Values.renovate.sshConfig.enabled }}
|
||||
- name: ssh-config
|
||||
|
@ -19,7 +19,7 @@ stringData:
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.renovate.appConfig }}
|
||||
{{- if .Values.renovate.appConfig.content }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
@ -29,7 +29,7 @@ metadata:
|
||||
{{- include "renovate.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
stringData:
|
||||
config.json: {{ .Values.renovate.appConfig | quote }}
|
||||
config: {{ .Values.renovate.appConfig.content | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.renovate.sshConfig.enabled }}
|
||||
|
@ -74,7 +74,9 @@ renovate:
|
||||
# GITHUB_COM_TOKEN
|
||||
# https://github.com/renovatebot/renovate/blob/main/docs/usage/getting-started/running.md#githubcom-token-for-release-notes
|
||||
# GITHUB_COM_TOKEN: ""
|
||||
appConfig: ''
|
||||
appConfig:
|
||||
extension: json
|
||||
content: '{}'
|
||||
sshConfig:
|
||||
enabled: false
|
||||
# existingSecret:
|
||||
|
Loading…
Reference in New Issue
Block a user