resources, tolerations
This commit is contained in:
parent
6c32fbac27
commit
869d09dc77
3 changed files with 39 additions and 0 deletions
|
@ -31,3 +31,17 @@ spec:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
- name: CONTROLLER_CONFIG_MAP
|
- name: CONTROLLER_CONFIG_MAP
|
||||||
value: {{ .Release.Name }}-{{ .Values.gatewayController.name }}-configmap
|
value: {{ .Release.Name }}-{{ .Values.gatewayController.name }}-configmap
|
||||||
|
resources:
|
||||||
|
{{ toYaml .Values.gatewayController.resources | indent 12 }}
|
||||||
|
{{- with .Values.gatewatController.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.gatewayController.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.gatewayController.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -31,3 +31,18 @@ spec:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
- name: CONTROLLER_CONFIG_MAP
|
- name: CONTROLLER_CONFIG_MAP
|
||||||
value: {{ .Release.Name }}-{{ .Values.sensorController.name }}-configmap
|
value: {{ .Release.Name }}-{{ .Values.sensorController.name }}-configmap
|
||||||
|
resources:
|
||||||
|
{{ toYaml .Values.sensorController.resources | indent 12 }}
|
||||||
|
{{- with .Values.sensorController.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.sensorController.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.sensorController.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
|
@ -44,9 +44,19 @@ sensorController:
|
||||||
image: sensor-controller
|
image: sensor-controller
|
||||||
tag: v0.14.0
|
tag: v0.14.0
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
resources: {}
|
||||||
|
nodeSelector: {}
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
|
|
||||||
|
|
||||||
gatewayController:
|
gatewayController:
|
||||||
name: gateway-controller
|
name: gateway-controller
|
||||||
image: gateway-controller
|
image: gateway-controller
|
||||||
tag: v0.14.0
|
tag: v0.14.0
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
resources: {}
|
||||||
|
nodeSelector: {}
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue