mirror of
https://github.com/kubevela/kubevela.git
synced 2026-02-14 18:10:21 +00:00
Chore: CUE code quality changes (#5987)
* Update topologyspreadconstraints.cue Update cue comment standard in one file Signed-off-by: André Gomes <andre3000pt@gmail.com> * Update expose.cue Corrected cue format Signed-off-by: André Gomes <andre3000pt@gmail.com> * make reviewable ran Signed-off-by: André Gomes <andre3000pt@gmail.com> * Update apply-terraform-config.cue usae -> usage Signed-off-by: André Gomes <andre3000pt@gmail.com> * make reviewable ran again Signed-off-by: André Gomes <andre3000pt@gmail.com> --------- Signed-off-by: André Gomes <andre3000pt@gmail.com>
This commit is contained in:
@@ -85,7 +85,7 @@ spec:
|
||||
region?: string
|
||||
// +usage=the envs for job
|
||||
jobEnv?: {...}
|
||||
// +usae=forceDelete will force delete Configuration no matter which state it is or whether it has provisioned some resources
|
||||
// +usage=forceDelete will force delete Configuration no matter which state it is or whether it has provisioned some resources
|
||||
forceDelete: *false | bool
|
||||
}
|
||||
|
||||
|
||||
@@ -72,6 +72,7 @@ spec:
|
||||
parameter: {
|
||||
// +usage=Deprecated, the old way to specify the exposion ports
|
||||
port?: [...int]
|
||||
|
||||
// +usage=Specify portsyou want customer traffic sent to
|
||||
ports?: [...{
|
||||
// +usage=Number of port to expose on the pod's IP address
|
||||
@@ -83,9 +84,11 @@ spec:
|
||||
// +usage=exposed node port. Only Valid when exposeType is NodePort
|
||||
nodePort?: int
|
||||
}]
|
||||
|
||||
// +usage=Specify the annotaions of the exposed service
|
||||
annotations: [string]: string
|
||||
matchLabels?: [string]: string
|
||||
|
||||
// +usage=Specify what kind of Service you want. options: "ClusterIP","NodePort","LoadBalancer","ExternalName"
|
||||
type: *"ClusterIP" | "NodePort" | "LoadBalancer" | "ExternalName"
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ spec:
|
||||
topologyKey: string
|
||||
// +usage=Indicate how to deal with a Pod if it doesn't satisfy the spread constraint
|
||||
whenUnsatisfiable: *"DoNotSchedule" | "ScheduleAnyway"
|
||||
// +usage: labelSelector to find matching Pods
|
||||
// +usage=labelSelector to find matching Pods
|
||||
labelSelector: #labSelector
|
||||
// +usage=Indicate a minimum number of eligible domains
|
||||
minDomains?: int
|
||||
|
||||
@@ -101,6 +101,7 @@ template: {
|
||||
parameter: {
|
||||
// +usage=Deprecated, the old way to specify the exposion ports
|
||||
port?: [...int]
|
||||
|
||||
// +usage=Specify portsyou want customer traffic sent to
|
||||
ports?: [...{
|
||||
// +usage=Number of port to expose on the pod's IP address
|
||||
@@ -112,9 +113,11 @@ template: {
|
||||
// +usage=exposed node port. Only Valid when exposeType is NodePort
|
||||
nodePort?: int
|
||||
}]
|
||||
|
||||
// +usage=Specify the annotaions of the exposed service
|
||||
annotations: [string]: string
|
||||
matchLabels?: [string]: string
|
||||
|
||||
// +usage=Specify what kind of Service you want. options: "ClusterIP","NodePort","LoadBalancer","ExternalName"
|
||||
type: *"ClusterIP" | "NodePort" | "LoadBalancer" | "ExternalName"
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ template: {
|
||||
topologyKey: string
|
||||
// +usage=Indicate how to deal with a Pod if it doesn't satisfy the spread constraint
|
||||
whenUnsatisfiable: *"DoNotSchedule" | "ScheduleAnyway"
|
||||
// +usage: labelSelector to find matching Pods
|
||||
// +usage=labelSelector to find matching Pods
|
||||
labelSelector: #labSelector
|
||||
// +usage=Indicate a minimum number of eligible domains
|
||||
minDomains?: int
|
||||
|
||||
@@ -82,7 +82,7 @@ template: {
|
||||
region?: string
|
||||
// +usage=the envs for job
|
||||
jobEnv?: {...}
|
||||
// +usae=forceDelete will force delete Configuration no matter which state it is or whether it has provisioned some resources
|
||||
// +usage=forceDelete will force delete Configuration no matter which state it is or whether it has provisioned some resources
|
||||
forceDelete: *false | bool
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user