@@ -96,6 +96,17 @@ service:
9696 # # @param service.annotations Additional custom annotations for haproxy service
9797 # #
9898 annotations : {}
99+ # # @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
100+ # # If "ClientIP", consecutive client requests will be directed to the same mongos Pod
101+ # # ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
102+ # #
103+ sessionAffinity : None
104+ # # @param service.sessionAffinityConfig Additional settings for the sessionAffinity
105+ # # sessionAffinityConfig:
106+ # # clientIP:
107+ # # timeoutSeconds: 300
108+ # #
109+ sessionAffinityConfig : {}
99110 # # @param service.labels Additional custom labels for haproxy service
100111 # #
101112 labels : {}
@@ -130,6 +141,20 @@ image:
130141replicaCount : 1
131142# # Configure extra options for haproxy containers' liveness and readiness probes
132143# # ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
144+ # # @param startupProbe.enabled Enable startupProbe on haproxy nodes
145+ # # @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
146+ # # @param startupProbe.periodSeconds Period seconds for startupProbe
147+ # # @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
148+ # # @param startupProbe.failureThreshold Failure threshold for startupProbe
149+ # # @param startupProbe.successThreshold Success threshold for startupProbe
150+ # #
151+ startupProbe :
152+ enabled : false
153+ failureThreshold : 5
154+ initialDelaySeconds : 15
155+ periodSeconds : 10
156+ successThreshold : 1
157+ timeoutSeconds : 5
133158# # @param livenessProbe.enabled Enable livenessProbe on haproxy nodes
134159# # @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
135160# # @param livenessProbe.periodSeconds Period seconds for livenessProbe
@@ -158,6 +183,9 @@ readinessProbe:
158183 periodSeconds : 10
159184 successThreshold : 1
160185 timeoutSeconds : 5
186+ # # @param customStartupProbe Custom startupProbe that overrides the default one
187+ # #
188+ customStartupProbe : {}
161189# # @param customLivenessProbe Custom livenessProbe that overrides the default one
162190# #
163191customLivenessProbe : {}
@@ -184,10 +212,12 @@ podSecurityContext:
184212# # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
185213# # @param containerSecurityContext.enabled Enabled haproxy containers' Security Context
186214# # @param containerSecurityContext.runAsUser Set haproxy containers' Security Context runAsUser
215+ # # @param containerSecurityContext.runAsNonRoot Set haproxy container's Security Context runAsNonRoot
187216# #
188217containerSecurityContext :
189218 enabled : true
190219 runAsUser : 1001
220+ runAsNonRoot : true
191221
192222# # HAProxy Pod Disruption Budget configuration
193223# # ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
@@ -300,6 +330,15 @@ nodeSelector: {}
300330# # ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
301331# #
302332tolerations : []
333+ # # @param schedulerName Name of the k8s scheduler (other than default)
334+ # # ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
335+ # #
336+ schedulerName : " "
337+ # # @param topologySpreadConstraints Topology Spread Constraints for pod assignment
338+ # # https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
339+ # # The value is evaluated as a template
340+ # #
341+ topologySpreadConstraints : []
303342# # @param updateStrategy.type haproxy statefulset strategy type
304343# # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
305344# #
@@ -359,6 +398,11 @@ initContainers: []
359398# #
360399
361400# # ServiceAccount configuration
401+ # # ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
402+ # # @param serviceAccount.create Specifies whether a ServiceAccount should be created
403+ # # @param serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
404+ # # @param serviceAccount.automountServiceAccountToken Automount service account token for the server service account
405+ # # @param serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
362406# #
363407serviceAccount :
364408 # # @param serviceAccount.create Specifies whether a ServiceAccount should be created
@@ -368,3 +412,5 @@ serviceAccount:
368412 # # If not set and create is true, a name is generated using the common.names.fullname template
369413 # #
370414 name : " "
415+ automountServiceAccountToken : true
416+ annotations : {}
0 commit comments