Merge pull request #80606 from andrewsykim/cloud-config-api

document API guarentees and deprecation policies for cloud config files
This commit is contained in:
Kubernetes Prow Robot
2019-07-29 19:54:50 -07:00
committed by GitHub
5 changed files with 25 additions and 0 deletions

View File

@@ -146,6 +146,11 @@ type OpenStack struct {
}
// Config is used to read and store information from the cloud configuration file
// NOTE: Cloud config files should follow the same Kubernetes deprecation policy as
// flags or CLIs. Config fields should not change behavior in incompatible ways and
// should be deprecated for at least 2 release prior to removing.
// See https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecating-a-flag-or-cli
// for more details.
type Config struct {
Global struct {
AuthURL string `gcfg:"auth-url"`