gitignore

This commit is contained in:
Ara Sadoyan
2026-05-27 14:03:22 +02:00
parent 69a5167346
commit 310a554a25
3 changed files with 101 additions and 0 deletions

2
.gitignore vendored
View File

@@ -7,6 +7,8 @@
*.sh
/docs/
/docs
/etc/
/etc
/target/
*.iml
.idea/

72
etc/test.json Normal file
View File

@@ -0,0 +1,72 @@
{
"kind": "EndpointsList",
"apiVersion": "v1",
"metadata": {
"resourceVersion": "63494335"
},
"items": [
{
"metadata": {
"name": "vt-api-service-grpc",
"namespace": "staging",
"uid": "1656d00b-9d55-4394-8f3f-d6450bbfe4d9",
"resourceVersion": "63413062",
"creationTimestamp": "2025-09-23T14:33:00Z",
"labels": {
"app": "vt-api-service-v2"
},
"managedFields": [
{
"manager": "kube-controller-manager",
"operation": "Update",
"apiVersion": "v1",
"time": "2025-12-15T09:17:03Z",
"fieldsType": "FieldsV1",
"fieldsV1": {
"f:metadata": {
"f:labels": {
".": {},
"f:app": {}
}
},
"f:subsets": {}
}
}
]
},
"subsets": [
{
"addresses": [
{
"ip": "172.17.0.29",
"nodeName": "172.16.0.172",
"targetRef": {
"kind": "Pod",
"namespace": "staging",
"name": "vt-api-service-v2-649f5db6d5-bwngx",
"uid": "92066ddc-48e0-41fb-9e82-cae7f1cf01f3"
}
},
{
"ip": "172.17.0.99",
"nodeName": "172.16.0.39",
"targetRef": {
"kind": "Pod",
"namespace": "staging",
"name": "vt-api-service-v2-649f5db6d5-zswrc",
"uid": "e8246767-9289-475a-9464-87bfc042a8e2"
}
}
],
"ports": [
{
"name": "vt-api-service-v2",
"port": 50051,
"protocol": "TCP"
}
]
}
]
}
]
}

27
etc/ups_minimal.yaml Normal file
View File

@@ -0,0 +1,27 @@
provider: "file"
sticky_sessions: false
to_https: false
rate_limit: 100
server_headers:
- "Y-Global-Something: Yes this is something"
client_headers:
- "Access-Control-Allow-Origin:*"
- "Access-Control-Allow-Methods:POST, GET, OPTIONS"
- "Access-Control-Max-Age:86400"
- "Strict-Transport-Security:max-age=31536000; includeSubDomains; preload"
upstreams:
mip.netangels.net:
paths:
"/":
rate_limit: 200
to_https: false
servers:
- "127.0.0.1:8000"
polo.netangels.net:
paths:
"/":
to_https: false
client_headers:
- "X-Some-Thing:Yaaaaaaaaaaaaaaa"
servers:
- "192.168.1.1:8000"