Put another way, how can I create a secret from user input? On 30 January 2017 at 18:45, Lionel Orellana <lione...@gmail.com> wrote:
> Hello > > I'm trying to create a secret as part of a template but the value of the > secret should come from a parameter. Something like this: > > { > "kind": "Template", > "apiVersion": "v1", > ... > }, > "objects": [ > ... > { > "kind": "Secret", > "apiVersion": "v1", > "metadata": { > "name": "svn-pwd", > "creationTimestamp": null > }, > "stringData": { > "password": "${SVN_PASSWORD}" > } > } > ], > "parameters": [ > { > "name": "SVN_PASSWORD", > "value": "", > "description": "Will be stored as a secret", > "required": true > } > ] > } > > > The secret is getting created but it's not resolving the parameter value > (i.e. the value is literally ${SVN_PASSWORD}). > > Is there a way to resolve the template parameter in the secret definition? > > Thanks > > > >
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users