Commit Graph

6 Commits

Author SHA1 Message Date
Jack Lin
88101a2274 refactor (webhook and recovery service): merge webhook and recovery service into longhorn manager daemonset
Ref: longhorn/longhorn5590

Signed-off-by: Jack Lin <jack.lin@suse.com>
2023-04-27 16:17:46 +08:00
Shuo Wu
ab67f9c98c example: Update network-policy
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
2023-04-26 20:08:56 +08:00
Derek Su
97cb124f24 example: add network policy for recovery backend
Longhorn 4675

Signed-off-by: Derek Su <derek.su@suse.com>
2022-10-04 18:19:45 +08:00
Derek Su
b4015b98e6 example: add longhorn admission and conversion webhook servers network policy yaml manifests
Signed-off-by: Derek Su <derek.su@suse.com>
(cherry picked from commit 0dd86841f2a2b68f4cccd8f7acfd5e8329630d12)
2022-03-02 13:17:33 +08:00
JenTing Hsiao
246bfdb85c example: add longhorn webhook server network policy yaml manifest
The traffic from/to the longhorn webhook server is the kube-apiserver.
The only way we could add restriction is to add the network policy of
the ingress port because we can't know each Kubernetes distro default
kube-apiserver Pod's label. Therefore, we can't add the label selector
in the network policy rule to restrict the traffic that comes from the
kube-apiserver is able to access to the longhorn webhook server.

Longhorn 3513

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
(cherry picked from commit 769e85bc80b6351a081a79ddf83ab181cf956e23)
2022-03-02 13:17:33 +08:00
Phan Le
93061470ea Add network policy examples
Longhorn-1805

Signed-off-by: Phan Le <phan.le@suse.com>
2021-12-20 17:37:34 +08:00