-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AKS: got an unexpected keyword argument 'status' #1755
Comments
I can repro it with a simple import pulumi_kubernetes as kubernetes
_ = kubernetes.yaml.ConfigFile(
"deployment-rbac.yaml",
file="https://raw.githubusercontent.com/Azure/aad-pod-identity/master/deploy/infra/deployment-rbac.yaml",
) The exact same code works in TypeScript, so there may be something Python-specific here... |
Same error using Helm: aks_pod_identity = kubernetes.helm.v3.Chart(
"aks_pod_identity",
kubernetes.helm.v3.ChartOpts(
chart="aad-pod-identity",
version="4.1.5",
namespace="kube-system",
fetch_opts=kubernetes.helm.v3.FetchOpts(
repo="https://raw.githubusercontent.com/Azure/aad-pod-identity/master/charts",
),
),
opts=pulumi.ResourceOptions(provider=aks_provider),
) Not sure if it helps to troubleshoot. |
Are there any update on this? Thanks |
Got the same error but I workarounded it like this: def _fix_status(obj: Any, opts: pulumi.ResourceOptions):
if obj.get("kind") == "CustomResourceDefinition":
# Remove offending parameter
del obj["status"]
kubernetes.helm.v3.Chart(
kubernetes.helm.v3.ChartOpts(
...
transformations=[_fix_status],
)
...
) |
Thanks for that @JHeilCoveo |
Should be a typing annotation: |
Yes it's from typing, you can remove |
It looks like this was fixed in #2183 |
Hello!
Issue details
Hi,
I am trying to create a AKS cluster with AAD pod identity capability:
But I get:
Steps to reproduce
pulumi preview
Expected: deploy
Actual: error above
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: