Skip to content

Commit ab16851

Browse files
committed
config: Move 'global' first in the schema to match configs
1 parent 9f09204 commit ab16851

File tree

1 file changed

+85
-85
lines changed

1 file changed

+85
-85
lines changed

config/schemas/config.yaml

Lines changed: 85 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,91 @@ type: object
301301
required:
302302
- global
303303
properties:
304+
global:
305+
title: Global options
306+
description: Some common options used in various helm charts.
307+
type: object
308+
required:
309+
- ck8sVersion
310+
- ck8sCloudProvider
311+
- ck8sEnvironmentName
312+
- ck8sFlavor
313+
- baseDomain
314+
- opsDomain
315+
properties:
316+
ck8sVersion:
317+
title: Compliantkubernetes-apps version
318+
description: |-
319+
Use version number if you are exactly at a release tag.
320+
Otherwise use full commit hash of current commit.
321+
'any', can be used to disable this validation.
322+
type: string
323+
ck8sCloudProvider:
324+
type: string
325+
enum:
326+
- safespring
327+
- exoscale
328+
- citycloud
329+
- elastx
330+
- upcloud
331+
ck8sEnvironmentName:
332+
type: string
333+
ck8sFlavor:
334+
type: string
335+
enum:
336+
- prod
337+
- dev
338+
baseDomain:
339+
title: Base Domain
340+
description: |-
341+
Domain intended for ingress usage in the workload cluster
342+
and to reach user facing services such as Grafana, Harbor and OpenSearch Dashboards.
343+
E.g. with 'prod.domain.com', OpenSearch Dashboards is reached via 'opensearch.prod.domain.com'.
344+
type: string
345+
format: dns-domain-name
346+
opsDomain:
347+
description: |-
348+
Domain intended for ingress usage in the service cluster and to reach
349+
non-user facing services such as Thanos and OpenSearch.
350+
E.g. with 'ops.prod.domain.com', OpenSearch is reached via 'opensearch.ops.prod.domain.com'.
351+
type: string
352+
format: hostname
353+
issuer:
354+
description: |-
355+
Default cert-manager issuer to use for issuing certificates for ingresses.
356+
Normally one of `letsencrypt-staging` or `letsencrypt-prod`.
357+
type: string
358+
default: letsencrypt-staging
359+
enum:
360+
- letsencrypt-staging
361+
- letsencrypt-prod
362+
verifyTls:
363+
description: Verify ingress certificates
364+
type: boolean
365+
default: true
366+
clusterDns:
367+
description: IP of the cluster DNS in kubernetes
368+
type: string
369+
default: 10.233.0.3
370+
format: ip-address
371+
clusterName:
372+
type: string
373+
clustersMonitoring:
374+
description: |-
375+
Names of the workload clusters that sends metrics to this cluster.
376+
Mainly used for filtering of metrics.
377+
type: array
378+
items:
379+
type: string
380+
pattern: -[sw]c$
381+
containerRuntime:
382+
title: Container runtime
383+
default: containerd
384+
type: string
385+
enum:
386+
- containerd
387+
- docker
388+
additionalProperties: false
304389
alerts:
305390
properties:
306391
alertTo:
@@ -811,91 +896,6 @@ properties:
811896
$ref: '#/$defs/commonResource'
812897
type: object
813898
additionalProperties: false
814-
global:
815-
title: Global options
816-
description: Some common options used in various helm charts.
817-
type: object
818-
required:
819-
- ck8sVersion
820-
- ck8sCloudProvider
821-
- ck8sEnvironmentName
822-
- ck8sFlavor
823-
- baseDomain
824-
- opsDomain
825-
properties:
826-
ck8sVersion:
827-
title: Compliantkubernetes-apps version
828-
description: |-
829-
Use version number if you are exactly at a release tag.
830-
Otherwise use full commit hash of current commit.
831-
'any', can be used to disable this validation.
832-
type: string
833-
ck8sCloudProvider:
834-
type: string
835-
enum:
836-
- safespring
837-
- exoscale
838-
- citycloud
839-
- elastx
840-
- upcloud
841-
ck8sEnvironmentName:
842-
type: string
843-
ck8sFlavor:
844-
type: string
845-
enum:
846-
- prod
847-
- dev
848-
baseDomain:
849-
title: Base Domain
850-
description: |-
851-
Domain intended for ingress usage in the workload cluster
852-
and to reach user facing services such as Grafana, Harbor and OpenSearch Dashboards.
853-
E.g. with 'prod.domain.com', OpenSearch Dashboards is reached via 'opensearch.prod.domain.com'.
854-
type: string
855-
format: dns-domain-name
856-
opsDomain:
857-
description: |-
858-
Domain intended for ingress usage in the service cluster and to reach
859-
non-user facing services such as Thanos and OpenSearch.
860-
E.g. with 'ops.prod.domain.com', OpenSearch is reached via 'opensearch.ops.prod.domain.com'.
861-
type: string
862-
format: hostname
863-
issuer:
864-
description: |-
865-
Default cert-manager issuer to use for issuing certificates for ingresses.
866-
Normally one of `letsencrypt-staging` or `letsencrypt-prod`.
867-
type: string
868-
default: letsencrypt-staging
869-
enum:
870-
- letsencrypt-staging
871-
- letsencrypt-prod
872-
verifyTls:
873-
description: Verify ingress certificates
874-
type: boolean
875-
default: true
876-
clusterDns:
877-
description: IP of the cluster DNS in kubernetes
878-
type: string
879-
default: 10.233.0.3
880-
format: ip-address
881-
clusterName:
882-
type: string
883-
clustersMonitoring:
884-
description: |-
885-
Names of the workload clusters that sends metrics to this cluster.
886-
Mainly used for filtering of metrics.
887-
type: array
888-
items:
889-
type: string
890-
pattern: -[sw]c$
891-
containerRuntime:
892-
title: Container runtime
893-
default: containerd
894-
type: string
895-
enum:
896-
- containerd
897-
- docker
898-
additionalProperties: false
899899
grafana:
900900
properties:
901901
ops:

0 commit comments

Comments
 (0)