Skip to content

Commit

Permalink
clean superset init pods when succeeding
Browse files Browse the repository at this point in the history
  • Loading branch information
ihiverlet committed Apr 12, 2024
1 parent 4cdb9e1 commit 08e12e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/superset/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions charts/superset/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ superset:
superset import_datasources -p {{ .Values.extraConfigMountPath }}/import_datasources.yaml
fi
fi
jobAnnotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": "before-hook-creation, hook-succeeded"

configOverrides:
secret: |
Expand Down

0 comments on commit 08e12e5

Please sign in to comment.