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

Support local cert manager #139

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Support local cert manager #139

merged 1 commit into from
Oct 2, 2023

Conversation

Boomatang
Copy link
Contributor

Add the installation of the cert manager for the tools used during dev work.

Validation

  • Create a local kind cluster
kind create cluster
  • Set up the operator namespace
kubectl create namespace authorino-operator
  • Install the Operator manifests, cert manager will be add during this stage
make install
  • Deploy the operator
make deploy
  • Expect: Operator web hook to deploy.
kubectl get deployment authorino-webhooks -n authorino-operator

Closes: Kuadrant/kuadrant-operator#257

@Boomatang Boomatang requested a review from a team September 28, 2023 09:57
eguzki
eguzki previously approved these changes Sep 28, 2023
Copy link
Collaborator

@guicassolato guicassolato left a comment

Choose a reason for hiding this comment

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

Left a comment about which make target depends on install-cert-manager. Other than that, verification steps work, including make run alternatively to make deploy.

Makefile Outdated
@@ -182,7 +185,7 @@ docker-push: ## Push docker image with the manager.

##@ Deployment

install: manifests kustomize install-authorino ## Install CRDs into the K8s cluster specified in ~/.kube/config.
install: manifests kustomize install-cert-manager install-authorino ## Install CRDs into the K8s cluster specified in ~/.kube/config.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Technically, cert-manager is a dependency for the Authorino webhook, which is deployed by install-authorino. I'd move it there, instead of make install.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure I am not going to argue with that.

Add the installation of the cert manager for the tools used during dev
work.
@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2023

Codecov Report

Merging #139 (a133c2b) into main (261466d) will increase coverage by 1.36%.
Report is 2 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #139      +/-   ##
==========================================
+ Coverage   63.11%   64.48%   +1.36%     
==========================================
  Files           1        1              
  Lines         732      732              
==========================================
+ Hits          462      472      +10     
+ Misses        220      211       -9     
+ Partials       50       49       -1     
Flag Coverage Δ
unit 64.48% <ø> (+1.36%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@guicassolato guicassolato left a comment

Choose a reason for hiding this comment

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

Thank you!

@Boomatang Boomatang merged commit 33db95d into main Oct 2, 2023
8 checks passed
@eguzki eguzki deleted the local-setup-cert-manager branch October 2, 2023 12:40
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.

Install cert-manager in local setup
4 participants