feat(argo-events): Add the ability to change the port for argo-events webhook (#1712)
This commit is contained in:
parent
9e523b0538
commit
69feaadde7
4 changed files with 9 additions and 3 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
appVersion: v1.7.3
|
||||
description: A Helm chart for Argo Events, the event-driven workflow automation framework
|
||||
name: argo-events
|
||||
version: 2.0.8
|
||||
version: 2.0.9
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argoproj.github.io/argo-events/assets/logo.png
|
||||
keywords:
|
||||
|
@ -15,4 +15,4 @@ maintainers:
|
|||
url: https://argoproj.github.io/
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- "[Fixed]: use policy/v1 for poddisruptionbudgets, when available
|
||||
- "[Added]: Ability to specify port for webhook deployment"
|
||||
|
|
|
@ -155,6 +155,7 @@ done
|
|||
| webhook.pdb.labels | object | `{}` | Labels to be added to admission webhook pdb |
|
||||
| webhook.podAnnotations | object | `{}` | Annotations to be added to event controller pods |
|
||||
| webhook.podLabels | object | `{}` | Labels to be added to event controller pods |
|
||||
| webhook.port | int | `443` | Port to listen on |
|
||||
| webhook.priorityClassName | string | `""` | Priority class for the event controller pods |
|
||||
| webhook.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||
| webhook.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||
|
|
|
@ -50,6 +50,8 @@ spec:
|
|||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: PORT
|
||||
value: "{{ .Values.webhook.port }}"
|
||||
{{- with .Values.webhook.env }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
@ -63,7 +65,7 @@ spec:
|
|||
{{- end }}
|
||||
ports:
|
||||
- name: webhook
|
||||
containerPort: 443
|
||||
containerPort: {{ .Values.webhook.port }}
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
|
|
|
@ -315,6 +315,9 @@ webhook:
|
|||
# -- Labels to be added to event controller pods
|
||||
podLabels: {}
|
||||
|
||||
# -- Port to listen on
|
||||
port: 443
|
||||
|
||||
# -- Event controller container-level security context
|
||||
containerSecurityContext: {}
|
||||
# capabilities:
|
||||
|
|
Loading…
Reference in a new issue