mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #884 from vreon/fix-varrefs
Fix incorrect and missing varReferences
This commit is contained in:
@@ -19,98 +19,77 @@ package defaultconfig
|
|||||||
const (
|
const (
|
||||||
varReferenceFieldSpecs = `
|
varReferenceFieldSpecs = `
|
||||||
varReference:
|
varReference:
|
||||||
- path: spec/template/spec/initContainers/command
|
- path: spec/jobTemplate/spec/template/spec/containers/args
|
||||||
kind: StatefulSet
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/template/spec/containers/command
|
|
||||||
kind: StatefulSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/command
|
|
||||||
kind: Deployment
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/command
|
|
||||||
kind: Deployment
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/command
|
|
||||||
kind: DaemonSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/command
|
|
||||||
kind: DaemonSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/command
|
|
||||||
kind: Job
|
|
||||||
|
|
||||||
- path: spec/jobTemplate/spec/template/spec/containers/command
|
- path: spec/jobTemplate/spec/template/spec/containers/command
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/args
|
|
||||||
kind: StatefulSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/args
|
|
||||||
kind: StatefulSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/args
|
|
||||||
kind: Deployment
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/args
|
|
||||||
kind: Deployment
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/args
|
|
||||||
kind: DaemonSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/args
|
|
||||||
kind: DaemonSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/args
|
|
||||||
kind: Job
|
|
||||||
|
|
||||||
- path: spec/jobTemplate/spec/template/spec/containers/args
|
|
||||||
kind: CronJob
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/env/value
|
|
||||||
kind: StatefulSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/env/value
|
|
||||||
kind: StatefulSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/env/value
|
|
||||||
kind: Deployment
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/env/value
|
|
||||||
kind: Deployment
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/env/value
|
|
||||||
kind: DaemonSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/env/value
|
|
||||||
kind: DaemonSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/env/value
|
|
||||||
kind: Job
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/env/value
|
|
||||||
kind: Job
|
|
||||||
|
|
||||||
- path: spec/jobTemplate/spec/template/spec/containers/env/value
|
- path: spec/jobTemplate/spec/template/spec/containers/env/value
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/containers/command
|
- path: spec/jobTemplate/spec/template/spec/containers/volumeMounts/mountPath
|
||||||
kind: Pod
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/containers/args
|
- path: spec/jobTemplate/spec/template/spec/initContainers/args
|
||||||
kind: Pod
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/containers/env/value
|
- path: spec/jobTemplate/spec/template/spec/initContainers/command
|
||||||
kind: Pod
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/initContainers/command
|
- path: spec/jobTemplate/spec/template/spec/initContainers/env/value
|
||||||
kind: Pod
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/initContainers/args
|
- path: spec/jobTemplate/spec/template/spec/initContainers/volumeMounts/mountPath
|
||||||
kind: Pod
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/initContainers/env/value
|
- path: spec/template/spec/containers/args
|
||||||
kind: Pod
|
kind: DaemonSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/command
|
||||||
|
kind: DaemonSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/env/value
|
||||||
|
kind: DaemonSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/volumeMounts/mountPath
|
||||||
|
kind: DaemonSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/args
|
||||||
|
kind: DaemonSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/command
|
||||||
|
kind: DaemonSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/env/value
|
||||||
|
kind: DaemonSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
||||||
|
kind: DaemonSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/args
|
||||||
|
kind: Deployment
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/command
|
||||||
|
kind: Deployment
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/env/value
|
||||||
|
kind: Deployment
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/volumeMounts/mountPath
|
||||||
|
kind: Deployment
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/args
|
||||||
|
kind: Deployment
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/command
|
||||||
|
kind: Deployment
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/env/value
|
||||||
|
kind: Deployment
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
||||||
|
kind: Deployment
|
||||||
|
|
||||||
- path: spec/rules/host
|
- path: spec/rules/host
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
@@ -118,47 +97,101 @@ varReference:
|
|||||||
- path: spec/tls/hosts
|
- path: spec/tls/hosts
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/args
|
||||||
|
kind: Job
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/command
|
||||||
|
kind: Job
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/env/value
|
||||||
|
kind: Job
|
||||||
|
|
||||||
- path: spec/template/spec/containers/volumeMounts/mountPath
|
- path: spec/template/spec/containers/volumeMounts/mountPath
|
||||||
kind: StatefulSet
|
kind: Job
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/args
|
||||||
|
kind: Job
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/command
|
||||||
|
kind: Job
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/env/value
|
||||||
|
kind: Job
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
||||||
kind: StatefulSet
|
kind: Job
|
||||||
|
|
||||||
|
- path: spec/containers/args
|
||||||
|
kind: Pod
|
||||||
|
|
||||||
|
- path: spec/containers/command
|
||||||
|
kind: Pod
|
||||||
|
|
||||||
|
- path: spec/containers/env/value
|
||||||
|
kind: Pod
|
||||||
|
|
||||||
- path: spec/containers/volumeMounts/mountPath
|
- path: spec/containers/volumeMounts/mountPath
|
||||||
kind: Pod
|
kind: Pod
|
||||||
|
|
||||||
|
- path: spec/initContainers/args
|
||||||
|
kind: Pod
|
||||||
|
|
||||||
|
- path: spec/initContainers/command
|
||||||
|
kind: Pod
|
||||||
|
|
||||||
|
- path: spec/initContainers/env/value
|
||||||
|
kind: Pod
|
||||||
|
|
||||||
- path: spec/initContainers/volumeMounts/mountPath
|
- path: spec/initContainers/volumeMounts/mountPath
|
||||||
kind: Pod
|
kind: Pod
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/args
|
||||||
|
kind: ReplicaSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/command
|
||||||
|
kind: ReplicaSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/env/value
|
||||||
|
kind: ReplicaSet
|
||||||
|
|
||||||
- path: spec/template/spec/containers/volumeMounts/mountPath
|
- path: spec/template/spec/containers/volumeMounts/mountPath
|
||||||
kind: ReplicaSet
|
kind: ReplicaSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/args
|
||||||
|
kind: ReplicaSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/command
|
||||||
|
kind: ReplicaSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/env/value
|
||||||
|
kind: ReplicaSet
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
||||||
kind: ReplicaSet
|
kind: ReplicaSet
|
||||||
|
|
||||||
- path: spec/template/spec/containers/volumeMounts/mountPath
|
- path: spec/template/spec/containers/args
|
||||||
kind: Job
|
kind: StatefulSet
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
- path: spec/template/spec/containers/command
|
||||||
kind: Job
|
kind: StatefulSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/containers/env/value
|
||||||
|
kind: StatefulSet
|
||||||
|
|
||||||
- path: spec/template/spec/containers/volumeMounts/mountPath
|
- path: spec/template/spec/containers/volumeMounts/mountPath
|
||||||
kind: CronJob
|
kind: StatefulSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/args
|
||||||
|
kind: StatefulSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/command
|
||||||
|
kind: StatefulSet
|
||||||
|
|
||||||
|
- path: spec/template/spec/initContainers/env/value
|
||||||
|
kind: StatefulSet
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
||||||
kind: CronJob
|
kind: StatefulSet
|
||||||
|
|
||||||
- path: spec/template/spec/containers/volumeMounts/mountPath
|
|
||||||
kind: DaemonSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
|
||||||
kind: DaemonSet
|
|
||||||
|
|
||||||
- path: spec/template/spec/containers/volumeMounts/mountPath
|
|
||||||
kind: Deployment
|
|
||||||
|
|
||||||
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
|
||||||
kind: Deployment
|
|
||||||
|
|
||||||
- path: metadata/labels
|
- path: metadata/labels
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user