3.4.2.3. Creating a secret from a .gitconfig file
If the cloning of your application is dependent on a .gitconfig file, then you can create a secret that contains it. Add it to the builder service account and then your BuildConfig.
Procedure
-
To create a secret from a
.gitconfigfile:
$ oc create secret generic <secret_name> --from-file=<path/to/.gitconfig>
참고
SSL verification can be turned off if sslVerify=false is set for the http section in your .gitconfig file:
[http]
sslVerify=false