Add kubernetes configuration fetching based on profile. 83/133583/1
authoraravind.est <aravindhan.a@est.tech>
Wed, 8 Mar 2023 15:08:44 +0000 (15:08 +0000)
committeraravind.est <aravindhan.a@est.tech>
Wed, 8 Mar 2023 15:10:09 +0000 (15:10 +0000)
commit4f15b44c04a6f328f1a3357b859482c147fba0cd
tree51c692cb237287adc32353c1980960b315fb2a28
parent7c4e1a2a23a0f0e2daf23fce7130a4327af25776
Add kubernetes configuration fetching based on profile.

Fetch the kubernetes configuration from cluster only when the container runs on kubernetes cluster. This allows the container to run in a docker-compose based deployment.

Issue-ID: POLICY-4574
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: If12895c17734e87c327dda73ace0a91947f98022
participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/Application.java