mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Implement support for digests in imageTags
This commit adds a new field to imageTags transformer so that digests can be used instead of image tags if needed. Closes https://github.com/kubernetes-sigs/kustomize/issues/326
This commit is contained in:
@@ -176,4 +176,8 @@ type ImageTag struct {
|
||||
|
||||
// NewTag is the value to use in replacing the original tag.
|
||||
NewTag string `json:"newTag,omitempty" yaml:"newTag,omitempty"`
|
||||
|
||||
// Digest is the value used to replace the original image tag.
|
||||
// If digest is present NewTag value is ignored.
|
||||
Digest string `json:"digest,omitempty" yaml:"digest,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user