summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2022-01-12 07:43:49 +0000
committerGerrit Code Review <gerrit@onap.org>2022-01-12 07:43:49 +0000
commit713b8580259faac67b7b4f3533c96785e54284df (patch)
treecb9bf61af6b2d3bb59cd2f4d77641d92c912f779
parentf8736f0de1169c1cc4b5c6043eba3e67990c6529 (diff)
parentcddb5ebdc5c738085a04ccef154e3dc9f43472b0 (diff)
Merge "[CONTRIB] Fix for re-execution error of the ejbca configuration"
-rwxr-xr-xkubernetes/contrib/components/ejbca/resources/ejbca-config.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/contrib/components/ejbca/resources/ejbca-config.sh b/kubernetes/contrib/components/ejbca/resources/ejbca-config.sh
index 94c95d6c30..a538238151 100755
--- a/kubernetes/contrib/components/ejbca/resources/ejbca-config.sh
+++ b/kubernetes/contrib/components/ejbca/resources/ejbca-config.sh
@@ -49,6 +49,8 @@ configureEjbca() {
ejbca.sh roles changerule "Certificate Update Admin" /endentityprofilesrules/Custom_EndEntity/ ACCEPT
ejbca.sh roles changerule "Certificate Update Admin" /ra_functionality/edit_end_entity/ ACCEPT
ejbca.sh roles addrolemember "Certificate Update Admin" ManagementCA WITH_ORGANIZATION --value "{{ .Values.cmpv2Config.global.certificate.default.subject.organization }}"
+ # workarround to exit successfully, as a reexecution of "addrolemember" returns an error
+ exit 0
}