summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2022-02-24 12:27:38 +0000
committerGerrit Code Review <gerrit@onap.org>2022-02-24 12:27:38 +0000
commitc055885ccec97a46d17c7711e866d656bb3a1811 (patch)
tree7556a4984934f854999b825c9286e9d9510867e3
parent684601a8bb58246a57a269b9960f4ad2b1577147 (diff)
parentc35704c38eff68fdfad6aaa85ca486f283f49e7b (diff)
Merge "[CONTRIB] Fix for re-execution error of the ejbca configuration" into istanbul
-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
}