Add nodeSelector for tornjak

Tornjak only supports amd64 builds at the moment

To prevent deployment failures on clusters with arm64 nodes I have added a nodeSelector for tornjak frontend, and documentation for spire-server

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-05-16 20:20:32 +02:00
parent fc13cbd911
commit ee43c5e36f
6 changed files with 13 additions and 3 deletions
@@ -59,6 +59,7 @@ port forwarding. See the chart NOTES output for more details.
| labels | object | `{}` | |
| nameOverride | string | `""` | |
| namespaceOverride | string | `""` | |
| nodeSelector | object | `{"kubernetes.io/arch":"amd64"}` | Select specific nodes to run on (currently only amd64 is supported by Tornjak) |
| podSecurityContext | object | `{}` | |
| securityContext | object | `{}` | |
| service.annotations | object | `{}` | |
@@ -51,6 +51,10 @@ spec:
volumeMounts:
- name: cache
mountPath: /usr/src/app/node_modules/.cache
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: cache
emptyDir: {}
@@ -41,6 +41,10 @@ service:
port: 3000
annotations: {}
# -- Select specific nodes to run on (currently only amd64 is supported by Tornjak)
nodeSelector:
kubernetes.io/arch: amd64
# -- Provide minimal resources to prevent accidental crashes due to resource exhaustion
# resources:
# requests:
@@ -59,4 +63,3 @@ apiServerURL: "http://localhost:10000/" # 👈 Use it for minikube or kind
spireHealthCheck:
# -- Enables the SPIRE Healthchecker indicator
enabled: true