@@ -114,27 +114,30 @@ spec:
114114 type : object
115115 type : array
116116 images :
117- description : A list of images used to override or set the name and
118- tag for container images.
117+ description : Images is a list of (image name, new name, new tag or
118+ digest) for changing image names, tags or digests. This can also
119+ be achieved with a patch, but this operator is simpler to specify.
119120 items :
120- description : Image contains the name, new name and new tag that
121- will replace the original container image .
121+ description : Image contains an image name, a new name, a new tag
122+ or digest, which will replace the original name and tag .
122123 properties :
124+ digest :
125+ description : Digest is the value used to replace the original
126+ image tag. If digest is present NewTag value is ignored.
127+ type : string
123128 name :
124- description : Name of the image to be replaced .
129+ description : Name is a tag-less image name .
125130 type : string
126131 newName :
127- description : NewName is the name of the image used to replace
128- the original one .
132+ description : NewName is the value used to replace the original
133+ name .
129134 type : string
130135 newTag :
131- description : NewTag is the image tag used to replace the original
136+ description : NewTag is the value used to replace the original
132137 tag.
133138 type : string
134139 required :
135140 - name
136- - newName
137- - newTag
138141 type : object
139142 type : array
140143 interval :
@@ -162,6 +165,85 @@ spec:
162165 - name
163166 type : object
164167 type : object
168+ patchesJson6902 :
169+ description : JSON 6902 patches, defined as inline YAML objects.
170+ items :
171+ description : JSON6902Patch contains a JSON6902 patch and the target
172+ the patch should be applied to.
173+ properties :
174+ patch :
175+ description : Patch contains the JSON6902 patch document with
176+ an array of operation objects.
177+ items :
178+ description : JSON6902 is a JSON6902 operation object. https://tools.ietf.org/html/rfc6902#section-4
179+ properties :
180+ from :
181+ type : string
182+ op :
183+ enum :
184+ - test
185+ - remove
186+ - add
187+ - replace
188+ - move
189+ - copy
190+ type : string
191+ path :
192+ type : string
193+ value :
194+ x-kubernetes-preserve-unknown-fields : true
195+ required :
196+ - op
197+ - path
198+ type : object
199+ type : array
200+ target :
201+ description : Target points to the resources that the patch document
202+ should be applied to.
203+ properties :
204+ annotationSelector :
205+ description : AnnotationSelector is a string that follows
206+ the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
207+ It matches with the resource annotations.
208+ type : string
209+ group :
210+ description : Group is the API group to select resources
211+ from. Together with Version and Kind it is capable of
212+ unambiguously identifying and/or selecting resources.
213+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
214+ type : string
215+ kind :
216+ description : Kind of the API Group to select resources from.
217+ Together with Group and Version it is capable of unambiguously
218+ identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
219+ type : string
220+ labelSelector :
221+ description : LabelSelector is a string that follows the
222+ label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
223+ It matches with the resource labels.
224+ type : string
225+ name :
226+ description : Name to match resources with.
227+ type : string
228+ namespace :
229+ description : Namespace to select resources from.
230+ type : string
231+ version :
232+ description : Version of the API Group to select resources
233+ from. Together with Group and Kind it is capable of unambiguously
234+ identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
235+ type : string
236+ type : object
237+ required :
238+ - patch
239+ - target
240+ type : object
241+ type : array
242+ patchesStrategicMerge :
243+ description : Strategic merge patches, defined as inline YAML objects.
244+ items :
245+ x-kubernetes-preserve-unknown-fields : true
246+ type : array
165247 path :
166248 description : Path to the directory containing the kustomization.yaml
167249 file, or the set of plain YAMLs a kustomization.yaml should be generated
0 commit comments