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
|
name: forgejo-runner
|
||||||
description: Deploy runner for an forgejo instance (default codeberg.org)
|
description: Deploy runner for an forgejo instance (default codeberg.org)
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.13
|
version: 0.2.14
|
||||||
# renovate: image=code.forgejo.org/forgejo/runner
|
# renovate: image=code.forgejo.org/forgejo/runner
|
||||||
appVersion: "3.5.1"
|
appVersion: "3.5.1"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
= forgejo-runner
|
= 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/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]
|
image::https://img.shields.io/badge/AppVersion-3.5.1-informational?style=flat-square[AppVersion: 3.5.1]
|
||||||
== Maintainers
|
== Maintainers
|
||||||
|
|
|
@ -56,12 +56,13 @@ subjects:
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
|
type: Opaque
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $secretName }}
|
name: {{ $secretName }}
|
||||||
annotations:
|
annotations:
|
||||||
helm.sh/resource-policy: keep
|
"helm.sh/resource-policy": keep
|
||||||
"helm.sh/hook": "pre-install,pre-upgrade"
|
"helm.sh/hook-delete-policy": "hook-failed"
|
||||||
type: Opaque
|
"helm.sh/hook": "pre-install"
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
|
|
Loading…
Add table
Reference in a new issue