Skip to content

Commit

Permalink
feat: added hook to job to delete/recreate during upgrade/rollback (#70)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Liedy <jliedy@gmail.com>
  • Loading branch information
jliedy authored Jan 10, 2024
1 parent 67b0145 commit e4377ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/openfga/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: openfga
description: A Kubernetes Helm chart for the OpenFGA project.

type: application
version: 0.1.32
version: 0.1.33
appVersion: "v1.3.10"

home: "https://openfga.github.io/helm-charts/charts/openfga"
Expand Down
1 change: 1 addition & 0 deletions charts/openfga/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ rules:
- jobs
verbs:
- get
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down
7 changes: 5 additions & 2 deletions charts/openfga/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ datastore:
image:
repository: groundnuty/k8s-wait-for
pullPolicy: Always
tag: "v1.6"
tag: "v2.0"

postgres:
## @param postgres.enabled enable the bitnami/postgresql subchart and deploy Postgres
Expand Down Expand Up @@ -257,5 +257,8 @@ affinity: {}
sidecars: []
migrate:
sidecars: []
annotations: {}
annotations:
helm.sh/hook: "post-install, post-upgrade, post-rollback, post-delete"
helm.sh/hook-weight: "-5"
helm.sh/hook-delete-policy: "before-hook-creation"
labels: {}

0 comments on commit e4377ef

Please sign in to comment.