summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/kubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json b/kubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json
new file mode 100755
index 0000000000..cd715f8b6a
--- /dev/null
+++ b/kubernetes/consul/resources/config/consul-agent-config/aaf-service-health.json
@@ -0,0 +1,20 @@
+{
+ "service": {
+ "name": "Health Check: Application Authorization Framework",
+ "checks": [
+ {
+ "id": "aaf-service",
+ "name": "AAF Service Health Check",
+ "http": "https://aaf-service:8100/authz/perms/user/demo@people.osaaf.org",
+ "header": {
+ "Authorization": ["Basic ZGVtb0BwZW9wbGUub3NhYWYub3JnOmRlbW8xMjM0NTYh"],
+ "X-TransactionId": ["ConsulHealthCheck"],
+ "X-FromAppId": ["healthcheck"]
+ },
+ "tls_skip_verify": true,
+ "interval": "20s",
+ "timeout": "5s"
+ }
+ ]
+ }
+}