-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(operator): Remove deployment when is desactivated
- Loading branch information
Showing
177 changed files
with
2,766 additions
and
337 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
1 change: 0 additions & 1 deletion
1
components/operator/apis/stack/v1beta3/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ kind: Configuration | |
metadata: | ||
name: default | ||
spec: | ||
light: true | ||
broker: | ||
kafka: | ||
brokers: | ||
|
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
102 changes: 102 additions & 0 deletions
102
...rs/stack/testdata/monopod-disabled-one-service/results/configmaps--v1/gateway-config.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,102 @@ | ||
apiVersion: v1 | ||
data: | ||
Caddyfile: |- | ||
(cors) { | ||
header { | ||
Access-Control-Allow-Methods "GET,OPTIONS,PUT,POST,DELETE,HEAD,PATCH" | ||
Access-Control-Allow-Headers content-type | ||
Access-Control-Max-Age 100 | ||
Access-Control-Allow-Origin * | ||
} | ||
} | ||
(handle_route_without_auth) { | ||
# handle does not strips the prefix from the request path | ||
handle {args.0}/* { | ||
reverse_proxy {args.1} | ||
import cors | ||
} | ||
} | ||
(handle_path_route_with_auth) { | ||
# handle_path automatically strips the prefix from the request path | ||
handle_path {args.0}* { | ||
reverse_proxy {args.1} | ||
import cors | ||
import auth | ||
} | ||
} | ||
(handle_path_route_without_auth) { | ||
# handle_path automatically strips the prefix from the request path | ||
handle_path {args.0}* { | ||
reverse_proxy {args.1} | ||
import cors | ||
} | ||
} | ||
(auth) { | ||
auth { | ||
issuer http://example.net/api/auth | ||
read_key_set_max_retries 10 | ||
} | ||
} | ||
{ | ||
# Many directives manipulate the HTTP handler chain and the order in which | ||
# those directives are evaluated matters. So the jwtauth directive must be | ||
# ordered. | ||
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order | ||
order auth before basicauth | ||
order versions after metrics | ||
} | ||
:8000 { | ||
tracing { | ||
span gateway | ||
} | ||
log { | ||
output stdout | ||
} | ||
import handle_path_route_without_auth /api/auth 127.0.0.1:10001 | ||
import handle_path_route_with_auth /api/payments 127.0.0.1:10002 | ||
import handle_path_route_with_auth /api/search 127.0.0.1:10003 | ||
import handle_path_route_with_auth /api/search-benthos 127.0.0.1:4195 | ||
import handle_path_route_with_auth /api/stargate 127.0.0.1:10004 | ||
import handle_path_route_with_auth /api/wallets 127.0.0.1:10005 | ||
import handle_path_route_with_auth /api/webhooks 127.0.0.1:10006 | ||
handle /versions { | ||
versions { | ||
region "us-west-1" | ||
env "staging" | ||
endpoints { | ||
auth http://127.0.0.1:10001/_info http://127.0.0.1:10001/_healthcheck | ||
payments http://127.0.0.1:10002/_info http://127.0.0.1:10002/_health | ||
search http://127.0.0.1:10003/_info http://127.0.0.1:10003/_healthcheck | ||
stargate http://127.0.0.1:10004/_info http://127.0.0.1:10004/_healthcheck | ||
wallets http://127.0.0.1:10005/_info http://127.0.0.1:10005/_healthcheck | ||
webhooks http://127.0.0.1:10006/_info http://127.0.0.1:10006/_healthcheck | ||
} | ||
} | ||
} | ||
# handle all other requests | ||
handle { | ||
reverse_proxy control:3000 | ||
import cors | ||
} | ||
} | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
stack: "true" | ||
name: gateway-config | ||
namespace: monopod-disabled-one-service |
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
Oops, something went wrong.
d434543
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./
docs-formance.vercel.app
docs.formance.com
docs-git-main-formance.vercel.app
developers.numary.com
docs.numary.com
developers.formance.com