lively-needle-84406
10/05/2022, 3:02 PMistio-system
, but a randomly generated string gets appended to the name. Is there a way to specify a specific name for a namespace when using new kubernetes.core.v1.Namespace
?
const istioNamespaceName = "istio-system"
const istioNamespace = new k8s.core.v1.Namespace(istioNamespaceName);
const istioVersion = "1.15.0";
const istioBase = new k8s.helm.v3.Chart("istio-base", {
chart: "base",
version: istioVersion,
namespace: istioNamespaceName,
fetchOpts: {
repo: "<https://istio-release.storage.googleapis.com/charts>",
},
}, {
dependsOn: istioNamespace
});
billowy-army-68599
const istioNamespace = new k8s.core.v1.Namespace(istioNamespaceName, {
metadata: {
name: "istio-system
}
});
const istioBase = new k8s.helm.v3.Chart("istio-base", {
chart: "base",
version: istioVersion,
namespace: istioNamespace.metadata.name,
fetchOpts: {
repo: "<https://istio-release.storage.googleapis.com/charts>",
},
}, {
dependsOn: istioNamespace
});
To reference itlively-needle-84406
10/05/2022, 3:07 PMsteep-toddler-94095
10/05/2022, 5:29 PM