Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

[BUG] api_version is not correct #61

Open
XenGi opened this issue Jan 13, 2021 · 0 comments
Open

[BUG] api_version is not correct #61

XenGi opened this issue Jan 13, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@XenGi
Copy link

XenGi commented Jan 13, 2021

Describe the bug
I tried the given example with my rancher cluster and it doesn't work. The API version is not correct. I don't know how to find out what the correct version is.

To Reproduce

  • cattlectl version: v2.0.0
  • Rancher Version: v2.4.5
  • I use cattlectl as commandline tool
  • Debug log output from cattlectl <command> -v1.
    DEBU[0000] values dose not exists                        values-file=/home/xengi/phpipam_test/values.yaml
    FATA[0000] Unsupported api version v3                    apply_file=project.yaml
    
  • The simplest example project descriptor and scripts needed to
    reproduce the bug.
    ---
    api_version: v1.0
    kind: Project
    metadata:
      name: phpipam
    namespaces:
      - name: phpipam
    

Expected behavior
I would think that this yaml would create a project called phpipam and a namespace called phpipam.

Additional context
I already tried v3 as the api_version because this is what I see in some requests to rancher but that gave the same output.

@XenGi XenGi added the bug Something isn't working label Jan 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant