[chart] Add missing selectors

Change-Id: I511455b7733498b0fda3a180838906ee68e957b0
This commit is contained in:
Radosław Piliszek 2024-04-19 12:50:38 +02:00
parent 69c5363f76
commit 064773fbd7
2 changed files with 24 additions and 0 deletions
charts/nebulous-cloud-fog-service-broker/templates

@ -40,6 +40,18 @@ spec:
mountPath: /var/lib/postgresql/data/
- name: init-script
mountPath: /docker-entrypoint-initdb.d
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
---

@ -26,6 +26,18 @@ spec:
value: {{ .Values.env.backendHost }}
- name: VITE_BACKEND_URL
value: {{ .Values.env.backendHost }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
---
apiVersion: v1
kind: Service