mirror of
https://github.com/nold360/hive-apps
synced 2024-11-20 12:39:27 +00:00
Fix: ingress-external network policy
This commit is contained in:
parent
05f57acc11
commit
1163261860
5 changed files with 33 additions and 1 deletions
|
@ -8,6 +8,9 @@ config:
|
||||||
- allow-runner
|
- allow-runner
|
||||||
- allow-minio
|
- allow-minio
|
||||||
|
|
||||||
|
labels:
|
||||||
|
environment: external
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
- name: drone
|
- name: drone
|
||||||
repoURL: https://github.com/nold360/drone-charts.git
|
repoURL: https://github.com/nold360/drone-charts.git
|
||||||
|
|
|
@ -5,6 +5,10 @@ config:
|
||||||
- internet
|
- internet
|
||||||
rules:
|
rules:
|
||||||
- allow-ssh
|
- allow-ssh
|
||||||
|
|
||||||
|
labels:
|
||||||
|
environment: external
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
repoURL: https://dl.gitea.io/charts/
|
repoURL: https://dl.gitea.io/charts/
|
||||||
|
|
|
@ -3,6 +3,8 @@ config:
|
||||||
networkPolicy:
|
networkPolicy:
|
||||||
rules:
|
rules:
|
||||||
- allow-dns
|
- allow-dns
|
||||||
|
- allow-ingress-traffic
|
||||||
|
- allow-external-services
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
- name: ingress-external
|
- name: ingress-external
|
||||||
|
|
|
@ -3,6 +3,10 @@ config:
|
||||||
networkPolicy:
|
networkPolicy:
|
||||||
groups:
|
groups:
|
||||||
- internet
|
- internet
|
||||||
|
|
||||||
|
labels:
|
||||||
|
environment: external
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
repoURL: https://nextcloud.github.io/helm
|
repoURL: https://nextcloud.github.io/helm
|
||||||
|
|
|
@ -68,7 +68,7 @@ networkPolicy:
|
||||||
- from:
|
- from:
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.heqet.gnu.one/name: ingress-external
|
project.heqet.gnu.one/name: ingress-external
|
||||||
|
|
||||||
# Allow SSH for Gitea
|
# Allow SSH for Gitea
|
||||||
allow-ssh:
|
allow-ssh:
|
||||||
|
@ -134,3 +134,22 @@ networkPolicy:
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
name: minio
|
name: minio
|
||||||
|
|
||||||
|
allow-ingress-traffic:
|
||||||
|
podSelector: {}
|
||||||
|
policyTypes:
|
||||||
|
- Ingress
|
||||||
|
ingress:
|
||||||
|
- {}
|
||||||
|
|
||||||
|
allow-external-services:
|
||||||
|
podSelector: {}
|
||||||
|
policyTypes:
|
||||||
|
- Egress
|
||||||
|
egress:
|
||||||
|
- to:
|
||||||
|
- namespaceSelector:
|
||||||
|
matchLabels:
|
||||||
|
environment: external
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue