Commit b3c07a57 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Added Health Probes

parent 66a5411e
......@@ -28,6 +28,9 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/","*/v2/api-docs","*/swagger-resources",
"/entitlements/v1/swagger-resources/*","*/swagger-ui.html",
notPaths: ["/",
"*/v2/api-docs",
"*/swagger-resources","*/swagger-ui.html",
"*/actuator/health",
"/entitlements/v1/swagger-resources/*",
"/entitlements/v1/webjars/*"]
......@@ -28,8 +28,14 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/","*/v2/api-docs","*/swagger-resources","*/swagger",
"/api/indexer/v2/swagger-resources/*","*/swagger-ui.html",
"/api/indexer/v2/webjars/*","*/index.html",
"*/index-worker", "*/_dps/task-handlers", "/api/indexer/v2/_dps/task-handlers/*",
"*/reindex","*/configuration/security"]
notPaths: ["/","*/index.html",
"*/v2/api-docs",
"*/swagger","*/swagger-resources","*/swagger-ui.html",
"*/actuator/health",
"/api/indexer/v2/swagger-resources/*",
"/api/indexer/v2/webjars/*",
"*/index-worker",
"*/_dps/task-handlers",
"/api/indexer/v2/_dps/task-handlers/*",
"*/reindex",
"*/configuration/security"]
......@@ -28,7 +28,10 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/", "*/index.html", "*/v2/api-docs", "*/configuration/ui",
"*/configuration/security", "*/swagger", "*/swagger-ui.html",
"*/swagger-resources","/api/legal/v1/swagger-resources/*",
notPaths: ["/","*/index.html",
"*/v2/api-docs",
"*/configuration/ui","*/configuration/security",
"*/swagger","*/swagger-ui.html","*/swagger-resources",
"*/actuator/health",
"/api/legal/v1/swagger-resources/*",
"/api/legal/v1/webjars/*"]
# Copyright 2017-2019, Schlumberger
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
......@@ -28,7 +28,11 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/", "*/index.html", "*/v1/api-docs", "*/configuration/ui",
"*/configuration/security", "*/swagger", "*/swagger-ui.html",
"*/swagger-resources","/api/partition/v1/swagger-resources/*",
"/api/partition/v1/webjars/*", "*/_ah/**"]
notPaths: ["/","*/index.html",
"*/v1/api-docs",
"*/configuration/ui","*/configuration/security",
"*/swagger","*/swagger-resources","*/swagger-ui.html",
"*/actuator/health",
"/api/partition/v1/swagger-resources/*",
"/api/partition/v1/webjars/*",
"*/_ah/**"]
......@@ -28,5 +28,7 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/","*/swagger-resources","*/swagger",
"/api/register/v1/swagger-resources/*","*/swagger-ui.html"]
notPaths: ["/",
"*/swagger","*/swagger-resources","*/swagger-ui.html",
"*/actuator/health",
"/api/register/v1/swagger-resources/*"]
......@@ -28,5 +28,7 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/","*/swagger-resources","*/swagger",
"/api/schema-service/v1/swagger-resources/*","*/swagger-ui.html"]
notPaths: ["/",
"*/swagger","*/swagger-resources","*/swagger-ui.html",
"*/actuator/health",
"/api/schema-service/v1/swagger-resources/*"]
......@@ -28,7 +28,10 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/","*/v2/api-docs","*/swagger-resources","*/swagger",
"/api/search/v2/swagger-resources/*","*/swagger-ui.html",
"/api/search/v2/webjars/*","*/index.html",
"*/configuration/security","*/configuration/ui"]
notPaths: ["/","*/index.html",
"*/v2/api-docs",
"*/swagger","*/swagger-resources","*/swagger-ui.html",
"*/actuator/health",
"*/configuration/ui","*/configuration/security",
"/api/search/v2/swagger-resources/*",
"/api/search/v2/webjars/*"]
......@@ -28,7 +28,10 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/","*/v2/api-docs","*/swagger-resources","*/swagger",
"/api/storage/v2/swagger-resources/*","*/swagger-ui.html",
"/api/storage/v2/webjars/*","*/index.html",
"*/configuration/security","*/configuration/ui"]
notPaths: ["/","*/index.html",
"*/v2/api-docs",
"*/swagger","*/swagger-resources","*/swagger-ui.html",
"*/actuator/health",
"*/configuration/ui","*/configuration/security",
"/api/storage/v2/swagger-resources/*",
"/api/storage/v2/webjars/*"]
# Copyright 2017-2019, Schlumberger
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
......@@ -28,8 +28,12 @@ spec:
notRequestPrincipals: ["*"]
to:
- operation:
notPaths: ["/", "*/index.html", "*/v2/api-docs", "*/configuration/ui",
"*/configuration/security", "*/swagger", "*/swagger-ui.html",
"*/swagger-resources","/api/unit/swagger-resources/*",
"/api/unit/webjars/*", "*/_ah/**"]
notPaths: ["/","*/index.html",
"*/v2/api-docs",
"*/swagger","*/swagger-resources","*/swagger-ui.html",
"*/actuator/health",
"*/configuration/ui","*/configuration/security",
"/api/unit/swagger-resources/*",
"/api/unit/webjars/*",
"*/_ah/**"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment