mirror of https://github.com/kubernetes/kops.git
add openstack gate flag
This commit is contained in:
parent
09acd56675
commit
9573ed45c0
|
@ -36,9 +36,8 @@ It is important to set the following environment variables:
|
||||||
export OPENSTACK_CREDENTIAL_FILE=<config-file> # where <config-file> is the path of the config file
|
export OPENSTACK_CREDENTIAL_FILE=<config-file> # where <config-file> is the path of the config file
|
||||||
export KOPS_STATE_STORE=swift://<bucket-name> # where <bucket-name> is the name of the Swift container to use for kops state
|
export KOPS_STATE_STORE=swift://<bucket-name> # where <bucket-name> is the name of the Swift container to use for kops state
|
||||||
|
|
||||||
# TODO(lmb): Add a feature gate for OpenStack
|
|
||||||
# this is required since OpenStack support is currently in alpha so it is feature gated
|
# this is required since OpenStack support is currently in alpha so it is feature gated
|
||||||
# export KOPS_FEATURE_FLAGS="AlphaAllowOpenStack"
|
export KOPS_FEATURE_FLAGS="AlphaAllowOpenStack"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Creating a Cluster
|
## Creating a Cluster
|
||||||
|
|
|
@ -84,6 +84,8 @@ var (
|
||||||
AlphaAllowDO = featureflag.New("AlphaAllowDO", featureflag.Bool(false))
|
AlphaAllowDO = featureflag.New("AlphaAllowDO", featureflag.Bool(false))
|
||||||
// AlphaAllowGCE is a feature flag that gates GCE support while it is alpha
|
// AlphaAllowGCE is a feature flag that gates GCE support while it is alpha
|
||||||
AlphaAllowGCE = featureflag.New("AlphaAllowGCE", featureflag.Bool(false))
|
AlphaAllowGCE = featureflag.New("AlphaAllowGCE", featureflag.Bool(false))
|
||||||
|
// AlphaAllowOpenstack is a feature flag that gates OpenStack support while it is alpha
|
||||||
|
AlphaAllowOpenstack = featureflag.New("AlphaAllowOpenstack", featureflag.Bool(false))
|
||||||
// AlphaAllowVsphere is a feature flag that gates vsphere support while it is alpha
|
// AlphaAllowVsphere is a feature flag that gates vsphere support while it is alpha
|
||||||
AlphaAllowVsphere = featureflag.New("AlphaAllowVsphere", featureflag.Bool(false))
|
AlphaAllowVsphere = featureflag.New("AlphaAllowVsphere", featureflag.Bool(false))
|
||||||
// AlphaAllowALI is a feature flag that gates aliyun support while it is alpha
|
// AlphaAllowALI is a feature flag that gates aliyun support while it is alpha
|
||||||
|
@ -414,16 +416,16 @@ func (c *ApplyClusterCmd) Run() error {
|
||||||
"iamRolePolicy": &awstasks.IAMRolePolicy{},
|
"iamRolePolicy": &awstasks.IAMRolePolicy{},
|
||||||
|
|
||||||
// VPC / Networking
|
// VPC / Networking
|
||||||
"dhcpOptions": &awstasks.DHCPOptions{},
|
"dhcpOptions": &awstasks.DHCPOptions{},
|
||||||
"internetGateway": &awstasks.InternetGateway{},
|
"internetGateway": &awstasks.InternetGateway{},
|
||||||
"route": &awstasks.Route{},
|
"route": &awstasks.Route{},
|
||||||
"routeTable": &awstasks.RouteTable{},
|
"routeTable": &awstasks.RouteTable{},
|
||||||
"routeTableAssociation": &awstasks.RouteTableAssociation{},
|
"routeTableAssociation": &awstasks.RouteTableAssociation{},
|
||||||
"securityGroup": &awstasks.SecurityGroup{},
|
"securityGroup": &awstasks.SecurityGroup{},
|
||||||
"securityGroupRule": &awstasks.SecurityGroupRule{},
|
"securityGroupRule": &awstasks.SecurityGroupRule{},
|
||||||
"subnet": &awstasks.Subnet{},
|
"subnet": &awstasks.Subnet{},
|
||||||
"vpc": &awstasks.VPC{},
|
"vpc": &awstasks.VPC{},
|
||||||
"ngw": &awstasks.NatGateway{},
|
"ngw": &awstasks.NatGateway{},
|
||||||
"vpcDHDCPOptionsAssociation": &awstasks.VPCDHCPOptionsAssociation{},
|
"vpcDHDCPOptionsAssociation": &awstasks.VPCDHCPOptionsAssociation{},
|
||||||
|
|
||||||
// ELB
|
// ELB
|
||||||
|
|
Loading…
Reference in New Issue