Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -637,167 +637,167 @@
"hashed_secret": "b7e9a6e2e04ed3edbf8b4e21def4beccbb6eb6b1",
"is_secret": false,
"is_verified": false,
"line_number": 230,
"line_number": 233,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "a12337323b638ab044b1166bff4b1a1f83162819",
"is_secret": false,
"is_verified": false,
"line_number": 829,
"line_number": 832,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "fb947972c92f052c0a08866d182be0075a2b601b",
"is_secret": false,
"is_verified": false,
"line_number": 838,
"line_number": 841,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "03e227627ab8681281fdb8aa3d799b03f782d672",
"is_secret": false,
"is_verified": false,
"line_number": 2030,
"line_number": 2033,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "ef5f3d909f23bd0aa02b4253f98350384f709c86",
"is_secret": false,
"is_verified": false,
"line_number": 2137,
"line_number": 2140,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "cb1ae2b504c4615841d8144267a131231d2bd677",
"is_secret": false,
"is_verified": false,
"line_number": 2138,
"line_number": 2141,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "1a1e70e87dd0452c42f33ce9bf74aa28134dba6b",
"is_secret": false,
"is_verified": false,
"line_number": 2139,
"line_number": 2142,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "7b1ba2f04f2f1604dc4e3caffcadf9fcbce7df5b",
"is_secret": false,
"is_verified": false,
"line_number": 2140,
"line_number": 2143,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "0fa3b21ced80146d752888f2b60ec80e0d4b8925",
"is_secret": false,
"is_verified": false,
"line_number": 2145,
"line_number": 2148,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "f084f2068494b8d1cd06811dd97d02c3d85f40ee",
"is_secret": false,
"is_verified": false,
"line_number": 2160,
"line_number": 2163,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "adfa401a3b0a733d8f00519ac8c6b3893a2e7e8e",
"is_secret": false,
"is_verified": false,
"line_number": 2161,
"line_number": 2164,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "898e46bbadc12f87120548bd445eb4210c8407c8",
"is_secret": false,
"is_verified": false,
"line_number": 2169,
"line_number": 2172,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "f57ccec6b8f7b12b635ab53d26c3bf7300247341",
"is_secret": false,
"is_verified": false,
"line_number": 2170,
"line_number": 2173,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "77b044ea736f8cbe568d1954424186d901f89db9",
"is_secret": false,
"is_verified": false,
"line_number": 2171,
"line_number": 2174,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "d64368f12ca17c69568c6a132f17d44d56e60660",
"is_secret": false,
"is_verified": false,
"line_number": 2172,
"line_number": 2175,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "8f9ca35156c02cb6ba58c5b51230b9bedc38de4f",
"is_secret": false,
"is_verified": false,
"line_number": 2173,
"line_number": 2176,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "9ec53cfd9929c70c3f87c210b6a7b77fb6d79d43",
"is_secret": false,
"is_verified": false,
"line_number": 2767,
"line_number": 2770,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "ee977806d7286510da8b9a7492ba58e2484c0ecc",
"is_secret": false,
"is_verified": false,
"line_number": 2920,
"line_number": 2927,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "adc1f5c8707f7d7aba3aabe13c15e5ef1151872e",
"is_secret": false,
"is_verified": false,
"line_number": 2921,
"line_number": 2928,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "ee46262b2df945e46ea310b925ad087465dbd3f2",
"is_secret": false,
"is_verified": false,
"line_number": 3646,
"line_number": 3649,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "f678cad4ab874d71b559a069d5e34a95fe38a480",
"is_secret": false,
"is_verified": false,
"line_number": 3647,
"line_number": 3650,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down
3 changes: 3 additions & 0 deletions ocs_ci/ocs/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
TEMPLATE_COUCHBASE_PILLOWFIGHT_DIR = os.path.join(TEMPLATE_COUCHBASE_DIR, "pillowfight")
TEMPLATE_CEPHFS_STRESS_DIR = os.path.join(TEMPLATE_WORKLOAD_DIR, "cephfs_stress")
TEMPLATE_MCG_DIR = os.path.join(TEMPLATE_DIR, "mcg")
TEMPLATE_BLOCK_NB_EGRESS_NETWORK_POLICY = os.path.join(
TEMPLATE_MCG_DIR, "block_egress_network_policy.yaml"
)
TEMPLATE_RGW_DIR = os.path.join(TEMPLATE_DIR, "rgw")
TEMPLATE_AMQ_DIR = os.path.join(TEMPLATE_WORKLOAD_DIR, "amq")
TEMPLATE_OPENSHIFT_INFRA_DIR = os.path.join(TEMPLATE_DIR, "openshift-infra/")
Expand Down
16 changes: 16 additions & 0 deletions ocs_ci/templates/mcg/block_egress_network_policy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: block-cloud-egress
spec:
# Only targets noobaa-endpoint pods, not other pods in the namespace
podSelector:
matchLabels:
noobaa-s3: noobaa
policyTypes:
- Egress
# Allow egress only to pods within the cluster (any namespace).
# All external traffic (cloud storage, internet) is blocked.
egress:
- to:
- namespaceSelector: {}
Loading
Loading