mirror of https://github.com/kubernetes/kops.git
Print deprecation warning when using CloudFormation target
This commit is contained in:
parent
d878274767
commit
f19bc57eb4
|
@ -718,6 +718,14 @@ func (c *ApplyClusterCmd) Run(ctx context.Context) error {
|
|||
// Can cause conflicts with cloudformation management
|
||||
shouldPrecreateDNS = false
|
||||
|
||||
fmt.Printf("\n")
|
||||
fmt.Printf("%s\n", starline)
|
||||
fmt.Printf("\n")
|
||||
fmt.Printf("Kops support for CloudFormation is deprecated and will be removed in a future release.\n")
|
||||
fmt.Printf("\n")
|
||||
fmt.Printf("%s\n", starline)
|
||||
fmt.Printf("\n")
|
||||
|
||||
case TargetDryRun:
|
||||
target = fi.NewDryRunTarget(assetBuilder, os.Stdout)
|
||||
dryRun = true
|
||||
|
|
Loading…
Reference in New Issue