Allow to configure topologySpreadConstraints for tornjak-frontend

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-05-16 20:29:41 +02:00
parent 5cc26d3142
commit 391f093ae9
4 changed files with 8 additions and 0 deletions
+1
View File
@@ -387,5 +387,6 @@ Kubernetes: `>=1.21.0-0`
| tornjak-frontend.serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | tornjak-frontend.serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tornjak-frontend.spireHealthCheck.enabled | bool | `true` | Enables the SPIRE Healthchecker indicator | | tornjak-frontend.spireHealthCheck.enabled | bool | `true` | Enables the SPIRE Healthchecker indicator |
| tornjak-frontend.tolerations | list | `[]` | | | tornjak-frontend.tolerations | list | `[]` | |
| tornjak-frontend.topologySpreadConstraints | list | `[]` | |
---------------------------------------------- ----------------------------------------------
@@ -71,4 +71,5 @@ port forwarding. See the chart NOTES output for more details.
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| spireHealthCheck.enabled | bool | `true` | Enables the SPIRE Healthchecker indicator | | spireHealthCheck.enabled | bool | `true` | Enables the SPIRE Healthchecker indicator |
| tolerations | list | `[]` | | | tolerations | list | `[]` | |
| topologySpreadConstraints | list | `[]` | |
---------------------------------------------- ----------------------------------------------
@@ -63,6 +63,10 @@ spec:
tolerations: tolerations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes: volumes:
- name: cache - name: cache
emptyDir: {} emptyDir: {}
@@ -49,6 +49,8 @@ affinity: {}
tolerations: [] tolerations: []
topologySpreadConstraints: []
# -- Provide minimal resources to prevent accidental crashes due to resource exhaustion # -- Provide minimal resources to prevent accidental crashes due to resource exhaustion
# resources: # resources:
# requests: # requests: