Skip to content

Commit b923268

Browse files
authored
Revise gateway config and preset crds (#552)
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent b3ea00b commit b923268

18 files changed

Lines changed: 3857 additions & 4783 deletions

charts/ace/values.openapiv3_schema.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3794,11 +3794,7 @@ properties:
37943794
- password
37953795
type: object
37963796
required:
3797-
- acme
3798-
- ca
3799-
- certificate
38003797
- issuer
3801-
- jks
38023798
type: object
38033799
required:
38043800
- badger

charts/catalog-manager/crds/gateway.catalog.appscode.com_gatewayconfigs.yaml

Lines changed: 1797 additions & 2290 deletions
Large diffs are not rendered by default.

charts/catalog-manager/crds/gateway.catalog.appscode.com_gatewaypresets.yaml

Lines changed: 51 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,19 @@ spec:
2020
description: GatewayPreset is the Schema for the gatewaypresets API.
2121
properties:
2222
apiVersion:
23-
description: 'APIVersion defines the versioned schema of this representation
24-
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2628
type: string
2729
kind:
28-
description: 'Kind is a string value representing the REST resource this
29-
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3136
type: string
3237
metadata:
3338
type: object
@@ -42,10 +47,14 @@ spec:
4247
kind:
4348
type: string
4449
name:
45-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
50+
description: |-
51+
Name of the referent.
52+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4653
type: string
4754
namespace:
48-
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
55+
description: |-
56+
Namespace of the referent.
57+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
4958
type: string
5059
required:
5160
- name
@@ -60,43 +69,44 @@ spec:
6069
state.
6170
properties:
6271
lastTransitionTime:
63-
description: Last time the condition transitioned from one status
64-
to another. This should be when the underlying condition changed.
65-
If that is not known, then using the time when the API field
66-
changed is acceptable.
72+
description: |-
73+
Last time the condition transitioned from one status to another.
74+
This should be when the underlying condition changed. If that is not known, then using the time when
75+
the API field changed is acceptable.
6776
format: date-time
6877
type: string
6978
message:
70-
description: A human-readable message indicating details about
71-
the transition. This field may be empty.
79+
description: |-
80+
A human-readable message indicating details about the transition.
81+
This field may be empty.
7282
type: string
7383
observedGeneration:
74-
description: If set, this represents the .metadata.generation
75-
that the condition was set based upon. For instance, if .metadata.generation
76-
is currently 12, but the .status.condition[x].observedGeneration
77-
is 9, the condition is out of date with respect to the current
78-
state of the instance.
84+
description: |-
85+
If set, this represents the .metadata.generation that the condition was set based upon.
86+
For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date
87+
with respect to the current state of the instance.
7988
format: int64
8089
type: integer
8190
reason:
82-
description: The reason for the condition's last transition
83-
in CamelCase. The specific API may choose whether this field
84-
is considered a guaranteed API. This field may not be empty.
91+
description: |-
92+
The reason for the condition's last transition in CamelCase.
93+
The specific API may choose whether this field is considered a guaranteed API.
94+
This field may not be empty.
8595
type: string
8696
severity:
87-
description: Severity provides an explicit classification of
88-
Reason code, so the users or machines can immediately understand
89-
the current situation and act accordingly. The Severity field
90-
MUST be set only when Status=False.
97+
description: |-
98+
Severity provides an explicit classification of Reason code, so the users or machines can immediately
99+
understand the current situation and act accordingly.
100+
The Severity field MUST be set only when Status=False.
91101
type: string
92102
status:
93103
description: Status of the condition, one of True, False, Unknown.
94104
type: string
95105
type:
96-
description: Type of condition in CamelCase or in foo.example.com/CamelCase.
97-
Many .condition.type values are consistent across resources
98-
like Available, but because arbitrary util can be useful (see
99-
.node.status.util), the ability to deconflict is important.
106+
description: |-
107+
Type of condition in CamelCase or in foo.example.com/CamelCase.
108+
Many .condition.type values are consistent across resources like Available, but because arbitrary util
109+
can be useful (see .node.status.util), the ability to deconflict is important.
100110
type: string
101111
required:
102112
- lastTransitionTime
@@ -109,18 +119,20 @@ spec:
109119
- type
110120
x-kubernetes-list-type: map
111121
helmRelease:
112-
description: HelmRelease is the name of the helm release used to deploy
113-
this ui The name format is typically <alias>-<db-name>
122+
description: |-
123+
HelmRelease is the name of the helm release used to deploy this ui
124+
The name format is typically <alias>-<db-name>
114125
properties:
115126
name:
116127
default: ""
117-
description: 'Name of the referent. This field is effectively
118-
required, but due to backwards compatibility is allowed to be
119-
empty. Instances of this type with an empty value here are almost
120-
certainly wrong. TODO: Add other useful fields. apiVersion,
121-
kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
122-
TODO: Drop `kubebuilder:default` when controller-gen doesn''t
123-
need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.'
128+
description: |-
129+
Name of the referent.
130+
This field is effectively required, but due to backwards compatibility is
131+
allowed to be empty. Instances of this type with an empty value here are
132+
almost certainly wrong.
133+
TODO: Add other useful fields. apiVersion, kind, uid?
134+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
135+
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
124136
type: string
125137
type: object
126138
x-kubernetes-map-type: atomic

0 commit comments

Comments
 (0)