How can I refer secret value from custom resource ? I am trying some thing like below but its not working
configuration:
baseUrl: "some url"
username: "jack"
password:
valueFrom:
secretKeyRef:
key: identityServiceInstanceURL
name: oauthpassword
password is considered as map instead string replacement , it gives below error
error: error validating "intg/helm/templates/CRDS.yaml": error validating data: ValidationError(Test.spec.configuration.password): invalid type for Test.spec.configuration.password: got "map", expected "string"; if you choose to ignore these errors, turn validation off with --validate=false