aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy
diff options
context:
space:
mode:
authorLathish <lathishbabu.ganesan@est.tech>2022-02-15 20:12:09 +0530
committerLathish <lathishbabu.ganesan@est.tech>2022-02-23 10:36:38 +0000
commit738ed7727f927c241aebbe8148acf8b56c00a160 (patch)
treec58d9f5e3fefd799b6991956a71d1ddbc181e595 /kubernetes/policy
parent044b886ee6c43d7087953ffa2267668f2a830a95 (diff)
[POLICY] Disable helm endpoints by default in k8s participant
- 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>
Diffstat (limited to 'kubernetes/policy')
-rw-r--r--kubernetes/policy/components/policy-clamp-cl-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml19
1 files changed, 18 insertions, 1 deletions
diff --git a/kubernetes/policy/components/policy-clamp-cl-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml b/kubernetes/policy/components/policy-clamp-cl-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml
index fd6de7e5c0..184adb6f0a 100644
--- a/kubernetes/policy/components/policy-clamp-cl-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml
+++ b/kubernetes/policy/components/policy-clamp-cl-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml
@@ -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