Skip to content
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

Difference in behavior on Windows : failed to determine if the following GVK is namespaced #2967

Open
jam-re opened this issue Apr 19, 2024 · 2 comments
Assignees
Labels
area/yaml awaiting-feedback Blocked on input from the author kind/bug Some behavior is incorrect or out of spec

Comments

@jam-re
Copy link

jam-re commented Apr 19, 2024

What happened?

The following object causes the following error when using Pulumi up on Windows (tested on 3.113.0 and 3.113.2) while on Linux no such error is displayed :

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: "{args["name"]}"
  namespace: "{args["ns"]}"
spec:
(...)

Provider is pulumi-kubernetes
CRD in question : https://github.com/external-secrets/external-secrets/blob/main/config/crds/bases/external-secrets.io_secretstores.yaml

Exception: marshaling properties: awaiting input property "resources": failed to determine if the following GVK is namespaced: external-secrets.io/v1beta1, Kind=ExternalSecret

Example

See above

Output of pulumi about

CLI
Version 3.113.2
Go Version go1.22.2
Go Compiler gc

Host
OS Microsoft Windows 10 Enterprise
Version 10.0.19045 Build 19045
Arch x86_64

Backend
Name REDACTED
URL file://~
User REDACTED
Organizations
Token type personal

Pulumi locates its logs in C:\Users\REDACTED\AppData\Local\Temp\1 by default

Additional context

No response

Contributing

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).

@jam-re jam-re added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Apr 19, 2024
@Frassle

This comment was marked as resolved.

@Frassle Frassle transferred this issue from pulumi/pulumi Apr 19, 2024
@EronWright EronWright self-assigned this Apr 19, 2024
@EronWright
Copy link
Contributor

EronWright commented Apr 19, 2024

This error represents a failure to lookup the ExternalSecret CRD in the Kubernetes cluster, in using v2.ConfigGroup or v2.ConfigFile. I think you may have hit upon a limitation that we'll resolve soon. I would recommend you use the older ConfigGroup or ConfigFile for now.

I have some questions for @jam-re, thanks!

  1. Is this error appearing during preview or during the update?
  2. How are you installing the External Secrets Operator? Is it pre-installed or is the same Pulumi program installing it? Which resource are you using, maybe a Helm Chart or Release?

@EronWright EronWright added awaiting-feedback Blocked on input from the author and removed needs-triage Needs attention from the triage team labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/yaml awaiting-feedback Blocked on input from the author kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

3 participants