flat-afternoon-93346
03/13/2024, 5:46 PMException: invoke of kubernetes:helm:template failed: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to pull chart: chart "logdna/agent" version "latest" not found in <https://assets.logdna.com/charts> repository
This is my code, strange things this error happens for all the charts, do need to pass anything additional to deploy?
import pulumi
from kube import kube_provider
from pulumi_kubernetes import helm
# Define your Pulumi stack name
name = pulumi.get_stack()
# Define your Kubernetes provider targeting EKS
kube_provider = kube_provider
# Replace "YOUR_INGESTION_KEY_HERE" with your actual LogDNA ingestion key
logdna = helm.v3.Chart(
f"{name}-logdna",
helm.v3.ChartOpts(
chart="logdna/agent",
namespace="kube-system",
version="latest",
fetch_opts=helm.v3.FetchOpts(
repo="<https://assets.logdna.com/charts>" # Use correct protocol specifier
),
values={"ingestionKey": "YOUR_INGESTION_KEY_HERE"},
),
opts=pulumi.ResourceOptions(provider=kube_provider),
)
# Output the release name and namespace for reference
pulumi.export("logdna_release_name", logdna.release_name)
damp-airline-38442
04/02/2024, 4:03 PMagent
not logdna/agent
. logdna
is a repo alias.
https://github.com/pulumi/pulumi-kubernetes/issues/1295