Skip to content

Commit

Permalink
fix: remove nats preupgrade hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ed382 committed Oct 21, 2024
1 parent 991ce22 commit 00acc8f
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 304 deletions.
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.

38 changes: 0 additions & 38 deletions charts/testkube/values-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,44 +109,6 @@ mongodb:
updateStrategy:
type: Recreate

# -- NATS pre-upgrade parameters
preUpgradeHookNATS:
# -- Upgrade hook is enabled
enabled: true
# -- Upgrade hook name
name: nats-upgrade
## -- TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution, specified in seconds
ttlSecondsAfterFinished: 100
## -- Specific labels
labels: {}
## -- Annotations to add to the upgrade Job
annotations: {}
## -- Annotations to add to the upgrade Job's pod
podAnnotations: {}
# -- 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
# -- Node labels for pod assignment.
nodeSelector: {}
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
# -- MongoDB 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 MongoDB Upgrade kubectl container
securityContext: {}
# 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: []

# -- NATS chart parameters
nats:
# NATS container settings
Expand Down
37 changes: 0 additions & 37 deletions charts/testkube/values-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,43 +111,6 @@ mongodb:
updateStrategy:
type: Recreate

# -- NATS pre-upgrade parameters
preUpgradeHookNATS:
# -- Upgrade hook is enabled
enabled: true
# -- Upgrade hook name
name: nats-upgrade
## -- TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution, specified in seconds
ttlSecondsAfterFinished: 100
## -- Specific labels
labels: {}
## -- Annotations to add to the upgrade Job
annotations: {}
## -- Annotations to add to the upgrade Job's pod
podAnnotations: {}
# -- 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
# -- Node labels for pod assignment.
nodeSelector: {}
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
# -- MongoDB 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 MongoDB Upgrade kubectl container
securityContext: {}
# 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: []
# NATS values
nats:
# NATS container settings
Expand Down
40 changes: 1 addition & 39 deletions charts/testkube/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,44 +115,6 @@ testkube-logs:
nameOverride: logs
nodeSelector: {}

# -- NATS pre-upgrade parameters
preUpgradeHookNATS:
# -- Upgrade hook is enabled
enabled: true
# -- Upgrade hook name
name: nats-upgrade
## -- TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution, specified in seconds
ttlSecondsAfterFinished: 100
## -- Specific labels
labels: {}
## -- Annotations to add to the upgrade Job
annotations: {}
## -- Annotations to add to the upgrade Job's pod
podAnnotations: {}
# -- 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
# -- Node labels for pod assignment.
nodeSelector: {}
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
# -- MongoDB 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 MongoDB Upgrade kubectl container
securityContext: {}
# 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: []

nats:
podTemplate:
merge:
Expand Down Expand Up @@ -380,4 +342,4 @@ testkube-operator:
testConnection:
enabled: true

nodeSelector: {}
nodeSelector: {}
38 changes: 0 additions & 38 deletions charts/testkube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,44 +103,6 @@ preUpgradeHook:
# -- Tolerations to schedule a workload to nodes with any architecture type. Required for deployment to GKE cluster.
tolerations: []

# -- NATS pre-upgrade parameters
preUpgradeHookNATS:
# -- Upgrade hook is enabled
enabled: true
# -- Upgrade hook name
name: nats-upgrade
## -- TTL (time to live) mechanism to limit the lifetime of Job objects that have finished execution, specified in seconds
ttlSecondsAfterFinished: 100
## -- Specific labels
labels: {}
## -- Annotations to add to the upgrade Job
annotations: {}
## -- Annotations to add to the upgrade Job's pod
podAnnotations: {}
# -- 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
# -- Node labels for pod assignment.
nodeSelector: {}
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
# -- MongoDB 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 MongoDB Upgrade kubectl container
securityContext: {}
# 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: []

# MongoDB parameters
# For more configuration parameters of MongoDB chart please look here: https://github.com/bitnami/charts/tree/master/bitnami/mongodb#parameters
mongodb:
Expand Down

0 comments on commit 00acc8f

Please sign in to comment.