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

Don't build trust bundle images using make image #269

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

SgtCoDFish
Copy link
Member

make image is not as well defined as make trust-package-debian-save or make trust-manager-load, but it seems reasonable to have it available as a test when developing trust-manager.

If make image also applies to the trust package, it requires that users come up with a value for DEBIAN_TRUST_PACKAGE_VERSION which most users won't be able to guess.

Most users should be using the provided commands for loading trust-manager into a kind cluster when developing, which sidesteps this problem entirely.

It feels like the simplest thing here is to have make image be an alias for make trust-manager-save.

`make image` is not as well defined as `make trust-package-debian-save`
or `make trust-manager-load`, but it seems reasonable to have it
available as a test when developing trust-manager.

If `make image` also applies to the trust package, it requires that
users come up with a value for `DEBIAN_TRUST_PACKAGE_VERSION` which most
users won't be able to guess.

Most users should be using the provided commands for loading
trust-manager into a kind cluster when developing, which sidesteps this
problem entirely.

It feels like the simplest thing here is to have `make image` be an
alias for `make trust-manager-save`.

Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 8, 2024
Copy link
Member

@hawksight hawksight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

I did not try this but the change looks sensible.

@jetstack-bot
Copy link
Contributor

@hawksight: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@inteon
Copy link
Member

inteon commented Jan 12, 2024

/approve
/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 12, 2024
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hawksight, inteon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 12, 2024
@jetstack-bot jetstack-bot merged commit 9df0e86 into cert-manager:main Jan 12, 2024
3 of 4 checks passed
@SgtCoDFish SgtCoDFish deleted the make-image branch January 12, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants