Temporarily disable resource ref support (#5932)

Disable resource ref support until https://github.com/pulumi/pulumi-kubernetes/issues/1405
is fixed. This bug currently affects Python users with recent versions of the pulumi SDK
who are using the pulumi-kubernetes provider.
This commit is contained in:
Levi Blackstone 2020-12-12 13:02:45 -07:00 committed by GitHub
parent 069f9f28cf
commit 54d6703fee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -5,6 +5,9 @@ CHANGELOG
- Fix a bug in the Go SDK that could result in dropped resource dependencies.
[#5930](https://github.com/pulumi/pulumi/pull/5930)
- Temporarily disable resource ref feature.
[#5932](https://github.com/pulumi/pulumi/pull/5932)
## 2.15.5 (2020-12-11)

View file

@ -531,7 +531,8 @@ func (rm *resmon) SupportsFeature(ctx context.Context,
case "secrets":
hasSupport = true
case "resourceReferences":
hasSupport = true
// TODO: Temporarily disabling resource ref support (https://github.com/pulumi/pulumi-kubernetes/issues/1405)
hasSupport = false
// Allow the resource reference feature to be disabled by explicitly setting an env var.
if v, ok := os.LookupEnv("PULUMI_DISABLE_RESOURCE_REFERENCES"); ok && cmdutil.IsTruthy(v) {