Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport CRT UBI onboarding to 1.9.x #15710

Merged
merged 5 commits into from
May 31, 2022

Conversation

cipherboy
Copy link
Contributor

See also: #14369 + #15272 + #15439 + #15443 + #15438.

Note that #14369 wasn't cherry-picked but included in the first commit. This isn't relevant for FIPS but is good to have UBI process be the same across releases.

cipherboy and others added 4 commits May 31, 2022 15:13
* Copy UBI Dockerfile into Vault

This Dockerfile was modeled off of the existing Alpine Dockerfile (in
this repo) and the external Dockerfile from the docker-vault repo:

> https://github.com/hashicorp/docker-vault/blob/master/ubi/Dockerfile

We also import the UBI-specific docker-entrypoint.sh, as certain
RHEL/Alpine changes (like interpreter) require a separate entry script.

Signed-off-by: Alexander Scheel <[email protected]>

* Add UBI build to CRT pipeline

Also adds workflow_dispatch to the CRT pipeline, to allow manually
triggering CRT from PRs, when desired.

Signed-off-by: Alexander Scheel <[email protected]>

* Update Dockerfile

Co-authored-by: Sam Salisbury <[email protected]>

* Update Dockerfile

Co-authored-by: Sam Salisbury <[email protected]>

* Update Dockerfile

Co-authored-by: Sam Salisbury <[email protected]>

* Update Dockerfile

* Update Dockerfile

* Update build.yml

Allow for both push to arbitrary branch plus workflow dispatch, per Newsletter article.

------

Also pulls in changes from 0ee2ac3 as
this wasn't backported.

------

Co-authored-by: Sam Salisbury <[email protected]>
It is believed to break the helm chart; see also:

#15272 (comment)

Signed-off-by: Alexander Scheel <[email protected]>
This variable doesn't use ParseBool and thus strictly requires "true" as
the value.

Signed-off-by: Alexander Scheel <[email protected]>
Dockerfile Outdated Show resolved Hide resolved
Co-authored-by: Theron Voran <[email protected]>
@cipherboy
Copy link
Contributor Author

Thanks! Since this is a backport, I'll address other feedback in subsequent PRs as necessary. Merging...

@cipherboy cipherboy merged commit ee2f226 into release/1.9.x May 31, 2022
@cipherboy cipherboy added the fips label Jun 7, 2022
@cipherboy cipherboy deleted the cipherboy-backport-crt-ubi-1.9.x branch June 16, 2022 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants