SCCs are cluster-scoped, but here we just want an SCC uniquely for use
by the `coreos-ci` project. So prefix the SCC name with that.
This may have been the root of an issue where we had this SCC defined
mulitple times (once here and once in the `fedora-coreos-pipeline` role)
and any users added were lost because it was being redefined.
The one in `fedora-coreos-pipeline` has since been nuked:
https://pagure.io/fedora-infra/ansible/pull-request/989
We added more to the api and machine-config, but those only go to
control nodes, not compute nodes. Just revert this section entirely, it
was a bad idea and we shall never speak of it again. :)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This fixes ticket 10521.
Basically we want to just open the api. It requires auth to do anything
and other openshift instances have it available, so it shouldn't
hopefully expose us to too much risk. With ocp3 the api was part of the
normal port/web flow, but with ocp4 it's a seperate port.
This also adds new workers to haproxy. I can drop that part if it's
controversal, but it should be fine I would think.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
We should be able to do this without too much overcommitting and it
could help builds avoid OOM (see devel list thread)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
The old 2020 cert expires on 2022-03-07 which is only 5 days from now.
This moves it to a new 2022 cert that lasts 1 year.
This will need the proxies playbook run after it's pushed.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This is the preparation for the end of support for authentication by username
and password by bugzilla.
This configuration value is not used for anything right now, but there is
already [PR](https://pagure.io/fedora-infra/toddlers/pull-request/94) created
in toddlers that will make use of this config value.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
We need to "permanently" disable zram0 when the builder image is
created, so this is just a hot-fix that let us experiment...
Relates: https://pagure.io/copr/copr/issue/2077
Because the user and password authentication will no longer work with Bugzilla
from 28th February let's switch to API key in staging.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
- Drop WSGIPassAuthorization, no authorization on http://
- Drop 'WSGIProcessGroup repo' for port 80. Repo consumers should go
through https:// too (dnf-plugins-core's default) anyways. So any
repo-file traffic over plain http:// would be more visible in the
port80 process group
- Add RewriteCond+RewriteRule config for the automatic redirect
Relates: https://pagure.io/copr/copr/issue/2100