Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[breaking change] Add pre-upgrade hook for setup" #357

Merged
merged 1 commit into from
Jan 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,27 @@ sumologic:
setup:
clusterRole:
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-weight: "1"
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
clusterRoleBinding:
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-weight: "2"
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
configMap:
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-weight: "2"
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
job:
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-weight: "3"
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
serviceAccount:
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-weight: "0"
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded

Expand Down
10 changes: 5 additions & 5 deletions deploy/kubernetes/setup-sumologic.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ kind: ConfigMap
metadata:
name: collection-sumologic-setup
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
helm.sh/hook-weight: "2"

Expand Down Expand Up @@ -175,7 +175,7 @@ kind: ServiceAccount
metadata:
name: collection-sumologic-setup
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
helm.sh/hook-weight: "0"

Expand All @@ -191,7 +191,7 @@ kind: ClusterRole
metadata:
name: collection-sumologic-setup
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
helm.sh/hook-weight: "1"

Expand All @@ -214,7 +214,7 @@ kind: ClusterRoleBinding
metadata:
name: collection-sumologic-setup
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
helm.sh/hook-weight: "2"

Expand All @@ -239,7 +239,7 @@ metadata:
name: collection-sumologic-setup
namespace: $NAMESPACE
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook: pre-install
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
helm.sh/hook-weight: "3"

Expand Down