diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-03-11 20:28:06 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-03-11 21:04:55 +0000 |
| commit | f9a86f79173ee73cd60ab4b2ff04d49764e53644 (patch) | |
| tree | 7e9809919084b54efaa40984bbe2fa2f4f9e5ea1 | |
| parent | 8c651a59425085275a0e0a2e28a118357f4ff087 (diff) | |
syz-cluster: add a web dashboard network policy
The app should be accessible from everywhere.
| -rw-r--r-- | syz-cluster/overlays/common/kustomization.yaml | 1 | ||||
| -rw-r--r-- | syz-cluster/overlays/common/network-policy-web-dashboard.yaml | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/syz-cluster/overlays/common/kustomization.yaml b/syz-cluster/overlays/common/kustomization.yaml index 23982f7b5..432dfbb90 100644 --- a/syz-cluster/overlays/common/kustomization.yaml +++ b/syz-cluster/overlays/common/kustomization.yaml @@ -12,6 +12,7 @@ resources: - network-deny-all.yaml - network-policy-controller.yaml - network-policy-git-access.yaml + - network-policy-web-dashboard.yaml - workflow-roles.yaml patchesStrategicMerge: diff --git a/syz-cluster/overlays/common/network-policy-web-dashboard.yaml b/syz-cluster/overlays/common/network-policy-web-dashboard.yaml new file mode 100644 index 000000000..a9c36d884 --- /dev/null +++ b/syz-cluster/overlays/common/network-policy-web-dashboard.yaml @@ -0,0 +1,19 @@ +# Copyright 2025 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: access-to-web-dashboard + namespace: default +spec: + podSelector: + matchLabels: + app: web-dashboard + policyTypes: + - Ingress + ingress: + - from: [] + ports: + - protocol: TCP + port: 8081 |
