mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +00:00
The default images field spec covers spec/volumes[]/image/reference under Pod and PodTemplateSpec, but CronJob's Image Volume under spec/jobTemplate/spec/template/spec was missing from the list. This adds the missing path.
25 lines
584 B
Go
25 lines
584 B
Go
// Copyright 2019 The Kubernetes Authors.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package builtinpluginconsts
|
|
|
|
const (
|
|
imagesFieldSpecs = `
|
|
images:
|
|
- path: spec/containers[]/image
|
|
create: true
|
|
- path: spec/initContainers[]/image
|
|
create: true
|
|
- path: spec/volumes[]/image/reference
|
|
create: true
|
|
- path: spec/template/spec/containers[]/image
|
|
create: true
|
|
- path: spec/template/spec/initContainers[]/image
|
|
create: true
|
|
- path: spec/template/spec/volumes[]/image/reference
|
|
create: true
|
|
- path: spec/jobTemplate/spec/template/spec/volumes[]/image/reference
|
|
create: true
|
|
`
|
|
)
|