• m

    most-lighter-95902

    3 months ago
    error: TypeError: Cannot read properties of undefined (reading 'map')
            at /Users/seungchanlee/Documents/Sidetrek/sidetrek-flyte/node_modules/@pulumi/yaml/yaml.ts:2993:14
    m
    g
    11 replies
    Copy to Clipboard
  • m

    most-lighter-95902

    3 months ago
    This seems to be the problem but still can’t figure out why:
  • m

    most-lighter-95902

    3 months ago
    const metricsServer = new k8s.yaml.ConfigGroup('metrics-server', {
          files: '<https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml>',
        }, { provider: cluster.provider })
  • m

    most-lighter-95902

    3 months ago
    And weirdly, this file doesn’t even exist:
    /Users/seungchanlee/Documents/Sidetrek/sidetrek-flyte/node_modules/@pulumi/yaml/yaml.ts:2993:14
  • m

    most-lighter-95902

    3 months ago
    I’ve been struggling with it for a couple days now and would appreciate any help with this
  • g

    glamorous-australia-21342

    3 months ago
    Anyone know how to programatically update
    roleMappings
    after a cluster is created? I'm making some K8s roles with namespaces in them, and I need to update this after the namespaces are already created.
    // Create an EKS cluster with the default configuration.
    export const cluster = new eks.Cluster(stack,{
      createOidcProvider: true,
      providerCredentialOpts: {
        profileName: aws.config.profile,
      },
      roleMappings: [
        {
          groups: ["system:masters"],
          roleArn: clusterIamAuthRole.role.arn,
          username: "admin"
        },
        {
          groups: [k8sClusterRoleName],
          roleArn: clusterNonManagedIamRole.role.arn,
          username: k8sClusterRoleName
        },
        // {
        //   groups: groupsList.apply(groups => groups),
        //   roleArn: namespaceRestrictedIamRole.role.arn,
        //   username: roleName
        // }
      ]
    });
    g
    1 replies
    Copy to Clipboard
  • g

    glamorous-australia-21342

    3 months ago
    How to manage aws-auth configmap with pulumi?
    g
    b
    3 replies
    Copy to Clipboard
  • p

    proud-tomato-75820

    3 months ago
    Hi, can anyone tell me if i’m doing something wrong and point me to some docs? 🙏 Or it’s just not implemented? I’m trying to create service account API token:
    const secret = new k8s.core.v1.Secret("example", {
        metadata: {
            name: "example",
            annotations: {
                "<http://kubernetes.io/service-account.name|kubernetes.io/service-account.name>": "default",
            },
        },
        type: "<http://kubernetes.io/service-account-token|kubernetes.io/service-account-token>",
    });
    which works. But now how do I get the token since data is undefined?
    secret.data.apply(v => v["token"]);
    🤔
    p
    q
    6 replies
    Copy to Clipboard
  • f

    few-pillow-1133

    3 months ago
    Below issue seems to still be there
    initialize discovery client: exec plugin: invalid apiVersion "<http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
    stacks: pulumi/pulumi:3.35.0
    f
    b
    +1
    8 replies
    Copy to Clipboard
  • v

    victorious-exabyte-70545

    3 months ago
    Hi guys, I just got this error when updating my ingress controller:
    kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> (ingress-nginx-helm):
        error: uninstall: Release not loaded: ingress-nginx-helm-zy7cpt64: release: not found
    v
    5 replies
    Copy to Clipboard