Skip to content

Merge changes from upstream webhook-example.#2

Open
oursland wants to merge 19 commits into
mdonoughe:mainfrom
oursland:update
Open

Merge changes from upstream webhook-example.#2
oursland wants to merge 19 commits into
mdonoughe:mainfrom
oursland:update

Conversation

@oursland

@oursland oursland commented Aug 4, 2023

Copy link
Copy Markdown

No description provided.

jamesorlakin and others added 19 commits April 16, 2022 10:19
A few resources didn't specify a namespace, resulting in a discrepency if `helm template --namespace` is ran and later `kubectl apply` is in a different context.

Signed-off-by: James Lakin <james@jameslakin.co.uk>
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
This includes switching to go 1.17.

Signed-off-by: Marko Vukovic <anonsoftware@gmail.com>
Kubebuilder tools version 1.21.2 previously used does not work on arm64
(specifically Raspberry PI). Interestingly, the latest (as of the time
of this commit) version 1.24.2 does not work either. An error message
like this causes the test to fail:

apiserver.go:43: failed to start control plane: unable to start control plane itself: failed to start the controlplane. retried 5 times: timeout waiting for process kube-apiserver to start

However, with 1.24.1 the test "mostly" passes, although it may
occasionally fail. It might be that Raspberry PI is too slow and
something times out.

Signed-off-by: Marko Vukovic <anonsoftware@gmail.com>
Signed-off-by: Marko Vukovic <anonsoftware@gmail.com>
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
…space

Add explicit namespaces to all namespaced resources in Helm charts
Signed-off-by: irbekrm <irbekrm@gmail.com>
Also removes a bunch of replaces that should no longer be needed

Signed-off-by: irbekrm <irbekrm@gmail.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
@rome-user

rome-user commented Sep 16, 2023

Copy link
Copy Markdown

@mdonoughe any objections?

EDIT: It seems cert-manager upstream has removed kubebuilder. In order for tests to run (and pass), it suffices on my end to remove line 26 of main_test.go

@mdonoughe

Copy link
Copy Markdown
Owner

This PR makes a lot of changes and I don't understand what it's supposed to do.

@rome-user

rome-user commented Sep 26, 2023

Copy link
Copy Markdown

Each of these changes are taken from the upstream example. Either tidying up existing code or changing existing functionality for compatibility with newer versions of cert-manager. It is essentially a merge of the upstream with your repository.

I have taken the changes in this PR and made a minor change to the conformance test. This allows me to use this webhook with the latest cert-manager and Porkbun API.

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.

9 participants