mirror of
https://github.com/dhall-lang/dhall-kubernetes.git
synced 2024-11-03 21:05:47 +03:00
Merge pull request #24 from dhall-lang/fix-kubernetes-version
Fix Kubernetes version for which to get swagger
This commit is contained in:
commit
d7e9d809fc
@ -91,7 +91,10 @@ def labelize(propName):
|
||||
return propName
|
||||
|
||||
|
||||
url = 'https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json'
|
||||
kubernetes_tag = 'v1.11.0'
|
||||
url = \
|
||||
'https://raw.githubusercontent.com/kubernetes/kubernetes/{tag}/api/openapi-spec/swagger.json' \
|
||||
.format(tag=kubernetes_tag)
|
||||
|
||||
# See https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/#required-fields
|
||||
# because k8s API allows PUTS etc with partial data, it's not clear from the data types OR the API which
|
||||
|
Loading…
Reference in New Issue
Block a user