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

Add gscloud-kubernetes-releases #113

Closed
bkircher opened this issue Jan 25, 2021 · 2 comments · Fixed by #118
Closed

Add gscloud-kubernetes-releases #113

bkircher opened this issue Jan 25, 2021 · 2 comments · Fixed by #118
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@bkircher
Copy link
Contributor

bkircher commented Jan 25, 2021

Implement a subcommand gscloud kubernetes versions that essentially prints the available version slugs for Kubernetes from the objects/paas/service_templates endpoint.

Example:

$ curl -s -H 'Content-Type: application/json' \
  https://api.gridscale.dev/objects/paas/service_templates \
  -H "X-Auth-UserID: $userid" \
  -H "X-Auth-Token: $apitoken \
  | jq '.paas_service_templates[].version'

"1.16.15-gs2"
"1.17.14-gs1"
"1.18.12-gs1"
"1.19.4-gs1"
@bkircher bkircher added enhancement New feature or request good first issue Good for newcomers labels Jan 25, 2021
@bkircher bkircher changed the title Add gscloud-kubernetes-version Add gscloud-kubernetes-versions Jan 25, 2021
@MarcHarriss MarcHarriss self-assigned this Feb 2, 2021
@bkircher
Copy link
Contributor Author

bkircher commented Mar 3, 2021

Of course this should be kubernetes releases as in #118

@bkircher
Copy link
Contributor Author

bkircher commented Mar 3, 2021

Example output:

$ gscloud kubernetes releases 
RELEASES  
1.16      
1.17      
1.18      
1.19      

@bkircher bkircher added this to the v0.10.0 milestone Mar 3, 2021
@bkircher bkircher changed the title Add gscloud-kubernetes-versions Add gscloud-kubernetes-releases Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants