Skip to content

Conversation

@hjoshi123
Copy link
Contributor

@hjoshi123 hjoshi123 commented Nov 3, 2025

Motivation: cert-manager/cert-manager#8183

CyberArk tracker: VC-46541

Signed-off-by: hjoshi123 <[email protected]>
@cert-manager-prow cert-manager-prow bot added the dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. label Nov 3, 2025
@cert-manager-prow
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign inteon for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@cert-manager-prow cert-manager-prow bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 3, 2025
@mladen-rusev-cyberark
Copy link

/cybr

@maelvls maelvls self-assigned this Nov 3, 2025
@maelvls maelvls added the cybr Used by CyberArk-employed maintainers to report to line management what's being worked on. label Nov 3, 2025
@TMP_NEW=$$(mktemp -d);
@OUTPUT_DIR=$$(mktemp -d);

$(HELM) template cert-manager --repo "oci://$(helm_chart_image_registry)" --version "$(helm_chart_old_version)" > $${TMP_OLD}/old.yaml;
Copy link
Member

Choose a reason for hiding this comment

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

helm_chart_image_registry probably also needs to be defined.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Is cert-manager the chart name? could you use a variable for that too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh right.. yes I can do that

@maelvls
Copy link
Member

maelvls commented Nov 6, 2025

I struggled a little with trying to run this PR from within cert-manager. I found that the helm-diff target isn't reachable from within the cert-manager project:

# From the cert-manager project:
yq -i '(.targets["make/_shared"][] , .targets["make/_shared_new"][]) |= (.repo_ref = "refs/pull/470/head")' klone.yaml
make upgrade-klone
$ make helm-diff
make: *** No rule to make target `helm-diff'.  Stop.

That's because we only import crds.mk in the cert-manager project since we don't use the helm makefile-modules for release the helm chart yet.

In trust-manager, I had the following:

# From the trust-manager project:
$ yq -i '(.targets["make/_shared"][] , .targets["make/_shared_new"][]) |= (.repo_ref = "refs/pull/470/head")' klone.yaml
make upgrade-klone
$ make helm-diff    
make/_shared/helm///helm.mk:193: *** missing separator.  Stop.

Looks like this new target won't work in cert-manager until we are done with cert-manager/cert-manager#7718.

But it will work for all of the other projects such as trust-manager, so I'm in favor of adding it once the above error is fixed.

Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cybr Used by CyberArk-employed maintainers to report to line management what's being worked on. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. ok-to-test size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants