mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 18:10:59 +00:00
add tagsuffix to take image tag suffix (#4364)
* add tagsuffix to take image tag suffix * add comments to warn about specifications * add test and error handle * fix indent * update comment * fix merge errors and return updates * update image update and fix example * fix yamls formats remove tabs in yamls fix space in image name tag error in name * fix spacing issue format of yaml set example as above * spacing of spec in testing templates * change to switch case
This commit is contained in:
committed by
GitHub
parent
ec212711d4
commit
a464ed0c59
@@ -1,6 +1,8 @@
|
||||
// Code generated by pluginator on AnnotationsTransformer; DO NOT EDIT.
|
||||
// pluginator {unknown 1970-01-01T00:00:00Z }
|
||||
|
||||
|
||||
|
||||
package builtins
|
||||
|
||||
import (
|
||||
@@ -16,6 +18,7 @@ type AnnotationsTransformerPlugin struct {
|
||||
FieldSpecs []types.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
func (p *AnnotationsTransformerPlugin) Config(
|
||||
_ *resmap.PluginHelpers, c []byte) (err error) {
|
||||
p.Annotations = nil
|
||||
@@ -34,5 +37,5 @@ func (p *AnnotationsTransformerPlugin) Transform(m resmap.ResMap) error {
|
||||
}
|
||||
|
||||
func NewAnnotationsTransformerPlugin() resmap.TransformerPlugin {
|
||||
return &AnnotationsTransformerPlugin{}
|
||||
return &AnnotationsTransformerPlugin{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user