[POLICY] Add overridable helm paramaters for k8s ppnt
Make permitted repository list overridable from values.yaml
CofigMap populates the application properties file with required values.
Issue-ID: POLICY-4237
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ib48716f12bc5f4d22fbda8e22fd2077e0e982ec3
diff --git a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
index 5920bda..5858b36 100644
--- a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
@@ -138,3 +138,17 @@
nameOverride: policy-clamp-ac-k8s-ppnt
roles:
- create
+# Update the config here for permitting repositories and protocols
+repoList:
+ helm:
+ repos:
+ -
+ repoName: kong
+ address: https://charts.konghq.com
+ -
+ repoName: bitnami
+ address: https://charts.bitnami.com/bitnami
+
+ protocols:
+ - http
+ - https