[POLICY] Disable helm endpoints by default in k8s participant 35/127135/5
authorLathish <lathishbabu.ganesan@est.tech>
Tue, 15 Feb 2022 14:42:09 +0000 (20:12 +0530)
committerLathish <lathishbabu.ganesan@est.tech>
Wed, 23 Feb 2022 10:36:38 +0000 (10:36 +0000)
- Disable all helm operations through REST endpoints.
- Add the context path

Issue-ID: POLICY-3894
Change-Id: Ib4b375ab8d52e06a112a005b60832545a95d62e7
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
kubernetes/policy/components/policy-clamp-cl-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml

index fd6de7e..184adb6 100644 (file)
@@ -1,5 +1,5 @@
 #  ============LICENSE_START=======================================================
-#   Copyright (C) 2021 Nordix Foundation. All rights reserved.
+#   Copyright (C) 2021-2022 Nordix Foundation. All rights reserved.
 #  ================================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -57,4 +57,21 @@ server:
   # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
   # See springboot documentation.
   port: 8083
+  servlet:
+    context-path: /onap/policy/clamp/acm/k8sparticipant
 
+logging:
+  # Configuration of logging
+  level:
+    ROOT: ERROR
+    org.springframework: ERROR
+    org.springframework.data: ERROR
+    org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
+    org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
+
+  file:
+    name: /var/log/onap/policy/clamp/application.log
+
+chart:
+  api:
+    enabled: false
\ No newline at end of file