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

Retrieve capability infos from the cluster instead of hardcoding data #69

Closed
metacosm opened this issue Jan 22, 2020 · 3 comments · Fixed by #70
Closed

Retrieve capability infos from the cluster instead of hardcoding data #69

metacosm opened this issue Jan 22, 2020 · 3 comments · Fixed by #70
Assignees

Comments

@metacosm
Copy link
Contributor

hal capability create should retrieve the live data from the cluster now that it's possible instead of hardcoding values.

@cmoulliard
Copy link
Contributor

cmoulliard commented Jan 23, 2020

List of versions is empty @metacosm

oc get postgresversions.catalog.kubedb.com
NAME       VERSION   DB_IMAGE                   DEPRECATED   AGE
10.2       10.2      kubedb/postgres:10.2       true         35h
10.2-v1    10.2      kubedb/postgres:10.2-v2    true         35h
10.2-v2    10.2      kubedb/postgres:10.2-v3                 35h
10.2-v3    10.2      kubedb/postgres:10.2-v4                 35h
10.2-v4    10.2      kubedb/postgres:10.2-v5                 35h
10.6       10.6      kubedb/postgres:10.6                    35h
10.6-v1    10.6      kubedb/postgres:10.6-v1                 35h
10.6-v2    10.6      kubedb/postgres:10.6-v2                 35h
11.1       11.1      kubedb/postgres:11.1                    35h
11.1-v1    11.1      kubedb/postgres:11.1-v1                 35h
11.1-v2    11.1      kubedb/postgres:11.1-v2                 35h
11.2       11.2      kubedb/postgres:11.2                    35h
9.6        9.6       kubedb/postgres:9.6        true         35h
9.6-v1     9.6       kubedb/postgres:9.6-v2     true         35h
9.6-v2     9.6       kubedb/postgres:9.6-v3                  35h
9.6-v3     9.6       kubedb/postgres:9.6-v4                  35h
9.6-v4     9.6       kubedb/postgres:9.6-v5                  35h
9.6.7      9.6.7     kubedb/postgres:9.6.7      true         35h
9.6.7-v1   9.6.7     kubedb/postgres:9.6.7-v2   true         35h
9.6.7-v2   9.6.7     kubedb/postgres:9.6.7-v3                35h
9.6.7-v3   9.6.7     kubedb/postgres:9.6.7-v4                35h
9.6.7-v4   9.6.7     kubedb/postgres:9.6.7-v5                35h

hal capability create                  
? Category database
? Type Postgres
? Version  [Use arrows to move, space to select, type to filter]
❯ 

But versions defined undercapabilityinfo for postgresql is empty
Screenshot 2020-01-23 06 53 33

@metacosm
Copy link
Contributor Author

Something is going on with your cluster and the plugin… Unfortunately, this is going to be tricky to debug…

@metacosm
Copy link
Contributor Author

Fixed by halkyonio/operator#206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants