Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Rebased #472: Set Certificate.Spec.Domain as commonName - #478

Merged
knative-prow[bot] merged 11 commits into
knative-extensions:mainfrom
dprotaso:short-common-name
Jan 24, 2023
Merged

knative-prow[bot] merged 11 commits into
knative-extensions:mainfrom
dprotaso:short-common-name

Conversation

@dprotaso

@dprotaso dprotaso commented Jan 19, 2023 •

Copy link
Copy Markdown
Contributor

Rebased: #472

Certificates created will use shortened Common Name

@knative-prow

knative-prow Bot commented Jan 19, 2023

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso

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

The pull request process is described here

Details 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

@knative-prow knative-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 19, 2023
@dprotaso dprotaso changed the title Rebased #472: Set Certificate.Spec.Domain as commonName [WIP] Rebased #472: Set Certificate.Spec.Domain as commonName Jan 19, 2023
@knative-prow knative-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 19, 2023
@codecov

codecov Bot commented Jan 19, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #478 (4be7669) into main (9843fa0) will decrease coverage by 7.43%.
The diff coverage is 60.91%.

@@            Coverage Diff             @@
##             main     #478      +/-   ##
==========================================
- Coverage   91.66%   84.23%   -7.43%     
==========================================
  Files           5        5              
  Lines         288      368      +80     
==========================================
+ Hits          264      310      +46     
- Misses         13       41      +28     
- Partials       11       17       +6     
Impacted Files Coverage Δ
pkg/reconciler/certificate/certificate.go 78.08% <28.57%> (-6.92%) ⬇️
pkg/reconciler/certificate/config/cert_manager.go 76.36% <69.76%> (-23.64%) ⬇️
.../certificate/resources/cert_manager_certificate.go 88.23% <73.91%> (-11.77%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dprotaso

dprotaso commented Jan 19, 2023 •

Copy link
Copy Markdown
Contributor Author

Testing changes knative/serving#13621

@dprotaso

Copy link
Copy Markdown
Contributor Author

OK - I confirmed the changes work with a long domain name :)

@dprotaso dprotaso changed the title [WIP] Rebased #472: Set Certificate.Spec.Domain as commonName Rebased #472: Set Certificate.Spec.Domain as commonName Jan 20, 2023
@knative-prow knative-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 20, 2023
@dprotaso

Copy link
Copy Markdown
Contributor Author

/hold - actually autotls/HTTP01 tests don't run by default

@knative-prow knative-prow Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 20, 2023
@dprotaso

Copy link
Copy Markdown
Contributor Author

/retest

@dprotaso

Copy link
Copy Markdown
Contributor Author

weird dns

dial tcp: lookup http01-conformance-http01-dulfigmm.knative-test.dev on 10.12.0.10:53: no such host

@KauzClay

Copy link
Copy Markdown
Contributor

weird dns

dial tcp: lookup http01-conformance-http01-dulfigmm.knative-test.dev on 10.12.0.10:53: no such host

I wonder if that is because of childName here: https://github.com/knative-sandbox/net-certmanager/pull/478/files#diff-71f7802c8b209384945425e686dc7eb367a0c9f21a84ee5f13aff8146be6082bR59

@dprotaso

dprotaso commented Jan 23, 2023 •

Copy link
Copy Markdown
Contributor Author

These domains never worked - the HTTP01 conformance test just checks that the challenges are set on the certificate - but doesn't test that the certs are issued

So the test here need to be updated

https://github.com/knative/networking/blob/4ccbe609c589189f2f0f3f60a3e7babbbf497e31/test/conformance/certificate/http01/certificate.go#L42-L47

@dprotaso dprotaso changed the title Rebased #472: Set Certificate.Spec.Domain as commonName [wip] Rebased #472: Set Certificate.Spec.Domain as commonName Jan 23, 2023
@knative-prow knative-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 23, 2023
@dprotaso dprotaso changed the title [wip] Rebased #472: Set Certificate.Spec.Domain as commonName Rebased #472: Set Certificate.Spec.Domain as commonName Jan 23, 2023
@knative-prow knative-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 23, 2023
@KauzClay

Copy link
Copy Markdown
Contributor

/lgtm

@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jan 23, 2023
@dprotaso

Copy link
Copy Markdown
Contributor Author

/hold cancel

@knative-prow knative-prow Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 23, 2023
@knative-prow
knative-prow Bot merged commit 23d22a9 into knative-extensions:main Jan 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants