Skip to content

Commit

Permalink
fix: remove pre upgrade hook to create namespace for operator
Browse files Browse the repository at this point in the history
  • Loading branch information
ed382 committed Oct 22, 2024
1 parent 8d725af commit f90169a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 214 deletions.
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
33 changes: 0 additions & 33 deletions charts/testkube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1123,36 +1123,3 @@ testkube-operator:
# 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: []

preUpgrade:
# -- Upgrade hook is enabled
enabled: true
## -- TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution, specified in seconds
ttlSecondsAfterFinished: 100
# -- Specify image
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: []

0 comments on commit f90169a

Please sign in to comment.