Skip to content

Commit 5fc618f

Browse files
committed
Split root_ca in CSR API
1 parent f55d965 commit 5fc618f

File tree

5 files changed

+154
-15
lines changed

5 files changed

+154
-15
lines changed

security/v1alpha1/ca.pb.go

Lines changed: 77 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

security/v1alpha1/ca.pb.html

Lines changed: 36 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

security/v1alpha1/ca.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ message IstioCertificateResponse {
4646
// PEM-encoded certificate chain.
4747
// The leaf cert is the first element, and the root cert is the last element.
4848
repeated string cert_chain = 1;
49+
// Root certificates. This field is newer, and therefor is optional with the following semantics:
50+
// * if root_cert is specified, cert_chain contains [leaf, intermediate1, intermediate2] (intermediates are optional).
51+
// root_cert contains [root1, root2].
52+
// * if root_cert is not specified, cert_chain contains [leaf, intermediate1, intermediate2, root1+root2] concatenated into one entry.
53+
// Note that the individual cert_chain is only signed by a single root. The roots provided here is the full bundle of trusted roots.
54+
Roots root_cert = 2;
55+
}
56+
message Roots {
57+
repeated string ca_cert = 1;
4958
}
5059

5160
// Service for managing certificates issued by the CA.

security/v1alpha1/ca_deepcopy.gen.go

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

security/v1alpha1/ca_json.gen.go

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)