Skip to content

Commit 60c2436

Browse files
committed
Update lifecycle of APIs for trusted certificates
Signed-off-by: Ming Lu <ming.lu@cloud.com>
1 parent 21aef38 commit 60c2436

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

doc/content/design/trusted-certificates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Trusted certificates for identity validation in TLS connections
33
layout: default
44
design_doc: true
55
revision: 2
6-
status: draft
6+
status: released (26.13.0)
77
---
88

99
# Overview

ocaml/idl/datamodel_lifecycle.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ let prototyped_of_field = function
7070
| "Repository", "gpgkey_path" ->
7171
Some "22.12.0"
7272
| "Certificate", "purpose" ->
73-
Some "26.10.0-next"
73+
Some "26.13.0"
7474
| "Certificate", "fingerprint_sha1" ->
7575
Some "24.20.0"
7676
| "Certificate", "fingerprint_sha256" ->
@@ -300,13 +300,13 @@ let prototyped_of_message = function
300300
| "VM", "set_groups" ->
301301
Some "24.19.1"
302302
| "pool", "exchange_crls_on_join" ->
303-
Some "26.10.0-next"
303+
Some "26.13.0"
304304
| "pool", "exchange_trusted_certificates_on_join" ->
305-
Some "26.10.0-next"
305+
Some "26.13.0"
306306
| "pool", "uninstall_trusted_certificate" ->
307-
Some "26.10.0-next"
307+
Some "26.13.0"
308308
| "pool", "install_trusted_certificate" ->
309-
Some "26.10.0-next"
309+
Some "26.13.0"
310310
| "pool", "set_ssh_auto_mode" ->
311311
Some "25.27.0"
312312
| "pool", "set_console_idle_timeout" ->

ocaml/idl/datamodel_pool.ml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,11 @@ let install_ca_certificate =
835835
; (String, "cert", "The certificate in PEM format")
836836
]
837837
~allowed_roles:(_R_POOL_OP ++ _R_CLIENT_CERT)
838-
~lifecycle:[(Published, "1.290.0", "Install TLS CA certificate")]
838+
~lifecycle:
839+
[
840+
(Published, "1.290.0", "Install TLS CA certificate")
841+
; (Deprecated, "26.13.0", "Use Pool.install_trusted_certificate instead")
842+
]
839843
()
840844

841845
let certificate_uninstall =
@@ -887,6 +891,7 @@ let uninstall_ca_certificate =
887891
, "Added --force option to allow DB entries to be removed for \
888892
non-existent files"
889893
)
894+
; (Deprecated, "26.13.0", "Use Pool.uninstall_trusted_certificate instead")
890895
]
891896
()
892897

0 commit comments

Comments
 (0)