fix(forgejo-runner): update kubectl + adjust hook for cleanup of job
This commit is contained in:
parent
8e4e6de638
commit
0c068f9b5a
3 changed files with 5 additions and 3 deletions
|
@ -2,6 +2,6 @@ apiVersion: v2
|
|||
name: forgejo-runner
|
||||
description: Deploy runner for an forgejo instance (default codeberg.org)
|
||||
type: application
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
|
||||
appVersion: "3.2.0"
|
||||
|
|
|
@ -62,6 +62,8 @@ metadata:
|
|||
{{- include "forgejo-runner.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
config-hash: {{ toYaml .Values.runner.config | sha256sum }}
|
||||
"helm.sh/hook": "pre-install,pre-upgrade"
|
||||
"helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
|
||||
stringData:
|
||||
CONFIG_NAME: {{ .Values.runner.config.name | quote }}
|
||||
CONFIG_INSTANCE: {{ .Values.runner.config.instance | quote }}
|
||||
|
@ -74,7 +76,7 @@ metadata:
|
|||
labels:
|
||||
{{- include "forgejo-runner.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
"helm.sh/hook": "post-install,post-upgrade"
|
||||
"helm.sh/hook": "pre-install,pre-upgrade"
|
||||
"helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
|
||||
spec:
|
||||
template:
|
||||
|
|
|
@ -36,7 +36,7 @@ kubectl:
|
|||
registry: docker.io
|
||||
repository: bitnami/kubectl
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 1.27.7
|
||||
tag: 1.28.5
|
||||
|
||||
serviceAccount:
|
||||
# Specifies whether a service account should be created
|
||||
|
|
Loading…
Add table
Reference in a new issue