mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 09:51:23 +00:00
allow general name and kind changes via an options field in patches
This commit is contained in:
@@ -296,7 +296,6 @@ spec:
|
||||
- proxy
|
||||
- sidecar
|
||||
`)
|
||||
|
||||
rm := th.LoadAndRunTransformer(`
|
||||
apiVersion: builtin
|
||||
kind: PatchTransformer
|
||||
@@ -364,6 +363,8 @@ spec:
|
||||
- sidecar
|
||||
image: docker.io/istio/proxyv2
|
||||
name: istio-proxy
|
||||
- image: nginx
|
||||
name: nginx
|
||||
`)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user