Skip to content

Commit 7933ec2

Browse files
fix(argocd-image-updater): Add webhook port to NetworkPolicy (#3681)
fix(argocd-image-updater): add webhook port to netpol Signed-off-by: William Mateille <[email protected]>
1 parent fc713f3 commit 7933ec2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

charts/argocd-image-updater/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: argocd-image-updater
33
description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD
44
type: application
5-
version: 1.0.4
5+
version: 1.0.5
66
appVersion: v1.0.2
77
home: https://github.com/argoproj-labs/argocd-image-updater
88
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
@@ -19,4 +19,4 @@ annotations:
1919
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2020
artifacthub.io/changes: |
2121
- kind: fixed
22-
description: fix ServiceMonitor target discovery
22+
description: Add webhook port to the NetworkPolicy if the ingress is enabled

charts/argocd-image-updater/templates/metrics-service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ spec:
3838
- ports:
3939
- port: metrics
4040
protocol: TCP
41+
{{- if .Values.ingress.enabled }}
42+
- port: webhook
43+
protocol: TCP
44+
{{- end }}
4145
podSelector:
4246
matchLabels:
4347
{{- include "argocd-image-updater.selectorLabels" . | nindent 6 }}

0 commit comments

Comments
 (0)