Skip to content

Commit 500d68f

Browse files
Move latest shim CRD to helm chart
Signed-off-by: Kate Goldenring <kate.goldenring@fermyon.com>
1 parent 3d43982 commit 500d68f

File tree

1 file changed

+37
-36
lines changed

1 file changed

+37
-36
lines changed

deploy/helm/crds/runtime.spinkube.dev_shims.yaml

+37-36
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.13.0
6+
controller-gen.kubebuilder.io/version: v0.16.3
77
name: shims.runtime.spinkube.dev
88
spec:
99
group: runtime.spinkube.dev
@@ -30,14 +30,19 @@ spec:
3030
description: Shim is the Schema for the shims API
3131
properties:
3232
apiVersion:
33-
description: 'APIVersion defines the versioned schema of this representation
34-
of an object. Servers should convert recognized schemas to the latest
35-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
33+
description: |-
34+
APIVersion defines the versioned schema of this representation of an object.
35+
Servers should convert recognized schemas to the latest internal value, and
36+
may reject unrecognized values.
37+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3638
type: string
3739
kind:
38-
description: 'Kind is a string value representing the REST resource this
39-
object represents. Servers may infer this from the endpoint the client
40-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
40+
description: |-
41+
Kind is a string value representing the REST resource this object represents.
42+
Servers may infer this from the endpoint the client submits requests to.
43+
Cannot be updated.
44+
In CamelCase.
45+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
4146
type: string
4247
metadata:
4348
type: object
@@ -90,53 +95,53 @@ spec:
9095
- handler
9196
- name
9297
type: object
98+
runtimeOptions:
99+
additionalProperties:
100+
type: string
101+
description: |-
102+
RuntimeOptions is a map of containerd runtime options for the shim plugin.
103+
See an example of configuring cgroup driver via runtime options: https://github.com/containerd/containerd/blob/main/docs/cri/config.md#cgroup-driver
104+
type: object
93105
required:
94106
- fetchStrategy
95107
- rolloutStrategy
96108
- runtimeClass
109+
- runtimeOptions
97110
type: object
98111
status:
99112
description: ShimStatus defines the observed state of Shim
100113
properties:
101114
conditions:
102115
items:
103-
description: "Condition contains details for one aspect of the current
104-
state of this API Resource. --- This struct is intended for direct
105-
use as an array at the field path .status.conditions. For example,
106-
\n type FooStatus struct{ // Represents the observations of a
107-
foo's current state. // Known .status.conditions.type are: \"Available\",
108-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
109-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
110-
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
111-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
116+
description: Condition contains details for one aspect of the current
117+
state of this API Resource.
112118
properties:
113119
lastTransitionTime:
114-
description: lastTransitionTime is the last time the condition
115-
transitioned from one status to another. This should be when
116-
the underlying condition changed. If that is not known, then
117-
using the time when the API field changed is acceptable.
120+
description: |-
121+
lastTransitionTime is the last time the condition transitioned from one status to another.
122+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
118123
format: date-time
119124
type: string
120125
message:
121-
description: message is a human readable message indicating
122-
details about the transition. This may be an empty string.
126+
description: |-
127+
message is a human readable message indicating details about the transition.
128+
This may be an empty string.
123129
maxLength: 32768
124130
type: string
125131
observedGeneration:
126-
description: observedGeneration represents the .metadata.generation
127-
that the condition was set based upon. For instance, if .metadata.generation
128-
is currently 12, but the .status.conditions[x].observedGeneration
129-
is 9, the condition is out of date with respect to the current
130-
state of the instance.
132+
description: |-
133+
observedGeneration represents the .metadata.generation that the condition was set based upon.
134+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
135+
with respect to the current state of the instance.
131136
format: int64
132137
minimum: 0
133138
type: integer
134139
reason:
135-
description: reason contains a programmatic identifier indicating
136-
the reason for the condition's last transition. Producers
137-
of specific condition types may define expected values and
138-
meanings for this field, and whether the values are considered
139-
a guaranteed API. The value should be a CamelCase string.
140+
description: |-
141+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
142+
Producers of specific condition types may define expected values and meanings for this field,
143+
and whether the values are considered a guaranteed API.
144+
The value should be a CamelCase string.
140145
This field may not be empty.
141146
maxLength: 1024
142147
minLength: 1
@@ -151,10 +156,6 @@ spec:
151156
type: string
152157
type:
153158
description: type of condition in CamelCase or in foo.example.com/CamelCase.
154-
--- Many .condition.type values are consistent across resources
155-
like Available, but because arbitrary conditions can be useful
156-
(see .node.status.conditions), the ability to deconflict is
157-
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
158159
maxLength: 316
159160
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
160161
type: string

0 commit comments

Comments
 (0)