Thanks, will try it out.

On Nov 21, 2016 17:00, "Mateus Caruccio" <[email protected]>
wrote:

> Yep. Works fine, just create a secret and use it in your buildconfig:
>
> $ oc export secrets basic-secret -o yaml
> apiVersion: v1
> kind: Secret
> type: Opaque
> data:
>   password: bXlwYXNzd3JkCg==
>   username: bXl1c2VyCg==
> metadata:
>   <metadata content...>
>
>
> $ oc export bc/app
>   ...
>   source:
>     type: Git
>     contextDir: /
>     git:
>       ref: stable
>       uri: [email protected]:caruccio/private-project.git
>     sourceSecret:
>       name: basic-secret
>
>
>
> --
> Mateus Caruccio / Master of Puppets
> GetupCloud.com - Eliminamos a Gravidade
>
> On Mon, Nov 21, 2016 at 7:51 PM, Subhendu Ghosh <[email protected]>
> wrote:
>
>> Anyone using https integration for git instead of ssh?
>>
>> Thanks
>> Subhendu
>>
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to