mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-29 17:41:13 +00:00
Sort default varReference config by kind, path
This commit is contained in:
@@ -19,98 +19,68 @@ 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/template/spec/containers/volumeMounts/mountPath
|
||||||
kind: Pod
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/containers/args
|
- path: spec/template/spec/initContainers/volumeMounts/mountPath
|
||||||
kind: Pod
|
kind: CronJob
|
||||||
|
|
||||||
- path: spec/containers/env/value
|
- path: spec/template/spec/containers/args
|
||||||
kind: Pod
|
kind: DaemonSet
|
||||||
|
|
||||||
- path: spec/initContainers/command
|
- path: spec/template/spec/containers/command
|
||||||
kind: Pod
|
kind: DaemonSet
|
||||||
|
|
||||||
- path: spec/initContainers/args
|
- path: spec/template/spec/containers/env/value
|
||||||
kind: Pod
|
kind: DaemonSet
|
||||||
|
|
||||||
- path: spec/initContainers/env/value
|
- path: spec/template/spec/containers/volumeMounts/mountPath
|
||||||
kind: Pod
|
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,15 +88,45 @@ 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/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
|
||||||
|
|
||||||
@@ -136,29 +136,29 @@ varReference:
|
|||||||
- 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