From 970cd061f4f5d2d07dc9bda1577fa109e1ede2f2 Mon Sep 17 00:00:00 2001 From: Naga Ravi Chaitanya Elluri Date: Fri, 8 Oct 2021 09:04:24 -0400 Subject: [PATCH] Set the location of cerberus config to match entrypoint Entrypoint for reference - https://github.com/cloud-bulldozer/cerberus/blob/master/containers/Dockerfile#L23. --- config/cerberus.yaml | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cerberus.yaml b/config/cerberus.yaml index aaf56242..874d0c78 100644 --- a/config/cerberus.yaml +++ b/config/cerberus.yaml @@ -1,6 +1,6 @@ cerberus: distribution: openshift # Distribution can be kubernetes or openshift - kubeconfig_path: ~/.kube/config # Path to kubeconfig + kubeconfig_path: /root/.kube/config # Path to kubeconfig port: 8080 # http server port where cerberus status is published watch_nodes: True # Set to True for the cerberus to monitor the cluster nodes watch_cluster_operators: True # Set to True for cerberus to monitor cluster operators diff --git a/docker-compose.yml b/docker-compose.yml index 66c928b2..930bff60 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,5 +31,5 @@ services: ports: - "8080:8080" volumes: - - ./config/cerberus.yaml:/root/cerberus/config/cerberus.yaml:Z # Modify the config in case of the need to monitor additional components + - ./config/cerberus.yaml:/root/cerberus/config/config.yaml:Z # Modify the config in case of the need to monitor additional components - /root/.kube/config:/root/.kube/config:Z