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 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
|
||||
# export KOPS_FEATURE_FLAGS="AlphaAllowOpenStack"
|
||||
export KOPS_FEATURE_FLAGS="AlphaAllowOpenStack"
|
||||
```
|
||||
|
||||
## Creating a Cluster
|
||||
|
|
|
@ -84,6 +84,8 @@ var (
|
|||
AlphaAllowDO = featureflag.New("AlphaAllowDO", featureflag.Bool(false))
|
||||
// AlphaAllowGCE is a feature flag that gates GCE support while it is alpha
|
||||
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 = featureflag.New("AlphaAllowVsphere", featureflag.Bool(false))
|
||||
// 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{},
|
||||
|
||||
// VPC / Networking
|
||||
"dhcpOptions": &awstasks.DHCPOptions{},
|
||||
"internetGateway": &awstasks.InternetGateway{},
|
||||
"route": &awstasks.Route{},
|
||||
"routeTable": &awstasks.RouteTable{},
|
||||
"routeTableAssociation": &awstasks.RouteTableAssociation{},
|
||||
"securityGroup": &awstasks.SecurityGroup{},
|
||||
"securityGroupRule": &awstasks.SecurityGroupRule{},
|
||||
"subnet": &awstasks.Subnet{},
|
||||
"vpc": &awstasks.VPC{},
|
||||
"ngw": &awstasks.NatGateway{},
|
||||
"dhcpOptions": &awstasks.DHCPOptions{},
|
||||
"internetGateway": &awstasks.InternetGateway{},
|
||||
"route": &awstasks.Route{},
|
||||
"routeTable": &awstasks.RouteTable{},
|
||||
"routeTableAssociation": &awstasks.RouteTableAssociation{},
|
||||
"securityGroup": &awstasks.SecurityGroup{},
|
||||
"securityGroupRule": &awstasks.SecurityGroupRule{},
|
||||
"subnet": &awstasks.Subnet{},
|
||||
"vpc": &awstasks.VPC{},
|
||||
"ngw": &awstasks.NatGateway{},
|
||||
"vpcDHDCPOptionsAssociation": &awstasks.VPCDHCPOptionsAssociation{},
|
||||
|
||||
// ELB
|
||||
|
|
Loading…
Reference in New Issue