Skip to content

Commit 69feaad

Browse files
authored
feat(argo-events): Add the ability to change the port for argo-events webhook (argoproj#1712)
1 parent 9e523b0 commit 69feaad

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

charts/argo-events/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: v1.7.3
33
description: A Helm chart for Argo Events, the event-driven workflow automation framework
44
name: argo-events
5-
version: 2.0.8
5+
version: 2.0.9
66
home: https://github.com/argoproj/argo-helm
77
icon: https://argoproj.github.io/argo-events/assets/logo.png
88
keywords:
@@ -15,4 +15,4 @@ maintainers:
1515
url: https://argoproj.github.io/
1616
annotations:
1717
artifacthub.io/changes: |
18-
- "[Fixed]: use policy/v1 for poddisruptionbudgets, when available
18+
- "[Added]: Ability to specify port for webhook deployment"

charts/argo-events/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ done
155155
| webhook.pdb.labels | object | `{}` | Labels to be added to admission webhook pdb |
156156
| webhook.podAnnotations | object | `{}` | Annotations to be added to event controller pods |
157157
| webhook.podLabels | object | `{}` | Labels to be added to event controller pods |
158+
| webhook.port | int | `443` | Port to listen on |
158159
| webhook.priorityClassName | string | `""` | Priority class for the event controller pods |
159160
| webhook.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
160161
| webhook.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |

charts/argo-events/templates/argo-events-webhook/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ spec:
5050
valueFrom:
5151
fieldRef:
5252
fieldPath: metadata.namespace
53+
- name: PORT
54+
value: "{{ .Values.webhook.port }}"
5355
{{- with .Values.webhook.env }}
5456
{{- toYaml . | nindent 8 }}
5557
{{- end }}
@@ -63,7 +65,7 @@ spec:
6365
{{- end }}
6466
ports:
6567
- name: webhook
66-
containerPort: 443
68+
containerPort: {{ .Values.webhook.port }}
6769
protocol: TCP
6870
livenessProbe:
6971
tcpSocket:

charts/argo-events/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@ webhook:
315315
# -- Labels to be added to event controller pods
316316
podLabels: {}
317317

318+
# -- Port to listen on
319+
port: 443
320+
318321
# -- Event controller container-level security context
319322
containerSecurityContext: {}
320323
# capabilities:

0 commit comments

Comments
 (0)