adding resources and tolerations to Argo-events
This commit is contained in:
parent
820420ef01
commit
153455082c
3 changed files with 36 additions and 0 deletions
|
@ -31,3 +31,17 @@ spec:
|
|||
fieldPath: metadata.namespace
|
||||
- name: GATEWAY_CONTROLLER_CONFIG_MAP
|
||||
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,17 @@ spec:
|
|||
fieldPath: metadata.namespace
|
||||
- name: SENSOR_CONFIG_MAP
|
||||
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 }}
|
||||
|
|
|
@ -28,9 +28,17 @@ sensorController:
|
|||
image: sensor-controller
|
||||
tag: v0.11
|
||||
replicaCount: 1
|
||||
resources: {}
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
gatewayController:
|
||||
name: gateway-controller
|
||||
image: gateway-controller
|
||||
tag: v0.11
|
||||
replicaCount: 1
|
||||
resources: {}
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
|
Loading…
Reference in a new issue