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

Support validMasterVersions in ServerConfig #84

Closed
matthew-piziak opened this issue Oct 13, 2017 · 1 comment
Closed

Support validMasterVersions in ServerConfig #84

matthew-piziak opened this issue Oct 13, 2017 · 1 comment

Comments

@matthew-piziak
Copy link

Currently the ServerConfig looks like this:

data ServerConfig = ServerConfig'
    { _scValidNodeVersions     :: !(Maybe [Text])
    , _scDefaultImageFamily    :: !(Maybe Text)
    , _scValidImageFamilies    :: !(Maybe [Text])
    , _scDefaultClusterVersion :: !(Maybe Text)
    } deriving (Eq,Show,Data,Typeable,Generic)

Hitting gcloud container get-server-config --log-http returns a result like this:

{
  "defaultClusterVersion": …,
  "validNodeVersions": […],
  "defaultImageType": …,
  "validImageTypes": [...],
  "validMasterVersions": [...]
}

Can we get _scValidMasterVersions in the datatype? Thanks!

@matthew-piziak
Copy link
Author

Never mind, I'm looking at an old version. Thanks!

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

No branches or pull requests

1 participant