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
|
appVersion: v1.7.3
|
||||||
description: A Helm chart for Argo Events, the event-driven workflow automation framework
|
description: A Helm chart for Argo Events, the event-driven workflow automation framework
|
||||||
name: argo-events
|
name: argo-events
|
||||||
version: 2.0.8
|
version: 2.0.9
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-events/assets/logo.png
|
icon: https://argoproj.github.io/argo-events/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -15,4 +15,4 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
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.pdb.labels | object | `{}` | Labels to be added to admission webhook pdb |
|
||||||
| webhook.podAnnotations | object | `{}` | Annotations to be added to event controller pods |
|
| webhook.podAnnotations | object | `{}` | Annotations to be added to event controller pods |
|
||||||
| webhook.podLabels | object | `{}` | Labels 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.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.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 |
|
| webhook.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
|
|
@ -50,6 +50,8 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
|
- name: PORT
|
||||||
|
value: "{{ .Values.webhook.port }}"
|
||||||
{{- with .Values.webhook.env }}
|
{{- with .Values.webhook.env }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -63,7 +65,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: webhook
|
- name: webhook
|
||||||
containerPort: 443
|
containerPort: {{ .Values.webhook.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
|
|
|
@ -315,6 +315,9 @@ webhook:
|
||||||
# -- Labels to be added to event controller pods
|
# -- Labels to be added to event controller pods
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
|
||||||
|
# -- Port to listen on
|
||||||
|
port: 443
|
||||||
|
|
||||||
# -- Event controller container-level security context
|
# -- Event controller container-level security context
|
||||||
containerSecurityContext: {}
|
containerSecurityContext: {}
|
||||||
# capabilities:
|
# capabilities:
|
||||||
|
|
Loading…
Reference in a new issue