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
|
description: Helm chart for renovate bot
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.0
|
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
|
icon: https://avatars3.githubusercontent.com/u/38656520?s=400&v=4
|
||||||
|
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -10,6 +10,11 @@ data:
|
|||||||
{{- $_ := set .Values "env" dict -}}
|
{{- $_ := set .Values "env" dict -}}
|
||||||
{{- end -}}
|
{{- 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 */}}
|
{{/* SETUP CONFIG */}}
|
||||||
{{ range $key, $value := .Values.renovate.env }}
|
{{ range $key, $value := .Values.renovate.env }}
|
||||||
{{ upper $key}}: {{ quote $value }}
|
{{ upper $key}}: {{ quote $value }}
|
||||||
|
@ -52,10 +52,10 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 16 }}
|
{{- toYaml .Values.securityContext | nindent 16 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if .Values.renovate.appConfig }}
|
{{- if .Values.renovate.appConfig.content }}
|
||||||
- name: app-config
|
- name: app-config
|
||||||
mountPath: /usr/src/app/config.json
|
mountPath: {{ printf "/usr/src/app/config.%s" .Values.renovate.appConfig.extension }}
|
||||||
subPath: config.json
|
subPath: config
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.renovate.sshConfig.enabled }}
|
{{- if .Values.renovate.sshConfig.enabled }}
|
||||||
- name: ssh-config
|
- name: ssh-config
|
||||||
|
@ -19,7 +19,7 @@ stringData:
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .Values.renovate.appConfig }}
|
{{- if .Values.renovate.appConfig.content }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
@ -29,7 +29,7 @@ metadata:
|
|||||||
{{- include "renovate.labels" . | nindent 4 }}
|
{{- include "renovate.labels" . | nindent 4 }}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
config.json: {{ .Values.renovate.appConfig | quote }}
|
config: {{ .Values.renovate.appConfig.content | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .Values.renovate.sshConfig.enabled }}
|
{{- if .Values.renovate.sshConfig.enabled }}
|
||||||
|
@ -74,7 +74,9 @@ renovate:
|
|||||||
# GITHUB_COM_TOKEN
|
# GITHUB_COM_TOKEN
|
||||||
# https://github.com/renovatebot/renovate/blob/main/docs/usage/getting-started/running.md#githubcom-token-for-release-notes
|
# https://github.com/renovatebot/renovate/blob/main/docs/usage/getting-started/running.md#githubcom-token-for-release-notes
|
||||||
# GITHUB_COM_TOKEN: ""
|
# GITHUB_COM_TOKEN: ""
|
||||||
appConfig: ''
|
appConfig:
|
||||||
|
extension: json
|
||||||
|
content: '{}'
|
||||||
sshConfig:
|
sshConfig:
|
||||||
enabled: false
|
enabled: false
|
||||||
# existingSecret:
|
# existingSecret:
|
||||||
|
Loading…
Reference in New Issue
Block a user