Skip to content

Commit 2c6fb96

Browse files
prometherionGopher Bot
authored andcommitted
BUG/MINOR: read only fields for SSL certificate resource
Signed-off-by: Dario Tranchitella <dtranchitella@haproxy.com>
1 parent 632fda6 commit 2c6fb96

3 files changed

Lines changed: 195 additions & 3 deletions

File tree

models/ssl_certificate.go

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

specification/build/haproxy_spec.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10070,22 +10070,28 @@ definitions:
1007010070
description: A file containing one or more SSL/TLS certificates and keys
1007110071
properties:
1007210072
algorithm:
10073+
readOnly: true
1007310074
type: string
1007410075
authority_key_id:
10076+
readOnly: true
1007510077
type: string
1007610078
chain_issuer:
10079+
readOnly: true
1007710080
type: string
1007810081
x-omitempty: true
1007910082
chain_subject:
10083+
readOnly: true
1008010084
type: string
1008110085
x-omitempty: true
1008210086
description:
10087+
readOnly: true
1008310088
type: string
1008410089
domains:
1008510090
readOnly: true
1008610091
type: string
1008710092
x-omitempty: true
1008810093
file:
10094+
readOnly: true
1008910095
type: string
1009010096
ip_addresses:
1009110097
readOnly: true
@@ -10110,8 +10116,10 @@ definitions:
1011010116
serial:
1011110117
type: string
1011210118
sha1_finger_print:
10119+
readOnly: true
1011310120
type: string
1011410121
sha256_finger_print:
10122+
readOnly: true
1011510123
type: string
1011610124
size:
1011710125
description: File size in bytes.
@@ -10124,12 +10132,16 @@ definitions:
1012410132
type: string
1012510133
x-omitempty: true
1012610134
storage_name:
10135+
readOnly: true
1012710136
type: string
1012810137
subject:
10138+
readOnly: true
1012910139
type: string
1013010140
subject_alternative_names:
10141+
readOnly: true
1013110142
type: string
1013210143
subject_key_id:
10144+
readOnly: true
1013310145
type: string
1013410146
title: SSL File
1013510147
type: object

specification/models/storage/ssl_certificate.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ ssl_certificate:
55
type: object
66
properties:
77
file:
8+
readOnly: true
89
type: string
910
storage_name:
11+
readOnly: true
1012
type: string
1113
description:
14+
readOnly: true
1215
type: string
1316
size:
14-
type: integer
1517
readOnly: true
18+
type: integer
1619
x-nullable: true
1720
description: File size in bytes.
1821
status:
@@ -35,34 +38,43 @@ ssl_certificate:
3538
x-nullable: true
3639
x-go-custom-tag: gorm:"type:timestamp with time zone"
3740
algorithm:
41+
readOnly: true
3842
type: string
3943
sha1_finger_print:
44+
readOnly: true
4045
type: string
4146
sha256_finger_print:
47+
readOnly: true
4248
type: string
4349
domains:
44-
type: string
4550
readOnly: true
51+
type: string
4652
x-omitempty: true
4753
issuers:
4854
type: string
4955
readOnly: true
5056
x-omitempty: true
5157
ip_addresses:
52-
type: string
5358
readOnly: true
59+
type: string
5460
x-omitempty: true
5561
authority_key_id:
62+
readOnly: true
5663
type: string
5764
subject:
65+
readOnly: true
5866
type: string
5967
subject_alternative_names:
68+
readOnly: true
6069
type: string
6170
subject_key_id:
71+
readOnly: true
6272
type: string
6373
chain_subject:
74+
readOnly: true
6475
type: string
6576
x-omitempty: true
6677
chain_issuer:
78+
readOnly: true
6779
type: string
6880
x-omitempty: true

0 commit comments

Comments
 (0)