Skip to content

Commit 1a928e3

Browse files
committed
schema: Allow scDomain and scOpsDomain to be empty strings
They default to the empty string. Templates fail to render if the fields are omitted entirely. Thus this compromise.
1 parent 8b896fe commit 1a928e3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

config/schemas/config.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,15 @@ properties:
7474
scDomain:
7575
description: If baseDomain for wc and sc are not the same, set the domain of the sc cluster.
7676
type: string
77-
format: hostname
77+
oneOf: # Templates do not handle missing values so they must be empty strings to disable. Future FIXME?
78+
- const: ""
79+
- format: hostname
7880
scOpsDomain:
7981
description: If baseDomain for wc and sc are not the same, set the domain of the sc cluster.
8082
type: string
81-
format: hostname
83+
oneOf:
84+
- const: ""
85+
- format: hostname
8286
issuer:
8387
description: |-
8488
Default cert-manager issuer to use for issuing certificates for ingresses.

0 commit comments

Comments
 (0)