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 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
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.

58 changes: 10 additions & 48 deletions charts/testkube-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,19 @@ image:
args:
- --logtostderr=true

##Proxy Image parameters
## image.registry Proxy image registry
## image.repository Proxy image name
## image.tag Proxy image tag
## image.pullPolicy Proxy Image pull policy
## image.pullSecret Proxy Image pull k8s secret name for private registries
# Proxy settings
proxy:
# Proxy Image parameters
image:
registry: gcr.io
repository: kubebuilder/kube-rbac-proxy
tag: "v0.15.0"
pullPolicy: IfNotPresent
# -- Testkube Operator rbac-proxy image registry
registry: quay.io
# -- Testkube Operator rbac-proxy image repository
repository: brancz/kube-rbac-proxy
# -- Testkube Operator rbac-proxy image tag
tag: "v0.18.1"
# -- Testkube Operator rbac-proxy k8s secret for private registries
pullSecrets: []
## Resources limits and requests for kube-rbac-proxy container
# -- Testkube Operator rbac-proxy resource settings
resources: {}

## Testkube API full name
Expand Down Expand Up @@ -310,43 +309,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