generated from wittdennis/repo-template-yaml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d331c8f
commit 3c2c9d4
Showing
18 changed files
with
157 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
cloud/networking/network-policies/allow-dndbeyond-egress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
apiVersion: cilium.io/v2 | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
name: allow-dndbeyond-egress | ||
spec: | ||
endpointSelector: | ||
matchLabels: | ||
network-policy/allow-dndbeyond-egress: apply | ||
egress: | ||
- toFQDNs: | ||
- matchPattern: "*.dndbeyond.com" | ||
- matchName: "dndbeyond.com" | ||
toPorts: | ||
- ports: | ||
- port: "443" | ||
protocol: TCP | ||
rules: | ||
http: [{}] |
21 changes: 21 additions & 0 deletions
21
cloud/networking/network-policies/allow-kube-apiserver-traffic.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
apiVersion: cilium.io/v2 | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
name: allow-kube-apiserver-traffic | ||
spec: | ||
endpointSelector: | ||
matchLabels: | ||
network-policy/allow-kube-apiserver-traffic: apply | ||
ingress: | ||
- fromEntities: | ||
- kube-apiserver | ||
egress: | ||
- toEntities: | ||
- kube-apiserver | ||
toPorts: | ||
- ports: | ||
- port: "443" | ||
protocol: TCP | ||
rules: | ||
http: [{}] |
27 changes: 27 additions & 0 deletions
27
cloud/networking/network-policies/allow-minio-traffic.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
apiVersion: cilium.io/v2 | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
name: allow-minio-traffic | ||
spec: | ||
endpointSelector: | ||
matchLabels: | ||
network-policy/allow-minio-traffic: apply | ||
ingress: | ||
- fromEndpoints: | ||
- matchLabels: | ||
app: minio | ||
v1.min.io/tenant: default | ||
io.kubernetes.pod.namespace: storage | ||
egress: | ||
- toEndpoints: | ||
- matchLabels: | ||
app: minio | ||
v1.min.io/tenant: default | ||
io.kubernetes.pod.namespace: storage | ||
toPorts: | ||
- ports: | ||
- port: "9000" | ||
protocol: TCP | ||
rules: | ||
http: [{}] |
16 changes: 16 additions & 0 deletions
16
cloud/networking/network-policies/allow-world-http-ingress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
apiVersion: cilium.io/v2 | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
name: allow-world-http-ingress | ||
spec: | ||
endpointSelector: | ||
matchLabels: | ||
network-policy/allow-world-http-ingress: apply | ||
ingress: | ||
- fromEndpoints: | ||
- matchLabels: | ||
app.kubernetes.io/name: ingress-nginx | ||
app.kubernetes.io/instance: ingress-nginx | ||
app.kubernetes.io/component: controller | ||
io.kubernetes.pod.namespace: ingress-nginx |
18 changes: 18 additions & 0 deletions
18
cloud/networking/network-policies/allow-world-https-egress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
apiVersion: cilium.io/v2 | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
name: allow-world-https-egress | ||
spec: | ||
endpointSelector: | ||
matchLabels: | ||
network-policy/allow-world-https-egress: apply | ||
egress: | ||
- toEntities: | ||
- world | ||
toPorts: | ||
- ports: | ||
- port: "443" | ||
protocol: TCP | ||
rules: | ||
http: [{}] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
cloud/networking/network-policies/default-deny-egress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
apiVersion: cilium.io/v2 | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
name: default-deny-egress | ||
namespace: foundry | ||
spec: | ||
endpointSelector: {} | ||
egress: | ||
# DNS | ||
- toEndpoints: | ||
- matchLabels: | ||
io.kubernetes.pod.namespace: kube-system | ||
k8s-app: kube-dns | ||
toPorts: | ||
- ports: | ||
- port: "53" | ||
protocol: UDP | ||
rules: | ||
dns: | ||
- matchPattern: "*" | ||
# ingress-nginx | ||
- toEndpoints: | ||
- matchLabels: | ||
app.kubernetes.io/name: ingress-nginx | ||
app.kubernetes.io/instance: ingress-nginx | ||
app.kubernetes.io/component: controller | ||
io.kubernetes.pod.namespace: ingress-nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
apiVersion: cilium.io/v2 | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
name: default-deny-ingress | ||
spec: | ||
endpointSelector: {} | ||
ingress: | ||
- {} |
32 changes: 0 additions & 32 deletions
32
cloud/networking/network-policies/foundry-egress-salty.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
cloud/networking/network-policies/foundry-ingress-salty.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.