Skip to content

allow git_ssl_no_verify env variable in build pods#9875

Merged
openshift-bot merged 1 commit intoopenshift:masterfrom
bparees:git_ssl_no_verify
Jul 20, 2016
Merged

allow git_ssl_no_verify env variable in build pods#9875
openshift-bot merged 1 commit intoopenshift:masterfrom
bparees:git_ssl_no_verify

Conversation

@bparees
Copy link
Contributor

@bparees bparees commented Jul 15, 2016

This will allow users to control whether our git clone does ssl verification or not, by setting a buildconfig env variable.

@liggitt ptal, i don't think there are any security risks (other than the ones users are signing themselves up for if they set this) to letting users control this env variable within our privileged builder pod, but a sanity check would be good.

@bparees
Copy link
Contributor Author

bparees commented Jul 18, 2016

@liggitt bump

@liggitt
Copy link
Contributor

liggitt commented Jul 18, 2016

did we end up letting webhooks set envvars?

@bparees
Copy link
Contributor Author

bparees commented Jul 18, 2016

yes but not against the privileged pod, they are subjected to the same whitelist rules this is modifying.

@bparees
Copy link
Contributor Author

bparees commented Jul 19, 2016

@liggitt anything else?

@liggitt
Copy link
Contributor

liggitt commented Jul 20, 2016

did we already give them control over injecting a .gitconfig file that controlled this clone? If so, this seems fine

@bparees
Copy link
Contributor Author

bparees commented Jul 20, 2016

yeah, they can provide a gitconfig via the git clone secret.
[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented Jul 20, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/6537/) (Image: devenv-rhel7_4628)

@bparees
Copy link
Contributor Author

bparees commented Jul 20, 2016

[merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 7049217

@openshift-bot openshift-bot merged commit 5fd1268 into openshift:master Jul 20, 2016
@bparees bparees deleted the git_ssl_no_verify branch July 20, 2016 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants