Fixed issue with setup of customSecret