Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for VMSS in-line extensions behind feature flag (#8222)
- Loading branch information
1 parent
6ca1249
commit a2afa22
Showing
51 changed files
with
1,717 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package features | ||
|
||
import ( | ||
"os" | ||
"strings" | ||
) | ||
|
||
// VMSSExtensionsBeta returns whether or not the beta for VMSS Extensions for Linux and Windows VMSS resources is | ||
// enabled. | ||
// | ||
// Set the Environment Variable `ARM_PROVIDER_VMSS_EXTENSIONS_BETA` to `true` | ||
func VMSSExtensionsBeta() bool { | ||
return strings.EqualFold(os.Getenv("ARM_PROVIDER_VMSS_EXTENSIONS_BETA"), "true") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.