Skip to content

Commit

Permalink
Removed the topologySperadConstraints from statefulset templates
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetaljoshi committed Nov 7, 2024
1 parent db5331f commit 162ebdd
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ spec:
labels:
{{- include "carts.dynamodb.selectorLabels" . | nindent 8 }}
spec:
{{- with .carts.dynamodb.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 0 additions & 2 deletions deploy/kubernetes/charts/carts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ dynamodb:

affinity: {}

topologySpreadConstraints: []

opentelemetry:
enabled: false
instrumentation: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ spec:
labels:
{{- include "catalog.mysql.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.mysql.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 0 additions & 2 deletions deploy/kubernetes/charts/catalog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ mysql:

affinity: {}

topologySpreadConstraints: []

persistentVolume:
enabled: true
annotations: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ spec:
labels:
{{- include "checkout.redis.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.redis.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 0 additions & 2 deletions deploy/kubernetes/charts/checkout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ redis:

affinity: {}

topologySpreadConstraints: []

securityGroups:
create: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ spec:
labels:
{{- include "orders.postgresql.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.postgresql.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ spec:
labels:
{{- include "orders.rabbitmq.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.rabbitmq.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 0 additions & 4 deletions deploy/kubernetes/charts/orders/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ postgresql:

affinity: {}

topologySpreadConstraints: []

persistentVolume:
enabled: false
annotations: {}
Expand Down Expand Up @@ -154,8 +152,6 @@ rabbitmq:

affinity: {}

topologySpreadConstraints: []

persistentVolume:
enabled: false
annotations: {}
Expand Down

0 comments on commit 162ebdd

Please sign in to comment.