Add topologySpreadConstraints to helm chart (#569)
This commit adds the ability to use topologySpreadConstraints in the helm chart by populating either one or both of topologySpreadConstraints and githubWebhookServer.topologySpreadConstraints values. See the official docs: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ Resolves #567
This commit is contained in:
		
							parent
							
								
									39d37a7d28
								
							
						
					
					
						commit
						c09d6075c6
					
				|  | @ -137,3 +137,7 @@ spec: | ||||||
|       tolerations: |       tolerations: | ||||||
|         {{- toYaml . | nindent 8 }} |         {{- toYaml . | nindent 8 }} | ||||||
|       {{- end }} |       {{- end }} | ||||||
|  |       {{- with .Values.topologySpreadConstraints }} | ||||||
|  |       topologySpreadConstraints: | ||||||
|  |         {{- toYaml . | nindent 8 }} | ||||||
|  |       {{- end }} | ||||||
|  |  | ||||||
|  | @ -89,4 +89,8 @@ spec: | ||||||
|       tolerations: |       tolerations: | ||||||
|         {{- toYaml . | nindent 8 }} |         {{- toYaml . | nindent 8 }} | ||||||
|       {{- end }} |       {{- end }} | ||||||
|  |       {{- with .Values.githubWebhookServer.topologySpreadConstraints }} | ||||||
|  |       topologySpreadConstraints: | ||||||
|  |         {{- toYaml . | nindent 8 }} | ||||||
|  |       {{- end }} | ||||||
| {{- end }} | {{- end }} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue