This message was deleted.
# kubernetes
s
This message was deleted.
d
What kind of errors are you seeing? Do you have any configs set on your aws provider or for aws in your stack/project configs (the Pulumi yaml files)?
s
oh so that is a good question, I know I am only using k8sprovider and a minimal Pulumi.yaml file.
Copy code
import * as aws from '@pulumi/aws'
import * as k8s from '@pulumi/kubernetes'
import * as pulumi from '@pulumi/pulumi'
import * as awsx from '@pulumi/awsx'

// output the stack name to pulumi so as to use config verification
export const stack = pulumi.getStack()

const config = new pulumi.Config('infra');

export const kubeconfigString = generateKubeconfig.apply((kubeconfig) => JSON.stringify(kubeconfig))
export const k8sProvider: k8s.Provider = new k8s.Provider('k8sProvider', {
  kubeconfig: kubeconfigString,
})
this is about it
d
OK, but what's the error?
Too late, I'm traveling now. The most common issue I see regarding aws local vs CI is that people set the aws profile in config instead of using environment variables or proper tooling to manage aws profiles
s
sorry it took so long and I had to look it up. there are two at present.
Copy code
0s
Run npm install
  npm install
  shell: /usr/bin/bash -e {0}
  env:
    NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
    NODE_AUTH_TOKEN: ***
    AWS_DEFAULT_REGION: ***
    AWS_REGION: ***
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
Error: An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/pulumi-deployments/pulumi-deployments/./eks/eks-dev/system'. No such file or directory
this was another error but I need to check if it is still an issue
Copy code
kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> resource 'cert-manager': property chart value {cert-manager} has a problem: chart requires kubeVersion: >= 1.22.0-0 which is incompatible with Kubernetes v1.20.0; check the chart name and repository configuration.
d
It might be worth trying without the
./
prefix, I don't remember using it