Skip to content

Commit 08e12e5

Browse files
committed
clean superset init pods when succeeding
1 parent 4cdb9e1 commit 08e12e5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

charts/superset/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 0.1.1
25+
version: 0.1.2
2626

2727
# This is the version number of the application being deployed. This version number should be
2828
# incremented each time you make changes to the application. Versions are not expected to

charts/superset/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ superset:
3333
superset import_datasources -p {{ .Values.extraConfigMountPath }}/import_datasources.yaml
3434
fi
3535
fi
36+
jobAnnotations:
37+
"helm.sh/hook": post-install,post-upgrade
38+
"helm.sh/hook-delete-policy": "before-hook-creation, hook-succeeded"
3639

3740
configOverrides:
3841
secret: |

0 commit comments

Comments
 (0)