-
Notifications
You must be signed in to change notification settings - Fork 1.2k
implement cluster-local-domain-tls in serving #14610
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
Changes from all commits
2dd28cc
c2a9fe3
d668b09
e14f43c
83f14bb
4415397
584fb6c
a6c363f
67cf527
e04287b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: networking.internal.knative.dev/v1alpha1 | ||
kind: Certificate | ||
metadata: | ||
annotations: | ||
networking.knative.dev/certificate.class: cert-manager.certificate.networking.knative.dev | ||
labels: | ||
networking.knative.dev/certificate-type: system-internal | ||
name: routing-serving-certs | ||
namespace: knative-serving | ||
spec: | ||
dnsNames: | ||
- kn-routing | ||
- data-plane.knative.dev # for reverse-compatibility with net-* implementations that do not work with multi-SANs | ||
secretName: routing-serving-certs |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -967,6 +967,7 @@ func TestReconcileTLSEnabled(t *testing.T) { | |
}, | ||
Labels: map[string]string{ | ||
serving.DomainMappingUIDLabelKey: "becomes.ready.run", | ||
netapi.CertificateTypeLabelKey: string(netcfg.CertificateExternalDomain), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we assume not having the label means it's external? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can, I thought this is more explicit. I don't have a strong opinion on which is better. |
||
}, | ||
}, | ||
Spec: netv1alpha1.CertificateSpec{ | ||
|
@@ -1114,6 +1115,7 @@ func TestReconcileTLSEnabled(t *testing.T) { | |
}, | ||
Labels: map[string]string{ | ||
serving.DomainMappingUIDLabelKey: "challenged.com", | ||
netapi.CertificateTypeLabelKey: string(netcfg.CertificateExternalDomain), | ||
}, | ||
}, | ||
Spec: netv1alpha1.CertificateSpec{ | ||
|
Uh oh!
There was an error while loading. Please reload this page.