Skip to content

Commit 089c102

Browse files
shanewxythxCode
authored andcommitted
chore: remove nullable
1 parent da63bf4 commit 089c102

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

schema.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ components:
1212
description: |
1313
Specify the infrastructure information for deploying.
1414
default: {}
15-
nullable: true
1615
properties:
1716
domain_suffix:
1817
default: cluster.local
1918
description: |
2019
Specify the domain name of the Kubernetes cluster.
21-
nullable: true
2220
title: Domain Suffix
2321
type: string
2422
x-walrus-ui:
@@ -27,13 +25,11 @@ components:
2725
default: registry-1.docker.io
2826
description: |
2927
Specify the image registry to pull the bitnami/postgresql image, default is `registry-1.docker.io`.
30-
nullable: true
3128
title: Image Registry
3229
type: string
3330
x-walrus-ui:
3431
order: 2
3532
namespace:
36-
nullable: true
3733
title: Namespace
3834
type: string
3935
x-walrus-ui:
@@ -47,7 +43,6 @@ components:
4743
- NodePort
4844
- LoadBalancer
4945
- ClusterIP
50-
nullable: true
5146
title: Service Type
5247
type: string
5348
x-walrus-ui:
@@ -65,7 +60,6 @@ components:
6560
enum:
6661
- standalone
6762
- replication
68-
nullable: true
6963
x-walrus-ui:
7064
group: Basic
7165
immutable: true
@@ -80,7 +74,6 @@ components:
8074
- 1
8175
- 2
8276
- 3
83-
nullable: true
8477
x-walrus-ui:
8578
group: Basic
8679
order: 4
@@ -91,7 +84,6 @@ components:
9184
description: |
9285
Specify the deployment engine version, select from https://hub.docker.com/r/bitnami/postgresql/tags.
9386
default: "15.0"
94-
nullable: true
9587
x-walrus-ui:
9688
group: Basic
9789
order: 5
@@ -102,7 +94,6 @@ components:
10294
characters long and start with any lower letter, combined with number,
10395
or symbols: - _. \nThe database name cannot be PostgreSQL forbidden keyword.\n"
10496
default: mydb
105-
nullable: true
10697
minLength: 2
10798
maxLength: 64
10899
x-walrus-ui:
@@ -115,7 +106,6 @@ components:
115106
Specify the account username. The username must be 2-16 characters long and start with lower letter(expect `pg` prefix), combined with number, or symbol: _.
116107
The username cannot be PostgreSQL forbidden keyword and postgres.
117108
default: rdsuser
118-
nullable: true
119109
minLength: 2
120110
maxLength: 16
121111
x-walrus-ui:
@@ -128,7 +118,6 @@ components:
128118
Specify the account password. The password must be 8-32 characters long and start with any letter, number, or symbols: ! # $ % ^ & * ( ) _ + - =.
129119
If not specified, it will generate a random password.
130120
format: password
131-
nullable: true
132121
writeOnly: true
133122
minLength: 8
134123
maxLength: 32
@@ -143,14 +132,12 @@ components:
143132
default:
144133
cpu: 0.25
145134
memory: 1024
146-
nullable: true
147135
properties:
148136
cpu:
149137
default: 0.25
150138
description: |
151139
Specify the cpu resources. Unit is core.
152140
minimum: 0.1
153-
nullable: true
154141
title: Cpu(Core)
155142
type: number
156143
x-walrus-ui:
@@ -160,7 +147,6 @@ components:
160147
description: |
161148
Specify the memory resources. Unit is megabyte.
162149
minimum: 512
163-
nullable: true
164150
title: Memory(MiB)
165151
type: number
166152
x-walrus-ui:
@@ -174,12 +160,10 @@ components:
174160
type: object
175161
description: |
176162
Specify the storage resources.
177-
nullable: true
178163
properties:
179164
class:
180165
description: |
181166
Specify the storage class. If not specified, it will use the default provisioner.
182-
nullable: true
183167
title: Class
184168
type: string
185169
x-walrus-ui:
@@ -189,7 +173,6 @@ components:
189173
description: |
190174
Specify the storage size. Unit is megabyte.
191175
minimum: 1024
192-
nullable: true
193176
title: Size(MiB)
194177
type: number
195178
x-walrus-ui:
@@ -206,12 +189,10 @@ components:
206189
Seeding increases the startup time waiting and also needs
207190
proper permission, like root account.
208191
default: {}
209-
nullable: true
210192
properties:
211193
text:
212194
description: |
213195
Configure database seeding from text.
214-
nullable: true
215196
properties:
216197
content:
217198
description: |
@@ -238,15 +219,13 @@ components:
238219
- none
239220
- url
240221
- text
241-
nullable: true
242222
title: Type
243223
type: string
244224
x-walrus-ui:
245225
order: 1
246226
url:
247227
description: |
248228
Configure database seeding from URL.
249-
nullable: true
250229
properties:
251230
location:
252231
description: |
@@ -258,12 +237,10 @@ components:
258237
storage:
259238
description: |
260239
Specify a storage to store the downloaded SQL statements.
261-
nullable: true
262240
properties:
263241
class:
264242
description: |
265243
Specify the storage class. If not specified, it will use the default provisioner.
266-
nullable: true
267244
title: Class
268245
type: string
269246
x-walrus-ui:
@@ -273,7 +250,6 @@ components:
273250
description: |
274251
Specify the storage size. Unit is megabyte.
275252
minimum: 1024
276-
nullable: true
277253
title: Size(MiB)
278254
type: number
279255
x-walrus-ui:

0 commit comments

Comments
 (0)