diff --git a/README.md b/README.md index acb0cbe..ce35274 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,11 @@ supported versions of Kubernetes clusters. #### Compatibility matrix -| | Kubernetes 1.10 | -|------------------|-----------------| +| | Kubernetes 1.10 | Kubernetes 1.13 | +|------------------|-----------------|-----------------| | client 0.1.0a1 | ✓ | +|------------------|-----------------|-----------------| +| client 0.2.0a1 | | ✓ Key: @@ -46,6 +48,17 @@ Key: * `-` The Kubernetes cluster has features the Go client library can't use (additional API objects, etc). +### Generatic code + +Check out `https://github.com/kubernetes-client/gen` into `${GEN_DIR}`. + +Assume that `https://github.com/kubernetes-client/go` is in `${GO_DIR}`. + +```sh +cd ${GO_DIR}/kubernetes +${GEN_DIR}/openapi/go.sh ./ ./settings +``` + ## Contributing Please see [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to contribute. diff --git a/kubernetes/settings b/kubernetes/settings new file mode 100644 index 0000000..06608aa --- /dev/null +++ b/kubernetes/settings @@ -0,0 +1,26 @@ +#!/bin/bash + +# Copyright 2015 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Kubernetes branch to get the OpenAPI spec from. +export KUBERNETES_BRANCH="release-1.13" + +# client version for packaging and releasing. It can +# be different than SPEC_VERSION. +export CLIENT_VERSION="0.1.0" + +# Name of the release package +export PACKAGE_NAME="kubernetes" +