fix(forgejo-runner): do not delete config secret (hook with resource-policy only delete)
This commit is contained in:
parent
69bf19be1e
commit
a6ab540830
3 changed files with 6 additions and 5 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: forgejo-runner
|
||||
description: Deploy runner for an forgejo instance (default codeberg.org)
|
||||
type: application
|
||||
version: 0.2.13
|
||||
version: 0.2.14
|
||||
# renovate: image=code.forgejo.org/forgejo/runner
|
||||
appVersion: "3.5.1"
|
||||
maintainers:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
= forgejo-runner
|
||||
|
||||
image::https://img.shields.io/badge/Version-0.2.13-informational?style=flat-square[Version: 0.2.13]
|
||||
image::https://img.shields.io/badge/Version-0.2.14-informational?style=flat-square[Version: 0.2.14]
|
||||
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
||||
image::https://img.shields.io/badge/AppVersion-3.5.1-informational?style=flat-square[AppVersion: 3.5.1]
|
||||
== Maintainers
|
||||
|
|
|
@ -56,12 +56,13 @@ subjects:
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
name: {{ $secretName }}
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
"helm.sh/hook": "pre-install,pre-upgrade"
|
||||
type: Opaque
|
||||
"helm.sh/resource-policy": keep
|
||||
"helm.sh/hook-delete-policy": "hook-failed"
|
||||
"helm.sh/hook": "pre-install"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
|
Loading…
Add table
Reference in a new issue