Compare commits
496 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ea1500546 | |||
|
63b6d99955
|
|||
|
a48077f9b3
|
|||
| 9c60baeff9 | |||
| d30515ab76 | |||
| 85117976c3 | |||
| 2ec369f428 | |||
| aadf8995e6 | |||
| 53776f68dd | |||
|
d4a56867e5
|
|||
|
8ae4f2c854
|
|||
|
ee21078412
|
|||
| a0e69a053d | |||
|
3bae9f5065
|
|||
|
cf816e621b
|
|||
| b71da56da7 | |||
| 3b6ed8e544 | |||
|
9cbb16ae08
|
|||
|
708a44fa9b
|
|||
|
f4a53934c2
|
|||
|
79ad206db3
|
|||
|
6c850b312c
|
|||
|
d1c4b25499
|
|||
|
265c370787
|
|||
|
ed017894b5
|
|||
|
9f0503bbf3
|
|||
|
5aa937acb3
|
|||
|
548c942b42
|
|||
|
b49f8dc005
|
|||
| 955424cc70 | |||
|
6e7fa3a642
|
|||
|
f6d6282aea
|
|||
| f20375c7ca | |||
|
127722c4b4
|
|||
|
d345172d8a
|
|||
|
e55212a859
|
|||
|
8a39fb8afc
|
|||
| 212739ae94 | |||
|
a940a2fedf
|
|||
|
38264b4879
|
|||
|
941e98abb8
|
|||
| 09b8030d03 | |||
|
e7ba9bf363
|
|||
|
3a188746de
|
|||
|
f315c5019b
|
|||
|
6213f4ce2e
|
|||
|
6d61ba9243
|
|||
|
ead05c101d
|
|||
|
44a93f15a6
|
|||
|
97d21660b1
|
|||
|
9ff1f8aafc
|
|||
|
f9cf9ad9b1
|
|||
|
807d9bca35
|
|||
|
bf15426393
|
|||
|
21c57dac36
|
|||
|
1fd177b73a
|
|||
|
9d5b144d2d
|
|||
|
24dfb63714
|
|||
|
e467799bd6
|
|||
|
ad258bf3fe
|
|||
|
0801c0c6c7
|
|||
|
924c7c74a4
|
|||
| 1b766341cb | |||
|
b8c199718a
|
|||
|
b77b968420
|
|||
| 449a0f0e60 | |||
|
b1584703d1
|
|||
|
d3ecef770f
|
|||
|
f43588cb93
|
|||
| be985a1ac4 | |||
| 6a3e3855df | |||
| da5a2ea142 | |||
| d3db1db7c5 | |||
|
411550cc23
|
|||
|
1e8584281a
|
|||
|
75a5fb5c83
|
|||
|
0eb60de429
|
|||
|
9d034eea25
|
|||
|
6104114404
|
|||
| 1e7126fedb | |||
| 0d12907f4c | |||
|
297e5efd88
|
|||
|
d09eabd2bd
|
|||
|
351bb41f80
|
|||
|
fd773bff9f
|
|||
| 196d3ed0eb | |||
| f617f29a50 | |||
|
0bc45748cf
|
|||
|
fdbdb138e1
|
|||
|
b2ed367b2a
|
|||
| 22cb7bddb6 | |||
| fe1c3db4b2 | |||
| 830c44644d | |||
| 5825a4bbc2 | |||
| a7b3310a10 | |||
| ecfa74dddd | |||
| 8a931d7c03 | |||
| c7b099cff2 | |||
| 24276410c1 | |||
|
5493008cb6
|
|||
| a788539d33 | |||
| 3e06946d04 | |||
| 29a51653f3 | |||
|
23b43c9b41
|
|||
| 53ac321316 | |||
| c5d42f2266 | |||
| a8bbe28137 | |||
| ed9dd67040 | |||
| ef13e1f980 | |||
| 5d3f57e518 | |||
| 97ed914338 | |||
|
aa0ee6ad37
|
|||
|
7afc34dbf8
|
|||
|
c77e11f0d2
|
|||
|
78892df3fc
|
|||
|
c3b1cab416
|
|||
|
7227f07b71
|
|||
|
683c7f36c3
|
|||
|
98812a6a3b
|
|||
|
8f990cff54
|
|||
|
a2678efd78
|
|||
|
cdbacbd34c
|
|||
|
20ca29d5ec
|
|||
|
9c42fd665d
|
|||
|
7468b902ce
|
|||
| 62578486ce | |||
| 6b17805a42 | |||
| e35b81b356 | |||
|
10758b334b
|
|||
|
8f61e63f29
|
|||
|
621598dee3
|
|||
|
0689bd47f2
|
|||
|
006efc31c2
|
|||
|
9d45101ed9
|
|||
|
d630bdebef
|
|||
|
8182141bc1
|
|||
| dc67fa2271 | |||
| 37ea2ad85c | |||
| 6a5da41480 | |||
| cd25aa8a1a | |||
| 05a3a69976 | |||
| 0697a4da10 | |||
| 8d5443e126 | |||
| b32e0643fb | |||
| af7f4c8116 | |||
| 37bb29b36a | |||
| af04b27c10 | |||
| a42010546f | |||
|
7034d20e39
|
|||
|
dbdfcb4f21
|
|||
|
22148fb162
|
|||
| 3086214bac | |||
|
e6c99a8567
|
|||
|
fa9d45fbb7
|
|||
|
72eb20fb5b
|
|||
|
eb141a7efe
|
|||
|
773550df56
|
|||
|
a93173066d
|
|||
| b39ed6cc54 | |||
|
685328685b
|
|||
| 40beab6e4f | |||
|
46c890c6c3
|
|||
| aaa7cf4a6e | |||
| 55d385ea6a | |||
|
80ebe7c278
|
|||
|
cf5b0273c2
|
|||
|
c8ec4161aa
|
|||
| 59580b5d29 | |||
| ddc8c7b253 | |||
| 36f0f11ef6 | |||
| ea1a0a2eb5 | |||
| ffb572e762 | |||
| f46ca7d2be | |||
| 2cd14292d2 | |||
|
9470c73e92
|
|||
|
922e2fd0ea
|
|||
| 8c2f6d53c9 | |||
| 7041b91c45 | |||
| a1c3f766b5 | |||
| d5e6d86f4b | |||
| 608fae0bf1 | |||
| d3fd3b7c5b | |||
| 556756d0a0 | |||
| d242c23ae3 | |||
| 3255430a3b | |||
| 7594dfe93d | |||
|
616a1915f2
|
|||
| de6963de12 | |||
| 5d8a4056e3 | |||
| 9c9c87bf2f | |||
| 89a54a995d | |||
| 707c37b9f1 | |||
| 14ae0e358b | |||
| ef82ce7bc5 | |||
| d4d9d9a3b6 | |||
| f55fd396fc | |||
| 91e98e3949 | |||
| 40eb429c17 | |||
| 432a73a4ba | |||
| de4ab27a2d | |||
|
def3f19dff
|
|||
| 3336c9782c | |||
| b943caef06 | |||
| 83a3cece0b | |||
| 2155c4c654 | |||
| 13e44a495f | |||
| 923f2b81b9 | |||
| fad034ca44 | |||
| 31d1918b86 | |||
| 34181f92b1 | |||
| 1d8b1bebcd | |||
| 91fba971e2 | |||
| 4bb68c68a8 | |||
| 4fe9cfee86 | |||
| c580b22ff5 | |||
| 988ba5a4c2 | |||
|
e9e72da86a
|
|||
| a1c1022465 | |||
|
4de318d814
|
|||
|
7402bad7a4
|
|||
|
113a582649
|
|||
| 73b8b11088 | |||
| f6854b72c8 | |||
|
bb1078b0f2
|
|||
|
983fa68f6a
|
|||
|
9876d5bec5
|
|||
|
b6af70c8ca
|
|||
|
957526a6bc
|
|||
|
f81a4b2732
|
|||
|
d7e4fb43cb
|
|||
|
e94ed8155e
|
|||
| c8a0a98167 | |||
| 9cddd9b404 | |||
| 3df44cd4b2 | |||
| 53ac794bd6 | |||
| f1a382c76c | |||
| 7a7459db10 | |||
| ed3515c752 | |||
| 19457af158 | |||
| e455612874 | |||
| df757cf361 | |||
| eb8f6e83ca | |||
| 1668c8db54 | |||
| d739c3d1b1 | |||
| 10393587b2 | |||
| 64e5b26352 | |||
| 49ad715025 | |||
| ee6f7e1d56 | |||
| 468eaeed88 | |||
| 257a55fab7 | |||
| 6fb44f6ba4 | |||
| b456dbc0ff | |||
| c415754e46 | |||
| 2688f381ef | |||
| 10c6708bd4 | |||
| a07e19b22c | |||
| 2e9dc96ded | |||
| 0348b1d46f | |||
| 22383f1d88 | |||
| e2641b18b6 | |||
| 86240fc085 | |||
| 799b6c2858 | |||
| daa5b60c43 | |||
| ca0a228660 | |||
| 621945dbf2 | |||
| 847c70b547 | |||
| 40a04b72ae | |||
| 457a260d0e | |||
| 49b2992a41 | |||
| 605581fc40 | |||
|
dab6716033
|
|||
|
23bedaa370
|
|||
| e578f06d36 | |||
| 2e6559e6ad | |||
| 7f21f3632d | |||
| 03ea94648f | |||
| cfe034bad0 | |||
| 87edc012d4 | |||
| e64207fc08 | |||
| 1de43ded88 | |||
| e82cfe22bd | |||
| be78113f20 | |||
| 9c48deef78 | |||
|
590541c0e1
|
|||
|
fc63ae640c
|
|||
|
26a5fc683e
|
|||
|
10fa7835ae
|
|||
|
d99bb6547d
|
|||
|
5e5ebad9ad
|
|||
|
5519d67ccc
|
|||
| 98b34deea2 | |||
| 123b23d337 | |||
| e7e37c8adc | |||
| 771decaf2b | |||
| a3609c4072 | |||
| f7e4b100e1 | |||
| 3ab4a94bb2 | |||
|
083cd50d6a
|
|||
| 33395c5051 | |||
|
0b634744da
|
|||
|
3d423a8111
|
|||
|
fb71102049
|
|||
|
07cfd8013d
|
|||
|
dbb17345b6
|
|||
|
dc5fbb49ca
|
|||
|
3c9f2e4c4a
|
|||
|
9f922a494d
|
|||
|
a4e5901c76
|
|||
|
de19337d2c
|
|||
|
bb3586b7c5
|
|||
|
dbf1e73f79
|
|||
|
b22d29c4ff
|
|||
|
abe145e29e
|
|||
|
5f935ebbb9
|
|||
| c25f6f07a6 | |||
| 5ca4fd830f | |||
|
75aca0ab33
|
|||
| c512b6b402 | |||
| 95b419ce09 | |||
| 2da99db2a1 | |||
|
1b0c49e17f
|
|||
|
5738b0fd0e
|
|||
|
847efcde83
|
|||
|
ebcf791fee
|
|||
| 74e5196c90 | |||
| 323aca63ac | |||
| 6b9479bdcf | |||
| 4387d147ed | |||
| c72c35f905 | |||
| e54a374387 | |||
| c3939e6359 | |||
| 04f41d5dc4 | |||
| b5aca9a830 | |||
| 7b85e30954 | |||
| 751d371d19 | |||
| ea65c4581c | |||
| 1b19734b6e | |||
| d69ce7d104 | |||
| 8a051c10af | |||
| 351116d3a8 | |||
| f4f0476177 | |||
| 9a29c2dd5f | |||
| e73e060e6d | |||
| 0467528683 | |||
| 54485c0554 | |||
| 7063f68a28 | |||
| a3cb3ba335 | |||
| 5b8cc451c2 | |||
| 86240afd82 | |||
| ee4417aee2 | |||
| 9269d9c026 | |||
| 6ea0811d74 | |||
| 0779d405c6 | |||
| 6626654df6 | |||
| df231941c0 | |||
|
7002dcd14d
|
|||
| b323c48c18 | |||
|
c344a26f5c
|
|||
|
5741568d02
|
|||
| 480c44a82d | |||
| 13a5f16810 | |||
| c906bb7136 | |||
| e9d6315656 | |||
| bb7916b155 | |||
| 14554b6dae | |||
| a5364d3c16 | |||
| 3368517f3a | |||
| 5eee9e90a8 | |||
| dc52b49da7 | |||
| ff5a4e0a2a | |||
| e19b240f1f | |||
| a47cf689fb | |||
| 888daa7f1e | |||
| eaeb988aab | |||
| edd3df84e5 | |||
| 526e24cc66 | |||
| 11d4b37f4d | |||
| cabfceadd1 | |||
| 2bfeaf7d67 | |||
|
1e1669fcd6
|
|||
| 3f3a4255b5 | |||
| 877cc612a0 | |||
|
a18e7d2e23
|
|||
| de9388691a | |||
| 9c6a7e01f4 | |||
| ae4c7f3bb4 | |||
| 4442bc923a | |||
| ddfd36fb3a | |||
| 46820439e9 | |||
| 64c081f629 | |||
| c7958cbc6b | |||
| 730b84e469 | |||
| 2785bf7907 | |||
|
72079fe81b
|
|||
|
b58d457d90
|
|||
|
86d2d58c3c
|
|||
| 5030b4b8c5 | |||
| 7f39e2baf7 | |||
| 052edfa4e4 | |||
| 9349978f6e | |||
| 7cf6cf1a55 | |||
| 97d398c637 | |||
| 297d998c96 | |||
| 14524fb308 | |||
| b4970a8550 | |||
| 7705fc228c | |||
| 12d2587e9b | |||
| f030045694 | |||
| 4898676dc5 | |||
| 21ffb79401 | |||
| e30bdc54be | |||
| 677c37a6f7 | |||
| fb19b12f08 | |||
| 22dadc5f98 | |||
| 01b9d06509 | |||
| cfd1d1b25d | |||
| b347410856 | |||
| 5bcd21db11 | |||
| 86520433ea | |||
| 6ec1c19f80 | |||
| fa0123336e | |||
|
7f476a4650
|
|||
|
90469dbf85
|
|||
|
d7bd0d50b5
|
|||
| abb3203eea | |||
| ad10efd78e | |||
| fdc4702fbd | |||
| b2c41a7b0e | |||
| 5e1024160a | |||
| 06bd4f3e80 | |||
|
12360be8ba
|
|||
|
38b13658a9
|
|||
|
bb0256ff3d
|
|||
|
02497db6b2
|
|||
|
9040a373a6
|
|||
|
51bb191001
|
|||
|
da271376ba
|
|||
|
62b13cbaa9
|
|||
|
77a5af1c37
|
|||
|
4ef99c0ae4
|
|||
|
654bf18126
|
|||
|
39e393e222
|
|||
| 71d9109a7b | |||
| f09ef6fe77 | |||
| 2c6d303ba3 | |||
| 902cb061af | |||
| db4e3ce144 | |||
| 1301ce012f | |||
| 9554e8694a | |||
| 6623c4557e | |||
| 4f176674ac | |||
| e093484918 | |||
| 5541565c4b | |||
| ed531af09a | |||
| cb5abae670 | |||
| 28f3c853a4 | |||
| 36d4305317 | |||
| bea2855df2 | |||
| fff895eb64 | |||
| b1bfe88fc7 | |||
| fe1e97d484 | |||
| 0d68590639 | |||
| bc2f2012b0 | |||
| 0b32b0261c | |||
| 6d1758ca52 | |||
| 7a87a49108 | |||
| 817e9ba478 | |||
| 513f78d444 | |||
| dbd0ae7b72 | |||
| e86436d4c7 | |||
| 01c3c3880d | |||
| f8e18cfc41 | |||
| 163452b8c6 | |||
| 24977a9a77 | |||
| 955fcfc073 | |||
| 2520f06b3b | |||
| 32b991e8e4 | |||
| 2d9318ce9d | |||
| 5f24664961 | |||
| 4303b7c29f | |||
| bdc618cf50 | |||
| 5ddb1a0f8c | |||
| 838c7f6b9d | |||
| 24ccf8ab1a | |||
| 17fd471973 | |||
| 5089fb441b | |||
| 5a2954cc6a | |||
| 80c2c82e32 | |||
| fd50da5b62 | |||
| b07cf0f6c8 | |||
| 27218a7970 | |||
| c007e2d796 | |||
| 67312b950c | |||
| 67d46b0bda | |||
| 8f2233a608 | |||
| 43d4ad90d6 |
@@ -1,9 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# the shebang is ignored, but nice for editors
|
||||
watch_file nix/sources.json
|
||||
watch_file nix/checks.nix
|
||||
|
||||
# Load .env file if it exists
|
||||
dotenv_if_exists
|
||||
|
||||
# Set npins dir
|
||||
export NPINS_DIRECTORY="nix"
|
||||
|
||||
# Activate development shell
|
||||
use nix
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
*.tgz
|
||||
_*/
|
||||
.direnv/
|
||||
.env
|
||||
.pre-commit-config.yaml
|
||||
_*.yaml
|
||||
backup/
|
||||
|
||||
+50
-42
@@ -1,46 +1,54 @@
|
||||
image:
|
||||
name: alpine/helm:latest
|
||||
entrypoint: [ "/bin/bash", "-c" ]
|
||||
# yaml-language-server: $schema=https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json
|
||||
default:
|
||||
tags:
|
||||
- nix
|
||||
|
||||
stages:
|
||||
- release
|
||||
include:
|
||||
- project: oceanbox/gitlab-ci
|
||||
ref: v4.5
|
||||
file: template/Base.gitlab-ci.yml
|
||||
# stages:
|
||||
# - release
|
||||
|
||||
release:
|
||||
stage: release
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH =~ /^main/'
|
||||
when: always
|
||||
- when: never
|
||||
script:
|
||||
- |
|
||||
cd $CI_PROJECT_DIR
|
||||
for i in $(git show --pretty="" --name-only | grep '^charts/.*/Chart.yaml' | cut -d/ -f2); do
|
||||
pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
|
||||
if [ ! -z $pack ]; then
|
||||
chart=$(basename $pack)
|
||||
curl --request POST \
|
||||
--user gitlab-ci-token:$CI_JOB_TOKEN \
|
||||
--form "chart=@${chart}" \
|
||||
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"
|
||||
fi
|
||||
done
|
||||
# image:
|
||||
# name: alpine/helm:latest
|
||||
# entrypoint: ["/bin/bash", "-c"]
|
||||
|
||||
rebuild:
|
||||
stage: release
|
||||
rules:
|
||||
- when: manual
|
||||
allow_failure: true
|
||||
script:
|
||||
- |
|
||||
cd $CI_PROJECT_DIR
|
||||
for i in $(find ./charts -maxdepth 2 -name Chart.yaml | cut -d/ -f3); do
|
||||
pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
|
||||
if [ ! -z $pack ]; then
|
||||
chart=$(basename $pack)
|
||||
curl --request POST \
|
||||
--user gitlab-ci-token:$CI_JOB_TOKEN \
|
||||
--form "chart=@${chart}" \
|
||||
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"
|
||||
fi
|
||||
done
|
||||
# release:
|
||||
# stage: release
|
||||
# rules:
|
||||
# - if: "$CI_COMMIT_BRANCH =~ /^main/"
|
||||
# when: always
|
||||
# - when: never
|
||||
# script:
|
||||
# - |
|
||||
# cd $CI_PROJECT_DIR
|
||||
# for i in $(git show --pretty="" --name-only | grep '^charts/.*/Chart.yaml' | cut -d/ -f2); do
|
||||
# pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
|
||||
# if [ ! -z $pack ]; then
|
||||
# chart=$(basename $pack)
|
||||
# curl --request POST \
|
||||
# --user gitlab-ci-token:$CI_JOB_TOKEN \
|
||||
# --form "chart=@${chart}" \
|
||||
# "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"
|
||||
# fi
|
||||
# done
|
||||
|
||||
# rebuild:
|
||||
# stage: release
|
||||
# rules:
|
||||
# - when: manual
|
||||
# allow_failure: true
|
||||
# script:
|
||||
# - |
|
||||
# cd $CI_PROJECT_DIR
|
||||
# for i in $(find ./charts -maxdepth 2 -name Chart.yaml | cut -d/ -f3); do
|
||||
# pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
|
||||
# if [ ! -z $pack ]; then
|
||||
# chart=$(basename $pack)
|
||||
# curl --request POST \
|
||||
# --user gitlab-ci-token:$CI_JOB_TOKEN \
|
||||
# --form "chart=@${chart}" \
|
||||
# "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"
|
||||
# fi
|
||||
# done
|
||||
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-applicationset-ingress
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access from the ingress controller
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: applicationset-controller
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-argo-notifications
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access to the ArgoCD Notifications
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: slack.com
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: notifications-controller
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-argo-repo-access-applicationset
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access to the ArgoCD repo Applicationset
|
||||
egress:
|
||||
- toEntities:
|
||||
- world
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: applicationset-controller
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-argo-repo-access
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access to the ArgoCD repo server
|
||||
egress:
|
||||
- toEntities:
|
||||
- world
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: repo-server
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-chartmuseum-ingress
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access to the chartmuseum ingress
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: chartmuseum
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-image-updater-repo-access
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow argoCD image updater to access github container registry
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: ghcr.io
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: argocd-image-updater
|
||||
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-ingress
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access from the ingress controller
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: server
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-kube-api
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access to the Kube API server
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-microsoft-sso
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow argoCD dex server to authenticate to microsoft online azure oatuh
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: login.microsoftonline.com
|
||||
- matchPattern: '*.microsoftonline.com'
|
||||
- matchName: github.com
|
||||
- matchName: api.github.com
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: argocd-dex-server
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics-rollout
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access to the Prometheus metrics
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: argo-rollouts
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "8090"
|
||||
protocol: TCP
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics-workflows
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access to the Prometheus metrics
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: argo-workflows
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "9090"
|
||||
protocol: TCP
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Allow access to the Prometheus metrics
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: argocd
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "8082"
|
||||
protocol: TCP
|
||||
- port: "8080"
|
||||
protocol: TCP
|
||||
- port: "9001"
|
||||
protocol: TCP
|
||||
- port: "9121"
|
||||
protocol: TCP
|
||||
- port: "8084"
|
||||
protocol: TCP
|
||||
- port: "8083"
|
||||
protocol: TCP
|
||||
- port: "5558"
|
||||
protocol: TCP
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server-to-cert-manager
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
description: Allow the API server to communicate with the cert-manager pods
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: cert-manager
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
@@ -1,12 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
description: Allow the Kube API server to communicate with cert-manager
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
description: Allow Prometheus metrics
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: cert-manager
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9402"
|
||||
protocol: TCP
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-world-traffic
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
description: Allow the world to communicate with cert-manager
|
||||
egress:
|
||||
- toEntities:
|
||||
- world
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: cilium-spire
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-server
|
||||
namespace: cilium-spire
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "8081"
|
||||
protocol: TCP
|
||||
@@ -1,22 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: cilium-test
|
||||
spec:
|
||||
egress:
|
||||
- toEndpoints:
|
||||
- {}
|
||||
- toEntities:
|
||||
- cluster
|
||||
- toEntities:
|
||||
- remote-node
|
||||
- toEntities:
|
||||
- world
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- cluster
|
||||
- fromEntities:
|
||||
- world
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: allow-acme-solvers
|
||||
spec:
|
||||
description: Policy for ingress for Acme Solvers.
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
acme.cert-manager.io/http01-solver: "true"
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
-24
@@ -1,24 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: allow-dns
|
||||
spec:
|
||||
description: 'description: Allow only dns traffic by default. Also acts as a deny-all policy'
|
||||
egress:
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: kube-system
|
||||
k8s-app: kube-dns
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "53"
|
||||
protocol: UDP
|
||||
- rules:
|
||||
dns:
|
||||
- matchPattern: '*'
|
||||
endpointSelector:
|
||||
matchExpressions:
|
||||
- key: io.kubernetes.pod.namespace
|
||||
operator: NotIn
|
||||
values:
|
||||
- kube-system
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: allow-mariadb-operator
|
||||
spec:
|
||||
description: allow mariadb instances to be reached by operator
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: mariadb
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
app.kubernetes.io/name: mariadb-operator
|
||||
io.kubernetes.pod.namespace: mariadb-operator
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "3306"
|
||||
protocol: TCP
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: allow-s3-traffic
|
||||
spec:
|
||||
description: Policy for egress for CNPG Backups.
|
||||
egress:
|
||||
- toFQDNs:
|
||||
{{- range .Values.s3.hosts }}
|
||||
- matchName: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- range .Values.s3.patterns }}
|
||||
- matchPattern: {{ . | quote }}
|
||||
{{- end }}
|
||||
- toCIDR:
|
||||
{{- range .Values.s3.cidr }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: cilium-health-checks
|
||||
spec:
|
||||
description: Health checks
|
||||
egress:
|
||||
- toEntities:
|
||||
- remote-node
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
reserved:health: ""
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
@@ -1,9 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: deny-all
|
||||
spec:
|
||||
description: Deny all
|
||||
egress: []
|
||||
endpointSelector: {}
|
||||
ingress: []
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: cnpg
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: postgres-operator
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-webhooks
|
||||
namespace: cnpg
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- kube-apiserver
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9443"
|
||||
protocol: TCP
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: kube-downscaler
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
application: downscaler-py-kube-downscaler
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-webhooks
|
||||
namespace: kube-downscaler
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- kube-apiserver
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9443"
|
||||
protocol: TCP
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-host-traffic
|
||||
namespace: ingress-nginx
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
- host
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/instance: ingress-nginx
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-hubble-traffic
|
||||
namespace: ingress-nginx
|
||||
spec:
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchPattern: hubble.*.*.*
|
||||
- matchPattern: hubble.*.*.*.*
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/instance: ingress-nginx
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics
|
||||
namespace: ingress-nginx
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: ingress-nginx
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9913"
|
||||
protocol: TCP
|
||||
@@ -1,19 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-s3-traffic
|
||||
namespace: ingress-nginx
|
||||
spec:
|
||||
egress:
|
||||
- toCIDR:
|
||||
- 10.139.2.10/32
|
||||
- toCIDR:
|
||||
- 10.139.2.11/32
|
||||
- toCIDR:
|
||||
- 10.139.2.20/32
|
||||
- toCIDR:
|
||||
- 10.139.2.21/32
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/instance: ingress-nginx
|
||||
-19
@@ -1,19 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-world-to-ingress-nginx
|
||||
namespace: ingress-nginx
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/instance: ingress-nginx
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- world
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "80"
|
||||
protocol: TCP
|
||||
- port: "443"
|
||||
protocol: TCP
|
||||
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-kube-api
|
||||
namespace: jaeger
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-jaeger
|
||||
namespace: jaeger
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: jaeger-operator
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: kafka
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: kafka-operator
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-webhooks
|
||||
namespace: kafka
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- kube-apiserver
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9443"
|
||||
protocol: TCP
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-controller-metrics
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow Controller Metrics
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: kube-controller-manager
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "10257"
|
||||
protocol: TCP
|
||||
@@ -1,12 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-csi-webhook
|
||||
namespace: kube-system
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: csi-snapshot-webhook
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-dns-metrics
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow DNS metrics
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: kube-dns
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9153"
|
||||
protocol: TCP
|
||||
@@ -1,31 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-dns-world
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow DNS World
|
||||
egress:
|
||||
- toCIDR:
|
||||
- 8.8.8.8/32
|
||||
- 172.31.254.11/32
|
||||
- 1.1.1.1/32
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "53"
|
||||
protocol: UDP
|
||||
rules:
|
||||
dns:
|
||||
- matchPattern: '*'
|
||||
- toEntities:
|
||||
- world
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "53"
|
||||
protocol: UDP
|
||||
rules:
|
||||
dns:
|
||||
- matchPattern: '*'
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: kube-dns
|
||||
@@ -1,19 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-dns
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow DNS
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: kube-dns
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchExpressions:
|
||||
- key: io.kubernetes.pod.namespace
|
||||
operator: Exists
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "53"
|
||||
protocol: UDP
|
||||
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-host-traffic
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow Host Traffic
|
||||
egress:
|
||||
- toEntities:
|
||||
- remote-node
|
||||
- host
|
||||
- kube-apiserver
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-hubble-ingress
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow Hubble ingress
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: hubble-ui
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-hubble-oauth2-ingress
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow Hubble OAuth2 ingress
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: oauth2-proxy
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-hubble-relay-metrics
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow Hubble Relay Metrics
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: hubble-relay
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9966"
|
||||
protocol: TCP
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-microsoft-sso
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow Microsoft SSO
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: login.microsoftonline.com
|
||||
- matchPattern: '*.microsoftonline.com'
|
||||
- matchName: graph.microsoft.com
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: oauth2-proxy
|
||||
-26
@@ -1,26 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-namespace-traffic
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow Namespace Traffic
|
||||
egress:
|
||||
- toEndpoints:
|
||||
- {}
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: kube-system
|
||||
k8s-app: kube-dns
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "53"
|
||||
protocol: UDP
|
||||
rules:
|
||||
dns:
|
||||
- matchPattern: '*'
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- {}
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-proxy-metrics
|
||||
namespace: kube-system
|
||||
spec:
|
||||
description: Allow Proxy metrics
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
k8s-app: kube-proxy
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "10249"
|
||||
protocol: TCP
|
||||
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-kube-api
|
||||
namespace: kubelet-serving-cert-approver
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: kyverno
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics
|
||||
namespace: kyverno
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: kyverno
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "8000"
|
||||
protocol: TCP
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-kyverno
|
||||
namespace: kyverno
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: kyverno
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-loki-backend-to-api-server
|
||||
namespace: loki
|
||||
spec:
|
||||
description: Promtail needs to reach kube-apiserver
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: backend
|
||||
app.kubernetes.io/instance: loki
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics
|
||||
namespace: loki
|
||||
spec:
|
||||
description: Allow Prometheus read and write
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: loki
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "3100"
|
||||
protocol: TCP
|
||||
- port: "3500"
|
||||
protocol: TCP
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-promtail-to-api-server
|
||||
namespace: loki
|
||||
spec:
|
||||
description: Promtail needs to reach kube-apiserver
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: promtail
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-stats-grafana
|
||||
namespace: loki
|
||||
spec:
|
||||
description: Allow stats
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: stats.grafana.org
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: loki
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: mariadb-operator
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: mariadb-operator
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-host-to-mariadb
|
||||
namespace: mariadb-operator
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: mariadb-operator
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- host
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics
|
||||
namespace: mariadb-operator
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: mariadb-operator
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "8080"
|
||||
protocol: TCP
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-webhooks
|
||||
namespace: mariadb-operator
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- kube-apiserver
|
||||
- remote-node
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "443"
|
||||
protocol: TCP
|
||||
- port: "9443"
|
||||
protocol: TCP
|
||||
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-host-traffic
|
||||
namespace: mayastor
|
||||
spec:
|
||||
description: Allow Host Traffic
|
||||
egress:
|
||||
- toEntities:
|
||||
- remote-node
|
||||
- host
|
||||
- kube-apiserver
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-agent-core
|
||||
namespace: mayastor
|
||||
spec:
|
||||
description: Allow Remote to Agent Core
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: agent-core
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-etcd
|
||||
namespace: mayastor
|
||||
spec:
|
||||
description: Allow Remote to Etcd
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: etcd
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-maya
|
||||
namespace: mayastor
|
||||
spec:
|
||||
description: Allow Remote to Mayastor
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: api-rest
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: allow-kube-api
|
||||
spec:
|
||||
description: Allow access to the Kube API server
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: minio
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: allow-minio-operator
|
||||
spec:
|
||||
description: Allow access to the Kube API server
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: minio
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: minio-operator
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "9000"
|
||||
protocol: TCP
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: allow-nodeport-ingress
|
||||
spec:
|
||||
description: Allow access to the Kube API server
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: minio
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- world
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "9000"
|
||||
protocol: TCP
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-kube-api
|
||||
namespace: minio-operator
|
||||
spec:
|
||||
description: Allow access to the Kube API server
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-kube-api
|
||||
namespace: odigos-system
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-port-4317
|
||||
namespace: odigos-system
|
||||
spec:
|
||||
egress:
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "4317"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-api-server
|
||||
namespace: one-password
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: one-password-operator
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-webhooks
|
||||
namespace: one-password
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- kube-apiserver
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9443"
|
||||
protocol: TCP
|
||||
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-kube-api
|
||||
namespace: opencost
|
||||
spec:
|
||||
egress:
|
||||
- toEntities:
|
||||
- kube-apiserver
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "6443"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: opencost
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-otel-collector-loadbalancer-ingress
|
||||
namespace: otel
|
||||
spec:
|
||||
description: Allow ingress from world
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: opentelemetry-collector
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- world
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-mail-egress
|
||||
namespace: postfix
|
||||
spec:
|
||||
description: Allow mailserver to send mails to world
|
||||
egress:
|
||||
- toEntities:
|
||||
- world
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: smtp-relay
|
||||
@@ -1,21 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-mail-ingress
|
||||
namespace: postfix
|
||||
spec:
|
||||
description: Allow all services in cluster to send mail
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: smtp-relay
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchExpressions:
|
||||
- key: io.kubernetes.pod.namespace
|
||||
operator: Exists
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "25"
|
||||
protocol: TCP
|
||||
- port: "587"
|
||||
protocol: TCP
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-prometheus-metrics
|
||||
namespace: postfix
|
||||
spec:
|
||||
description: 'Allow prometheus metrics '
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: smtp-relay
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: prometheus
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "9154"
|
||||
protocol: TCP
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-alerting
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow alerting
|
||||
egress:
|
||||
- toEntities:
|
||||
- world
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: prom-alertmanager
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-alertmanager-ingress
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Nginx ingress
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: alertmanager
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-dns-metrics
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow DNS metrics
|
||||
egress:
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9153"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: prometheus
|
||||
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-etcd-metrics
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow ETCD metrics
|
||||
egress:
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "2379"
|
||||
protocol: TCP
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: prometheus
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-grafana-ingress
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Grafana ingress
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: grafana
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-grafana-oidc-login
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Grafana OIDC login
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: login.microsoftonline.com
|
||||
- matchPattern: '*.microsoftonline.com'
|
||||
- matchName: api.github.com
|
||||
- matchName: github.com
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: grafana
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-grafana-plugins
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Grafana Plugins
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: grafana.com
|
||||
- matchName: storage.googleapis.com
|
||||
- matchName: raw.githubusercontent.com
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: grafana
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-grafana-secure-gravatar
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Grafana Secure Gravatar
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: secure.grafana.com
|
||||
- matchName: secure.gravatar.com
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: grafana
|
||||
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-host-traffic
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Host Traffic
|
||||
egress:
|
||||
- toEntities:
|
||||
- remote-node
|
||||
- host
|
||||
- kube-apiserver
|
||||
endpointSelector:
|
||||
matchLabels: {}
|
||||
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-nginx-ingress
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Nginx ingress
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: prometheus
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: ingress-nginx
|
||||
-19
@@ -1,19 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-opencost-scrape
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow OpenCost scrape
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: prometheus
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
app.kubernetes.io/name: opencost
|
||||
io.kubernetes.pod.namespace: opencost
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "9090"
|
||||
protocol: TCP
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-metrics-server
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Remote Metrics Server
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: metrics-server
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-remote-node-to-webhook
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Remote Web Hook
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: kube-prometheus-stack-operator
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- remote-node
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-robusta-ingress
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow Robusta ingress
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: prom-prometheus
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: robusta
|
||||
@@ -1,13 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-stats-grafana
|
||||
namespace: prometheus
|
||||
spec:
|
||||
description: Allow stats
|
||||
egress:
|
||||
- toFQDNs:
|
||||
- matchName: stats.grafana.org
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: grafana
|
||||
-52
@@ -1,52 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-inter-node-traffic
|
||||
namespace: rabbitmq
|
||||
spec:
|
||||
description: Allow communication between nodes int the RabbitMQ cluster
|
||||
egress:
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
app.kubernetes.io/component: rabbitmq
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "4369"
|
||||
- endPort: 6500
|
||||
port: "6000"
|
||||
- port: "25672"
|
||||
- port: "35672"
|
||||
- port: "35673"
|
||||
- port: "35674"
|
||||
- port: "35675"
|
||||
- port: "35676"
|
||||
- port: "35677"
|
||||
- port: "35678"
|
||||
- port: "35679"
|
||||
- port: "35680"
|
||||
- port: "35681"
|
||||
- port: "35682"
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: rabbitmq
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
app.kubernetes.io/component: rabbitmq
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "4369"
|
||||
- endPort: 6500
|
||||
port: "6000"
|
||||
- port: "25672"
|
||||
- port: "35672"
|
||||
- port: "35673"
|
||||
- port: "35674"
|
||||
- port: "35675"
|
||||
- port: "35676"
|
||||
- port: "35677"
|
||||
- port: "35678"
|
||||
- port: "35679"
|
||||
- port: "35680"
|
||||
- port: "35681"
|
||||
- port: "35682"
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-operator-traffic
|
||||
namespace: rabbitmq
|
||||
spec:
|
||||
description: Allow access to the RabbitMQ operator
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: rabbitmq
|
||||
ingress:
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
app.kubernetes.io/component: rabbitmq-operator
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "15672"
|
||||
- port: "15671"
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-rabbitmq-traffic
|
||||
namespace: rabbitmq
|
||||
spec:
|
||||
description: Allow access to the RabbitMQ cluster
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: rabbitmq
|
||||
ingress:
|
||||
- toPorts:
|
||||
- ports:
|
||||
- port: "5672"
|
||||
- port: "5671"
|
||||
- port: "5552"
|
||||
- port: "5551"
|
||||
- port: "15672"
|
||||
- port: "15671"
|
||||
- port: "61613"
|
||||
- port: "61614"
|
||||
- port: "1883"
|
||||
- port: "8883"
|
||||
- port: "15674"
|
||||
- port: "15675"
|
||||
- port: "15692"
|
||||
- port: "15691"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user