Skip to content

Commit

Permalink
fix: benthos get_doc util (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag authored Jul 3, 2023
1 parent 2034d11 commit 69c9fc6
Show file tree
Hide file tree
Showing 66 changed files with 126 additions and 125 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ data:
"processors": [
{
"http": {
"url": "%s/%s/_doc/%s".format(env("OPENSEARCH_URL"), env("OPENSEARCH_INDEX"), this.id),
"url": "%s/%s/_doc/%s-%s".format(env("OPENSEARCH_URL"), env("OPENSEARCH_INDEX"), env("STACK"), this.id),
"verb": "GET",
"basic_auth": {
"enabled": env("BASIC_AUTH_ENABLED") == "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,8 +952,8 @@ spec:
name: search-benthos-templates
status:
conditions:
- lastTransitionTime: "2023-06-30T15:11:03Z"
lastUpdateTime: "2023-06-30T15:11:03Z"
- lastTransitionTime: "2023-07-03T14:15:56Z"
lastUpdateTime: "2023-07-03T14:15:56Z"
status: "True"
type: Available
observedGeneration: 1
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: auth
namespace: monopod-latest
spec:
clusterIP: 10.0.0.167
clusterIP: 10.0.0.70
clusterIPs:
- 10.0.0.167
- 10.0.0.70
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: control
namespace: monopod-latest
spec:
clusterIP: 10.0.0.245
clusterIP: 10.0.0.168
clusterIPs:
- 10.0.0.245
- 10.0.0.168
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: gateway
namespace: monopod-latest
spec:
clusterIP: 10.0.0.237
clusterIP: 10.0.0.187
clusterIPs:
- 10.0.0.237
- 10.0.0.187
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: ledger
namespace: monopod-latest
spec:
clusterIP: 10.0.0.163
clusterIP: 10.0.0.170
clusterIPs:
- 10.0.0.163
- 10.0.0.170
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: orchestration
namespace: monopod-latest
spec:
clusterIP: 10.0.0.159
clusterIP: 10.0.0.106
clusterIPs:
- 10.0.0.159
- 10.0.0.106
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: payments
namespace: monopod-latest
spec:
clusterIP: 10.0.0.235
clusterIP: 10.0.0.20
clusterIPs:
- 10.0.0.235
- 10.0.0.20
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: search-benthos
namespace: monopod-latest
spec:
clusterIP: 10.0.0.180
clusterIP: 10.0.0.189
clusterIPs:
- 10.0.0.180
- 10.0.0.189
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: search
namespace: monopod-latest
spec:
clusterIP: 10.0.0.184
clusterIP: 10.0.0.195
clusterIPs:
- 10.0.0.184
- 10.0.0.195
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: stargate
namespace: monopod-latest
spec:
clusterIP: 10.0.0.229
clusterIP: 10.0.0.101
clusterIPs:
- 10.0.0.229
- 10.0.0.101
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: wallets
namespace: monopod-latest
spec:
clusterIP: 10.0.0.102
clusterIP: 10.0.0.246
clusterIPs:
- 10.0.0.102
- 10.0.0.246
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: webhooks
namespace: monopod-latest
spec:
clusterIP: 10.0.0.121
clusterIP: 10.0.0.244
clusterIPs:
- 10.0.0.121
- 10.0.0.244
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ data:
"processors": [
{
"http": {
"url": "%s/%s/_doc/%s".format(env("OPENSEARCH_URL"), env("OPENSEARCH_INDEX"), this.id),
"url": "%s/%s/_doc/%s-%s".format(env("OPENSEARCH_URL"), env("OPENSEARCH_INDEX"), env("STACK"), this.id),
"verb": "GET",
"basic_auth": {
"enabled": env("BASIC_AUTH_ENABLED") == "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -955,8 +955,8 @@ spec:
name: search-benthos-templates
status:
conditions:
- lastTransitionTime: "2023-06-30T15:11:05Z"
lastUpdateTime: "2023-06-30T15:11:05Z"
- lastTransitionTime: "2023-07-03T14:15:57Z"
lastUpdateTime: "2023-07-03T14:15:57Z"
status: "True"
type: Available
observedGeneration: 1
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: auth
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.225
clusterIP: 10.0.0.102
clusterIPs:
- 10.0.0.225
- 10.0.0.102
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: control
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.45
clusterIP: 10.0.0.192
clusterIPs:
- 10.0.0.45
- 10.0.0.192
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: gateway
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.252
clusterIP: 10.0.0.196
clusterIPs:
- 10.0.0.252
- 10.0.0.196
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: ledger
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.57
clusterIP: 10.0.0.22
clusterIPs:
- 10.0.0.57
- 10.0.0.22
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: orchestration
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.224
clusterIP: 10.0.0.132
clusterIPs:
- 10.0.0.224
- 10.0.0.132
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: payments
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.8
clusterIP: 10.0.0.105
clusterIPs:
- 10.0.0.8
- 10.0.0.105
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: search-benthos
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.72
clusterIP: 10.0.0.69
clusterIPs:
- 10.0.0.72
- 10.0.0.69
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: search
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.160
clusterIP: 10.0.0.131
clusterIPs:
- 10.0.0.160
- 10.0.0.131
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: stargate
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.81
clusterIP: 10.0.0.243
clusterIPs:
- 10.0.0.81
- 10.0.0.243
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: wallets
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.37
clusterIP: 10.0.0.4
clusterIPs:
- 10.0.0.37
- 10.0.0.4
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: webhooks
namespace: monopod-ledgerv1
spec:
clusterIP: 10.0.0.94
clusterIP: 10.0.0.33
clusterIPs:
- 10.0.0.94
- 10.0.0.33
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ data:
"processors": [
{
"http": {
"url": "%s/%s/_doc/%s".format(env("OPENSEARCH_URL"), env("OPENSEARCH_INDEX"), this.id),
"url": "%s/%s/_doc/%s-%s".format(env("OPENSEARCH_URL"), env("OPENSEARCH_INDEX"), env("STACK"), this.id),
"verb": "GET",
"basic_auth": {
"enabled": env("BASIC_AUTH_ENABLED") == "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -989,8 +989,8 @@ spec:
name: search-benthos-templates
status:
conditions:
- lastTransitionTime: "2023-06-30T15:11:07Z"
lastUpdateTime: "2023-06-30T15:11:07Z"
- lastTransitionTime: "2023-07-03T14:15:57Z"
lastUpdateTime: "2023-07-03T14:15:57Z"
status: "True"
type: Available
observedGeneration: 1
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: auth
namespace: monopod-search-before-v0-7-0
spec:
clusterIP: 10.0.0.200
clusterIP: 10.0.0.135
clusterIPs:
- 10.0.0.200
- 10.0.0.135
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: control
namespace: monopod-search-before-v0-7-0
spec:
clusterIP: 10.0.0.164
clusterIP: 10.0.0.133
clusterIPs:
- 10.0.0.164
- 10.0.0.133
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: gateway
namespace: monopod-search-before-v0-7-0
spec:
clusterIP: 10.0.0.131
clusterIP: 10.0.0.205
clusterIPs:
- 10.0.0.131
- 10.0.0.205
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: ledger
namespace: monopod-search-before-v0-7-0
spec:
clusterIP: 10.0.0.125
clusterIP: 10.0.0.214
clusterIPs:
- 10.0.0.125
- 10.0.0.214
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: orchestration
namespace: monopod-search-before-v0-7-0
spec:
clusterIP: 10.0.0.78
clusterIP: 10.0.0.6
clusterIPs:
- 10.0.0.78
- 10.0.0.6
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
name: payments
namespace: monopod-search-before-v0-7-0
spec:
clusterIP: 10.0.0.216
clusterIP: 10.0.0.21
clusterIPs:
- 10.0.0.216
- 10.0.0.21
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
Expand Down
Loading

0 comments on commit 69c9fc6

Please sign in to comment.