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

fix: remove pre upgrade hooks #952

Merged
merged 4 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
48 changes: 0 additions & 48 deletions charts/testkube-operator/templates/pre-upgrade-sa.yaml

This file was deleted.

96 changes: 0 additions & 96 deletions charts/testkube-operator/templates/pre-upgrade.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions charts/testkube-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,43 +310,6 @@ priorityClassName: ""
testConnection:
enabled: false

preUpgrade:
# -- Upgrade hook is enabled
enabled: true
# -- Specify image parameters
image:
registry: docker.io
repository: bitnami/kubectl
tag: 1.28.2
pullPolicy: IfNotPresent
pullSecrets: []
# -- Specify resource limits and requests
resources: {}
# -- Create SA for upgrade hook
serviceAccount:
create: true
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
# -- Upgrade Pod Security Context
podSecurityContext: {}
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
# -- Security Context for Upgrade kubectl container
securityContext: {}
## -- Specific labels
labels: {}
## -- Annotations to add to the upgrade Job
annotations: {}
## -- Annotations to add to the upgrade Job's Pod
podAnnotations: {}
# ref: https://cloud.google.com/kubernetes-engine/docs/how-to/prepare-arm-workloads-for-deployment#node-affinity-multi-arch-arm
# -- Tolerations to schedule a workload to nodes with any architecture type. Required for deployment to GKE cluster.
tolerations:
- key: kubernetes.io/arch
operator: Equal
value: arm64
effect: NoSchedule
## Node labels for Testkube Logs pod assignment.
nodeSelector: {}

## Affinity for pre-upgrade job
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
Expand Down
95 changes: 0 additions & 95 deletions charts/testkube/templates/pre-upgrade-nats.yaml

This file was deleted.

57 changes: 0 additions & 57 deletions charts/testkube/templates/pre-upgrade-sa-nats.yaml

This file was deleted.

Loading
Loading