Ability to allocate resources for the gateway controller and sensor-controller

This commit is contained in:
Daniel Nenkov 2020-04-30 11:27:49 +01:00
parent c2d9c81258
commit fa512cd121
3 changed files with 6 additions and 1 deletions

View file

@ -31,3 +31,5 @@ spec:
fieldPath: metadata.namespace
- name: CONTROLLER_CONFIG_MAP
value: {{ .Release.Name }}-{{ .Values.gatewayController.name }}-configmap
resources:
{{- toYaml .Values.gatewayController.resources | nindent 12 }}

View file

@ -31,3 +31,5 @@ spec:
fieldPath: metadata.namespace
- name: CONTROLLER_CONFIG_MAP
value: {{ .Release.Name }}-{{ .Values.sensorController.name }}-configmap
resources:
{{- toYaml .Values.sensorController.resources | nindent 12 }}

View file

@ -35,7 +35,6 @@ instanceID: argo-events
# set `singleNamespace` to false to have the controllers
# listen on all namespaces. Otherwise the controllers will listen
# on the namespace provided
namespace: argo-events
singleNamespace: true
# sensor controller
@ -44,9 +43,11 @@ sensorController:
image: sensor-controller
tag: v0.14.0
replicaCount: 1
resources: {}
gatewayController:
name: gateway-controller
image: gateway-controller
tag: v0.14.0
replicaCount: 1
resources: {}