Skip to content

Commit

Permalink
feat(argo-events): Ability to specify custom env variables (#516)
Browse files Browse the repository at this point in the history
* feat(argo-events): Add debugLogging value for controller components

Signed-off-by: Calum MacRae <hi@cmacr.ae>

* fix: quote strings

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Rework to generic extraEnv

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Fix chart icon url

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
  • Loading branch information
cmacrae and mkilchhofer authored Aug 7, 2021
1 parent c043eb2 commit b862c62
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
7 changes: 4 additions & 3 deletions charts/argo-events/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: A Helm chart to install Argo-Events in k8s Cluster
name: argo-events
version: 1.6.4
version: 1.7.0
keywords:
- argo-events
- sensor-controller
Expand All @@ -13,8 +13,9 @@ maintainers:
- name: VaibhavPage
- name: whynowy
appVersion: 1.3.1
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
icon: https://argoproj.github.io/argo-events/assets/logo.png
home: https://github.com/argoproj/argo-helm
annotations:
artifacthub.io/changes: |
- "[Added]: Initialize Changelog"
- "[Added]: Ability to specify additional/custom environment variables"
- "[Fixed]: Charts icon url"
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ spec:
- --namespaced
{{- end }}
env:
{{- with .Values.eventbusController.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
- name: NAMESPACE
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ spec:
- --namespaced
{{- end }}
env:
{{- with .Values.eventsourceController.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
- name: NAMESPACE
valueFrom:
fieldRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ spec:
- --namespaced
{{- end }}
env:
{{- with .Values.sensorController.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
- name: NAMESPACE
valueFrom:
fieldRef:
Expand Down
9 changes: 9 additions & 0 deletions charts/argo-events/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ sensorController:
image: argoproj/sensor-controller
tag: v1.3.1
replicaCount: 1
extraEnv: []
# - name: DEBUG_LOG
# value: "true"
sensorImage: argoproj/sensor
podAnnotations: {}
nodeSelector: {}
Expand All @@ -61,6 +64,9 @@ eventsourceController:
image: argoproj/eventsource-controller
tag: v1.3.1
replicaCount: 1
extraEnv: []
# - name: DEBUG_LOG
# value: "true"
eventsourceImage: argoproj/eventsource
podAnnotations: {}
nodeSelector: {}
Expand All @@ -75,6 +81,9 @@ eventbusController:
image: argoproj/eventbus-controller
tag: v1.3.1
replicaCount: 1
extraEnv: []
# - name: DEBUG_LOG
# value: "true"
podAnnotations: {}
nodeSelector: {}
podLabels: {}
Expand Down

0 comments on commit b862c62

Please sign in to comment.