mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* feat(manifests): add app.kubernetes.io lables to notifications-controller resources Added to any notifications-controller resources. The argocd-notifications-controller-metrics service already has a name label, so I kept that as is for backwards compatibility. Signed-off-by: Nicholas Morey <nicholas@morey.tech> * fix: remove duplicate `labels:` Signed-off-by: Nicholas Morey <nicholas@morey.tech> --------- Signed-off-by: Nicholas Morey <nicholas@morey.tech>
20 lines
525 B
YAML
20 lines
525 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: notifications-controller
|
|
app.kubernetes.io/name: argocd-notifications-controller
|
|
app.kubernetes.io/part-of: argocd
|
|
name: argocd-notifications-controller-network-policy
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: argocd-notifications-controller
|
|
ingress:
|
|
- from:
|
|
- namespaceSelector: { }
|
|
ports:
|
|
- protocol: TCP
|
|
port: 9001
|
|
policyTypes:
|
|
- Ingress
|