mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-22 01:17:16 +00:00
23 lines
501 B
YAML
23 lines
501 B
YAML
|
|
kind: NetworkPolicy
|
||
|
|
apiVersion: networking.k8s.io/v1
|
||
|
|
metadata:
|
||
|
|
name: argocd-commit-server-network-policy
|
||
|
|
spec:
|
||
|
|
podSelector:
|
||
|
|
matchLabels:
|
||
|
|
app.kubernetes.io/name: argocd-commit-server
|
||
|
|
policyTypes:
|
||
|
|
- Ingress
|
||
|
|
ingress:
|
||
|
|
- from:
|
||
|
|
- podSelector:
|
||
|
|
matchLabels:
|
||
|
|
app.kubernetes.io/name: argocd-application-controller
|
||
|
|
ports:
|
||
|
|
- protocol: TCP
|
||
|
|
port: 8086
|
||
|
|
- from:
|
||
|
|
- namespaceSelector: { }
|
||
|
|
ports:
|
||
|
|
- port: 8087
|