Skip to content

Commit

Permalink
Try to repro #814 (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone authored May 28, 2021
1 parent 98d7333 commit 8d00716
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tests/sdk/nodejs/istio/step1/istio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,21 @@ export const istio_init = new k8s.helm.v2.Chart(
`${appName}-init`,
{
path: "charts/istio-init",
// Note: had to use a hardcoded namespace name to avoid error: https://github.com/pulumi/pulumi-kubernetes/issues/814
// namespace: namespace.metadata.name,
namespace: "istio-system",
namespace: namespace.metadata.name,
values: { kiali: { enabled: true } }
},
{ dependsOn: [namespace, adminBinding], providers: { kubernetes: k8sProvider } }
);

export const crd10 = istio_init.getResource("batch/v1/Job", "istio-system", "istio-init-crd-10");
export const crd11 = istio_init.getResource("batch/v1/Job", "istio-system", "istio-init-crd-11");
export const crd12 = istio_init.getResource("batch/v1/Job", "istio-system", "istio-init-crd-12");
export const crd10 = namespace.metadata.name.apply(ns => istio_init.getResource("batch/v1/Job", ns, "istio-init-crd-10"));
export const crd11 = namespace.metadata.name.apply(ns => istio_init.getResource("batch/v1/Job", ns, "istio-init-crd-11"));
export const crd12 = namespace.metadata.name.apply(ns => istio_init.getResource("batch/v1/Job", ns, "istio-init-crd-12"));

export const istio = new k8s.helm.v2.Chart(
appName,
{
path: "charts/istio",
// Note: had to use a hardcoded namespace name to avoid error: https://github.com/pulumi/pulumi-kubernetes/issues/814
// namespace: namespace.metadata.name,
namespace: "istio-system",
namespace: namespace.metadata.name,
values: { kiali: { enabled: true } }
},
{ dependsOn: [adminBinding, crd10, crd11, crd12], providers: { kubernetes: k8sProvider } }
Expand Down

0 comments on commit 8d00716

Please sign in to comment.