https://pulumi.com logo
#kubernetes
Title
# kubernetes
f

flat-planet-10000

02/08/2023, 11:13 AM
👋 Hello there, I am currently trying to deploy the
gitlab-runner
on
AKS
from the helm chart, but
pulumi up
fails. Here is the definition
Copy code
export const runner = new k8s.helm.v3.Chart(
    "gitlab-runner",
    {
        chart: "gitlab/gitlab-runner",
        version: "0.49.1",
        fetchOpts: {
            repo: "<https://charts.gitlab.io>",
        },
        values: {
            gitlabUrl: config.gitlabUrl,
            runnerRegistrationToken: config.gitlabRunnerToken,
            runUntagged: false,
            "rbac.create": true,
        namespace,
    },
    { provider: cluster.k8sProvider },
);
The chart exists (checked with
helm search repo -l gitlab/gitlab-runner
Copy code
NAME                	CHART VERSION	APP VERSION	DESCRIPTION  
gitlab/gitlab-runner	0.49.1       	15.8.1     	GitLab Runner
But
pulumi up
gives me following error:
Copy code
Diagnostics:
  pulumi:pulumi:Stack (danube-dev):
    error: Running program '/home/klemens/work/danube/deployment/pulumi/danube' failed with an unhandled exception:
    Error: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to pull chart: chart "gitlab/gitlab-runner" version "0.49.1" not found in <https://charts.gitlab.io> repository
        at Object.callback (/home/klemens/work/danube/deployment/pulumi/danube/node_modules/@pulumi/runtime/invoke.ts:172:33)
        at Object.onReceiveStatus (/home/klemens/work/danube/deployment/pulumi/danube/node_modules/@grpc/grpc-js/src/client.ts:338:26)
        at Object.onReceiveStatus (/home/klemens/work/danube/deployment/pulumi/danube/node_modules/@grpc/grpc-js/src/client-interceptors.ts:426:34)
        at Object.onReceiveStatus (/home/klemens/work/danube/deployment/pulumi/danube/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
        at /home/klemens/work/danube/deployment/pulumi/danube/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
        at processTicksAndRejections (node:internal/process/task_queues:78:11)
Does anyone know what the problem can be, or how I can investigate closer? Thanks in advance
b

billowy-army-68599

02/08/2023, 11:27 AM
remove the
gitlab/
part from
"gitlab/gitlab-runner"
f

flat-planet-10000

02/08/2023, 11:29 AM
thanks, that worked
10 Views