diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2022-07-18 16:54:51 +0100 |
---|---|---|
committer | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2022-07-18 16:54:51 +0100 |
commit | 3c81b1d77c53b18e94e282d8bf0250a5563875d0 (patch) | |
tree | c75edb3d1554ba52d0c92e6d8559b3cd43db62b3 /kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/configmap.yaml | |
parent | 19253fcbba119e3c57ccd39690e04afa02e40f33 (diff) |
[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
Diffstat (limited to 'kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/configmap.yaml')
-rw-r--r-- | kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/configmap.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/configmap.yaml b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/configmap.yaml index 09cc8cd48f..54c595cc8f 100644 --- a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/configmap.yaml +++ b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/configmap.yaml @@ -30,3 +30,8 @@ metadata: heritage: {{ .Release.Service }} data: {{ tpl (.Files.Glob "resources/config/*.{xml,yaml}").AsConfig . | indent 2 }} +{{- if .Values.repoList }} +{{ tpl (.Files.Glob "resources/config/KubernetesParticipantParameters.yaml").AsConfig . | indent 2 }} +{{ toYaml .Values.repoList | indent 4 }} +{{ tpl (.Files.Glob "resources/config/*.{json,xml,sh}").AsConfig . | indent 2 }} +{{- end }}
\ No newline at end of file |