mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #60 from sethpollack/initContainers
add namerefs for initContainers
This commit is contained in:
@@ -87,6 +87,14 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
Path: []string{"spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Version: "v1",
|
||||||
|
Kind: "Pod",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "initContainers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Version: "v1",
|
Version: "v1",
|
||||||
@@ -95,6 +103,14 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "containers", "envFrom", "configMapRef", "name"},
|
Path: []string{"spec", "containers", "envFrom", "configMapRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Version: "v1",
|
||||||
|
Kind: "Pod",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "initContainers", "envFrom", "configMapRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "Deployment",
|
Kind: "Deployment",
|
||||||
@@ -109,6 +125,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "Deployment",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "Deployment",
|
Kind: "Deployment",
|
||||||
@@ -116,6 +139,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "Deployment",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "configMapRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "ReplicaSet",
|
Kind: "ReplicaSet",
|
||||||
@@ -130,6 +160,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "ReplicaSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "ReplicaSet",
|
Kind: "ReplicaSet",
|
||||||
@@ -137,6 +174,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "ReplicaSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "configMapRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "DaemonSet",
|
Kind: "DaemonSet",
|
||||||
@@ -151,6 +195,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "DaemonSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "DaemonSet",
|
Kind: "DaemonSet",
|
||||||
@@ -158,6 +209,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "DaemonSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "configMapRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "StatefulSet",
|
Kind: "StatefulSet",
|
||||||
@@ -172,6 +230,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "StatefulSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "StatefulSet",
|
Kind: "StatefulSet",
|
||||||
@@ -179,6 +244,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "StatefulSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "configMapRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "Job",
|
Kind: "Job",
|
||||||
@@ -193,6 +265,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "Job",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "Job",
|
Kind: "Job",
|
||||||
@@ -200,6 +279,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "Job",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "configMapRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "CronJob",
|
Kind: "CronJob",
|
||||||
@@ -214,6 +300,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "containers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "CronJob",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "initContainers", "env", "valueFrom", "configMapKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "CronJob",
|
Kind: "CronJob",
|
||||||
@@ -221,6 +314,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "containers", "envFrom", "configMapRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "CronJob",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "initContainers", "envFrom", "configMapRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -245,6 +345,14 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
Path: []string{"spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Version: "v1",
|
||||||
|
Kind: "Pod",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Version: "v1",
|
Version: "v1",
|
||||||
@@ -253,6 +361,14 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "containers", "envFrom", "secretRef", "name"},
|
Path: []string{"spec", "containers", "envFrom", "secretRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Version: "v1",
|
||||||
|
Kind: "Pod",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "initContainers", "envFrom", "secretRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "Deployment",
|
Kind: "Deployment",
|
||||||
@@ -267,6 +383,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "Deployment",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "Deployment",
|
Kind: "Deployment",
|
||||||
@@ -274,6 +397,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "Deployment",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "secretRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "ReplicaSet",
|
Kind: "ReplicaSet",
|
||||||
@@ -288,6 +418,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "ReplicaSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "ReplicaSet",
|
Kind: "ReplicaSet",
|
||||||
@@ -295,6 +432,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "ReplicaSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "secretRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "DaemonSet",
|
Kind: "DaemonSet",
|
||||||
@@ -309,6 +453,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "DaemonSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "DaemonSet",
|
Kind: "DaemonSet",
|
||||||
@@ -316,6 +467,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "DaemonSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "secretRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "StatefulSet",
|
Kind: "StatefulSet",
|
||||||
@@ -330,6 +488,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "StatefulSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "StatefulSet",
|
Kind: "StatefulSet",
|
||||||
@@ -337,6 +502,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "StatefulSet",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "secretRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "Job",
|
Kind: "Job",
|
||||||
@@ -351,6 +523,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "Job",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "Job",
|
Kind: "Job",
|
||||||
@@ -358,6 +537,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
Path: []string{"spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "Job",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "template", "spec", "initContainers", "envFrom", "secretRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "CronJob",
|
Kind: "CronJob",
|
||||||
@@ -372,6 +558,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "containers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "CronJob",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "initContainers", "env", "valueFrom", "secretKeyRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GroupVersionKind: &schema.GroupVersionKind{
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
Kind: "CronJob",
|
Kind: "CronJob",
|
||||||
@@ -379,6 +572,13 @@ var defaultNameReferencePathConfigs = []referencePathConfig{
|
|||||||
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "containers", "envFrom", "secretRef", "name"},
|
||||||
CreateIfNotPresent: false,
|
CreateIfNotPresent: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
GroupVersionKind: &schema.GroupVersionKind{
|
||||||
|
Kind: "CronJob",
|
||||||
|
},
|
||||||
|
Path: []string{"spec", "jobTemplate", "spec", "template", "spec", "initContainers", "envFrom", "secretRef", "name"},
|
||||||
|
CreateIfNotPresent: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user