config.Yaml invokes decode but doesn't propagate provider
See original GitHub issueHello!
- Vote on this issue by adding a 👍 reaction
- To contribute a fix for this issue, leave a comment (and link to your pull request, if you’ve opened one already)
Issue details
When the default Kubernetes provider is disabled, we cannot use yaml.ConfigFile
. It seems that an invoke to yaml::decode
is made without propagation of the provider.
Error: Invoke: Default provider for 'kubernetes' disabled. 'kubernetes:yaml:decode' must use an explicit provider
Steps to reproduce
args.provider.urn.apply((u) => console.log(`Provider URN: ${u}`));
const crds = new kubernetes.yaml.ConfigFile(
`${this.name}-crds`,
{ file: this.crdsUrl.replace("${VERSION}", this.version) },
{
parent: this,
provider: args.provider,
dependsOn: args.dependsOn,
}
);
This code fails, even though the URN for my provider is correct.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Troubleshooting - Harness.io Docs
Most Delegate issues arise from network connectivity where the Delegate is unable to connect to a Cloud Provider, Artifact Server, etc, because ...
Read more >OpenID Connect (OIDC) authorization code flow mechanism
The Authorization Code Flow mechanism authenticates users of your web application by redirecting them to an OIDC provider, such as Keycloak, to log...
Read more >12. OAuth2 - Spring
This section shows how to configure the OAuth 2.0 Login sample using Google as the Authentication Provider and covers the following topics:.
Read more >Manage your Kubernetes secrets with Hashicorp Vault
Once your Kubernetes clusters starts to grow, managing secrets can be a challenge. Yaml ... Deploying and Configuring External Secrets in Kubernetes.
Read more >Global Mesh Options - Istio
Default value is false . No. defaultConfig, ProxyConfig. Default proxy config used by gateway and sidecars. In case of Kubernetes, the proxy ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rosskevin you would need to pass the opts to
ConfigFile
. However, I believe you might run into https://github.com/pulumi/pulumi/issues/9996. Instead you might want to pass thekubernetes
provider directly as ConfigFile’sprovider
resource option.I updated to
3.18.2
and it appears the bug is still present