[CONTRIB] Fix for re-execution error of the ejbca configuration 05/126805/3
authorAndreas Geissler <andreas-geissler@telekom.de>
Fri, 7 Jan 2022 16:17:31 +0000 (16:17 +0000)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 23 Feb 2022 07:53:52 +0000 (07:53 +0000)
commitc35704c38eff68fdfad6aaa85ca486f283f49e7b
tree68ffbca6a979fe63d9f9c56e132248fba56864ce
parentea1f9f60ff06c72f69a5bee1cdd31884125e36ac
[CONTRIB] Fix for re-execution error of the ejbca configuration

If ejbca gets restarted, the config script should return 0,
although addrolemember as last command returns an error,
as the entry already exists

Issue-ID: OOM-2904

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: If27fe92e41b5fc7fc91f0298bea87fb0d566fed2
(cherry picked from commit cddb5ebdc5c738085a04ccef154e3dc9f43472b0)
kubernetes/contrib/components/ejbca/resources/ejbca-config.sh