Fix kuberentes env var
parent
6f543a5ec2
commit
e40ac53d8f
|
|
@ -2150,6 +2150,7 @@ class KubernetesJobSpecFactory {
|
||||||
const environmentVariable = new client_node_1.V1EnvVar();
|
const environmentVariable = new client_node_1.V1EnvVar();
|
||||||
environmentVariable.name = x.name;
|
environmentVariable.name = x.name;
|
||||||
environmentVariable.value = x.value;
|
environmentVariable.value = x.value;
|
||||||
|
return environmentVariable;
|
||||||
}),
|
}),
|
||||||
...secrets.map((x) => {
|
...secrets.map((x) => {
|
||||||
const secret = new client_node_1.V1EnvVarSource();
|
const secret = new client_node_1.V1EnvVarSource();
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -117,6 +117,7 @@ class KubernetesJobSpecFactory {
|
||||||
const environmentVariable = new V1EnvVar();
|
const environmentVariable = new V1EnvVar();
|
||||||
environmentVariable.name = x.name;
|
environmentVariable.name = x.name;
|
||||||
environmentVariable.value = x.value;
|
environmentVariable.value = x.value;
|
||||||
|
return environmentVariable;
|
||||||
}),
|
}),
|
||||||
...secrets.map((x) => {
|
...secrets.map((x) => {
|
||||||
const secret = new V1EnvVarSource();
|
const secret = new V1EnvVarSource();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue