Skip to content

Commit dbbfd42

Browse files
Merge pull request #1225 from benluddy/manifest-templates
Reconcile manifests with templates.
2 parents 2b93a4b + e9b0674 commit dbbfd42

5 files changed

+85
-0
lines changed

deploy/chart/templates/0000_50_olm_03-clusterserviceversion.crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ spec:
4040
served: true
4141
storage: true
4242
scope: Namespaced
43+
preserveUnknownFields: false
4344
subresources:
4445
status: {}
4546
validation:

deploy/chart/templates/0000_50_olm_04-installplan.crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ spec:
3535
- name: Approved
3636
type: boolean
3737
JSONPath: .spec.approved
38+
preserveUnknownFields: false
3839
subresources:
3940
# status enables the status subresource.
4041
status: {}

deploy/chart/templates/0000_50_olm_05-subscription.crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ spec:
3737
type: string
3838
description: The channel of updates to subscribe to
3939
JSONPath: .spec.channel
40+
preserveUnknownFields: false
4041
subresources:
4142
# status enables the status subresource.
4243
status: {}

deploy/chart/templates/0000_50_olm_10-operatorgroup.crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ spec:
1919
categories:
2020
- olm
2121
scope: Namespaced
22+
preserveUnknownFields: false
2223
subresources:
2324
# status enables the status subresource.
2425
status: {}

manifests/0000_50_olm_04-installplan.crd.yaml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,87 @@ spec:
127127
uid:
128128
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
129129
type: string
130+
bundleLookups:
131+
type: array
132+
items:
133+
type: object
134+
required:
135+
- catalogSourceRef
136+
- path
137+
- replaces
138+
properties:
139+
catalogSourceRef:
140+
description: ObjectReference contains enough information to let
141+
you inspect or modify the referred object.
142+
type: object
143+
properties:
144+
apiVersion:
145+
description: API version of the referent.
146+
type: string
147+
fieldPath:
148+
description: 'If referring to a piece of an object instead
149+
of an entire object, this string should contain a valid
150+
JSON/Go field access statement, such as desiredState.manifest.containers[2].
151+
For example, if the object reference is to a container within
152+
a pod, this would take on a value like: "spec.containers{name}"
153+
(where "name" refers to the name of the container that triggered
154+
the event) or if no container name is specified "spec.containers[2]"
155+
(container with index 2 in this pod). This syntax is chosen
156+
only to have some well-defined way of referencing a part
157+
of an object. TODO: this design is not final and this field
158+
is subject to change in the future.'
159+
type: string
160+
kind:
161+
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
162+
type: string
163+
name:
164+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
165+
type: string
166+
namespace:
167+
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
168+
type: string
169+
resourceVersion:
170+
description: 'Specific resourceVersion to which this reference
171+
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
172+
type: string
173+
uid:
174+
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
175+
type: string
176+
conditions:
177+
type: array
178+
items:
179+
type: object
180+
required:
181+
- status
182+
- type
183+
properties:
184+
lastTransitionTime:
185+
description: Last time the condition transitioned from one
186+
status to another.
187+
type: string
188+
format: date-time
189+
lastUpdateTime:
190+
description: Last time the condition was probed
191+
type: string
192+
format: date-time
193+
message:
194+
description: A human readable message indicating details
195+
about the transition.
196+
type: string
197+
reason:
198+
description: The reason for the condition's last transition.
199+
type: string
200+
status:
201+
description: Status of the condition, one of True, False,
202+
Unknown.
203+
type: string
204+
type:
205+
description: Type of condition.
206+
type: string
207+
path:
208+
type: string
209+
replaces:
210+
type: string
130211
catalogSources:
131212
type: array
132213
items:

0 commit comments

Comments
 (0)