Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
fix: Network policy allowing ArgoCD application set controller call k…
Browse files Browse the repository at this point in the history
…ubeapi (#15)
  • Loading branch information
lholota authored Aug 17, 2023
1 parent 1b853a2 commit 4d8c08b
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: {{ .Release.Name }}-applicationset-controller
namespace: {{ $.Release.Namespace }}
labels:
{{- include "common.resource-labels" . | indent 4 }}
spec:
podSelector:
matchLabels:
app.kubernetes.io/name: argocd-applicationset-controller
policyTypes:
- Ingress
- Egress
egress:
{{- include "common.egress-kubeapi" . | nindent 4 }}

0 comments on commit 4d8c08b

Please sign in to comment.