From 43f561dd205178a075381010b94eb9a8b6aea91e Mon Sep 17 00:00:00 2001 From: Sagar2366 Date: Mon, 26 Sep 2022 19:57:22 +0530 Subject: [PATCH 1/2] Remove git hooks from bety helm chart --- templates/hooks/add-user.yaml | 6 +++--- templates/hooks/load-db.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/hooks/add-user.yaml b/templates/hooks/add-user.yaml index df160cbe..14b7e0ea 100644 --- a/templates/hooks/add-user.yaml +++ b/templates/hooks/add-user.yaml @@ -13,9 +13,9 @@ metadata: # This is what defines this resource as a hook. Without this line, the # job is considered part of the release. # TODO once we have RBAC we can use initContainers to wait for a job - "helm.sh/hook": "post-install" - "helm.sh/hook-delete-policy": "pre-delete" - "helm.sh/hook-weight": "10" + #"helm.sh/hook": "post-install" + #"helm.sh/hook-delete-policy": "pre-delete" + #"helm.sh/hook-weight": "10" spec: template: metadata: diff --git a/templates/hooks/load-db.yaml b/templates/hooks/load-db.yaml index e6e244db..ee9d024b 100644 --- a/templates/hooks/load-db.yaml +++ b/templates/hooks/load-db.yaml @@ -8,9 +8,9 @@ metadata: annotations: # This is what defines this resource as a hook. Without this line, the # job is considered part of the release. - "helm.sh/hook": "post-install" - "helm.sh/hook-delete-policy": "pre-delete" - "helm.sh/hook-weight": "5" + #"helm.sh/hook": "post-install" + #"helm.sh/hook-delete-policy": "pre-delete" + #"helm.sh/hook-weight": "5" spec: template: metadata: From 72fdbb568d81106dd2fc8fc81ffe8c1fe50a6302 Mon Sep 17 00:00:00 2001 From: Sagar236 Date: Mon, 26 Sep 2022 20:09:09 +0530 Subject: [PATCH 2/2] Remove git hooks from bety helm chart --- Chart.yaml | 7 +++++-- README.md | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 2a163901..c801c7be 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -12,12 +12,12 @@ description: > # 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.5.4 +version: 0.5.5 # 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 # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: "5.4.1" +appVersion: "5.4.2" # List of people that maintain this helm chart. maintainers: @@ -25,6 +25,8 @@ maintainers: email: kooper@illinois.edu - name: Aju Tamang email: aju.775401@ac.tu.edu.np + - name: Sagar Utekar + email: sagarutekar2366@gmail.com # location of source code sources: @@ -44,3 +46,4 @@ annotations: url: https://github.com/pecanproject/bety-helm artifacthub.io/changes: | - back to hooks since job completion requires RBAC role + - Removing hook backs for helm chart to run faster diff --git a/README.md b/README.md index 32488c9e..7da87c1f 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,9 @@ The command removes all the Kubernetes components associated with the chart and ## ChangeLog +### 0.5.5 +- Removing hooks to run helm chart quicker + ### 0.5.4 - back to hooks since job completion requires RBAC role