Fix SSA conflict when updating old objects #2633
Annotations
2 errors
Check worktree clean:
provider/cmd/pulumi-resource-kubernetes/schema.json#L1
File modified:
@@ -90562,7 +90562,7 @@
]
},
"kubernetes:helm.sh/v3:Chart": {
- "description": "{{% notes type=\"info\" %}}\nA newer version of this resource is available as [kubernetes.helm.sh/v4.Chart](/registry/packages/kubernetes/api-docs/helm/v4/chart/).\nSee the corresponding [blog post](/blog/kubernetes-yaml-v2/) for more information.\n{{% /notes %}}\n\nChart is a component representing a collection of resources described by an arbitrary Helm Chart.\n\nThe Helm Chart can be fetched from any source that is accessible to the `helm` command line. Values in the `values.yml` file can be overridden using `ChartOpts.values` (equivalent to `--set` or having multiple `values.yml` files). Objects can be transformed arbitrarily by supplying callbacks to `ChartOpts.transformations`.\n\nThe `Chart` resource renders the templates from your chart and then manage them directly with the Pulumi Kubernetes provider.\n\n`Chart` does not use Tiller. The Chart specified is copied and expanded locally; the semantics are equivalent to running `helm template` and then using Pulumi to manage the resulting YAML manifests. Any values that would be retrieved in-cluster are assigned fake values, and none of Tiller's server-side validity testing is executed.\n\nYou may also want to consider the `Release` resource as an alternative method for managing helm charts. For more information about the trade-offs between these options see: [Choosing the right Helm resource for your use case](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/choosing-the-right-helm-resource-for-your-use-case)\n\nThis resource is provided for the following languages: Node.js (JavaScript, TypeScript), Python, Go, and .NET (C#, F#, VB).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Local Chart Directory\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Chart(\"nginx-ingress\", {\n path: \"./nginx-ingress\",\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Chart, LocalChartOpts\n\nnginx_ingress = Chart(\n \"nginx-ingress\",\n LocalChartOpts(\n path=\"./nginx-ingress\",\n ),\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Helm;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Chart(\"nginx-ingress\", new LocalChartArgs\n {\n Path = \"./nginx-ingress\",\n });\n\n }\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/helm/v3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := helm.NewChart(ctx, \"nginx-ingress\", helm.ChartArgs{\n\t\t\tPath: pulumi.String(\"./nginx-ingress\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Remote Chart\n\n```typescript\nimport * as k8s from \"@pulumi/kubernetes\";\n\nconst nginxIngress = new k8s.helm.v3.Chart(\"nginx-ingress\", {\n chart: \"nginx-ingress\",\n version: \"1.24.4\",\n fetchOpts:{\n repo: \"https://charts.helm.sh/stable\",\n },\n});\n```\n```python\nfrom pulumi_kubernetes.helm.v3 import Chart, ChartOpts, FetchOpts\n\nnginx_ingress = Chart(\n \"nginx-ingress\",\n ChartOpts(\n chart=\"nginx-ingress\",\n version=\"1.24.4\",\n fetch_opts=FetchOpts(\n repo=\"https://charts.helm.sh/stable\",\n ),\n ),\n)\n```\n```csharp\nusing System.Threading.Tasks;\nusing Pulumi;\nusing Pulumi.Kubernetes.Helm;\nusing Pulumi.Kubernetes.Helm.V3;\n\nclass HelmStack : Stack\n{\n public HelmStack()\n {\n var nginx = new Chart(\"nginx-ingress\", new ChartArgs\n {\n Chart = \"nginx-ingress\",\n Version = \"1.24.4\",\n FetchOptions = new ChartFetchArgs\n {\n Repo = \"https://charts.helm.sh/stable\"\n }\n
|
Check worktree clean
Unexpected changes detected: 1. See file annotations for details.
|
Loading