bored-table-20691
05/20/2021, 7:55 PMbored-table-20691
05/20/2021, 8:10 PMbored-table-20691
05/20/2021, 8:11 PMkube2pulumi
online site - should I just open GitHub issues for them?colossal-australia-65039
05/21/2021, 5:23 PMpulumi preview --diff
to not print out anything usefulbored-table-20691
05/21/2021, 6:20 PMvalues
), things don’t get re-run.
In a normal setting I’d just explicitly declare the dependencies (or have it be implicit via the resources), but the Helm chart is a single unit, and not clear to me if I can do it via a Transformation.straight-cartoon-24485
05/23/2021, 2:46 AMbillowy-vr-96461
05/24/2021, 5:19 PMbored-table-20691
05/25/2021, 1:19 AMfresh-hospital-81544
05/25/2021, 4:56 AMimport * as k8s from "@pulumi/kubernetes";
// Deploy the latest version of the stable/wordpress chart.
const wordpress = new k8s.helm.v3.Chart("wpdev", {
repo: "stable",
chart: "wordpress",
version: "9.0.3",
});
// Export the public IP for WordPress.
const frontend = wordpress.getResource("v1/Service", "wpdev-wordpress");
export const frontendIp = frontend.status.loadBalancer.ingress[0].ip;
Is there a way to get this code to run as is or must it be modified with apply like so
import * as k8s from "@pulumi/kubernetes";
// Deploy the latest version of the stable/wordpress chart.
const wordpress = new k8s.helm.v3.Chart("wpdev", {
repo: "stable",
chart: "wordpress",
version: "9.0.3",
});
// Export the public IP for WordPress.
const frontend = wordpress.apply(wordpress => wordpress.getResource("v1/Service", "wpdev-wordpress"));
export const frontendIp = frontend.apply(frontend=>frontend.status.loadBalancer.ingress[0].ip);
Thankslemon-monkey-228
05/25/2021, 7:45 AMlemon-monkey-228
05/25/2021, 7:45 AMlemon-monkey-228
05/25/2021, 7:46 AMpulumi refresh
and that seems to have removed these resources from the state, but now I can’t pulumi up
because there are still other resources (eg. PVCs) still hanging aroundlemon-monkey-228
05/25/2021, 7:47 AMbored-table-20691
05/26/2021, 12:20 AMpulumi.NewFileAsset
if I want to use it as an input to StringData
for a secret?lemon-monkey-228
05/26/2021, 1:26 PMlemon-monkey-228
05/26/2021, 1:27 PMglamorous-australia-21342
05/26/2021, 2:16 PMglamorous-australia-21342
05/26/2021, 2:16 PMpurple-plumber-90981
05/28/2021, 2:16 AM<https://github.com/kubernetes-sigs/aws-efs-csi-driver/tree/master/charts/aws-efs-csi-driver>
as a pulumi_kubernetes.helm.v3.Chart but it fails because <http://csidrivers.storage.k8s.io|csidrivers.storage.k8s.io> "<http://efs.csi.aws.com|efs.csi.aws.com>" already exists
…. this happens because the chart includes a pre-install helm hook to remove the existing efs-csi driver and pulumi doesnt support helm-hooks (<https://github.com/pulumi/pulumi-kubernetes/issues/555>
) . . . what is the best way for me to work around this ?bored-table-20691
05/28/2021, 6:48 PMappsv1.NewDeployment(ctx, "myDeployment", &appsv1.DeploymentArgs{
and I want to change it to
appsv1.NewDeployment(ctx, "my-deployment", &appsv1.DeploymentArgs{
If I do that, it fails because it says the Deployment already exists with that name (note that I have given it an explicit name, so it is not using autonaming)ripe-shampoo-80285
05/28/2021, 11:03 PMicy-jordan-58549
05/31/2021, 2:34 PMerror: no resource plugin 'kubernetes-v1.1.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource kubernetes v1.1.0`
adamant-translator-31969
05/31/2021, 2:47 PMError: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to pull chart: could not find protocol handler for: s3
My cluster is in 1.16 ...steep-portugal-37539
06/01/2021, 7:32 PM<https://aws.github.io/eks-charts>
steep-portugal-37539
06/01/2021, 7:32 PMsteep-portugal-37539
06/01/2021, 7:32 PMsteep-portugal-37539
06/01/2021, 7:34 PMsteep-portugal-37539
06/01/2021, 7:34 PMsteep-portugal-37539
06/01/2021, 7:35 PMsteep-portugal-37539
06/01/2021, 7:37 PMsteep-portugal-37539
06/01/2021, 7:37 PM