diff --git a/charts/unleash-proxy/Chart.yaml b/charts/unleash-proxy/Chart.yaml index ce74b1b..d2db06e 100644 --- a/charts/unleash-proxy/Chart.yaml +++ b/charts/unleash-proxy/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.8.3 +version: 0.8.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/unleash-proxy/templates/deployment.yaml b/charts/unleash-proxy/templates/deployment.yaml index 3119358..5188cee 100644 --- a/charts/unleash-proxy/templates/deployment.yaml +++ b/charts/unleash-proxy/templates/deployment.yaml @@ -176,6 +176,12 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- range . }} + - {{ toYaml . | nindent 8 | trim }} + {{- end }} + {{- end }} {{- with .Values.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} diff --git a/charts/unleash-proxy/values.yaml b/charts/unleash-proxy/values.yaml index 4866bf0..e5ee70f 100644 --- a/charts/unleash-proxy/values.yaml +++ b/charts/unleash-proxy/values.yaml @@ -100,6 +100,11 @@ tolerations: [] affinity: {} +topologySpreadConstraints: {} + # - maxSkew: 1 + # topologyKey: topology.kubernetes.io/zone + # whenUnsatisfiable: DoNotSchedule + # Adds environment variables env: [] # - name: LOG_LEVEL diff --git a/charts/unleash/Chart.yaml b/charts/unleash/Chart.yaml index ee9d5b9..587f209 100644 --- a/charts/unleash/Chart.yaml +++ b/charts/unleash/Chart.yaml @@ -5,7 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg type: application -version: 5.1.3 +version: 5.1.4 appVersion: "6.0.6" diff --git a/charts/unleash/templates/deployment.yaml b/charts/unleash/templates/deployment.yaml index af4068e..36ee6b5 100644 --- a/charts/unleash/templates/deployment.yaml +++ b/charts/unleash/templates/deployment.yaml @@ -176,6 +176,12 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- range . }} + - {{ toYaml . | nindent 8 | trim }} + {{- end }} + {{- end }} {{- with .Values.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} diff --git a/charts/unleash/values.yaml b/charts/unleash/values.yaml index ce0605a..f5b788a 100644 --- a/charts/unleash/values.yaml +++ b/charts/unleash/values.yaml @@ -242,3 +242,8 @@ podDisruptionBudget: enabled: false minAvailable: maxUnavailable: 1 + +topologySpreadConstraints: {} + # - maxSkew: 1 + # topologyKey: topology.kubernetes.io/zone + # whenUnsatisfiable: DoNotSchedule