enable fleet cluster deployment (#356)

* added fleet exception to rollout cmd

* removed fleet check for rollout

* modified casing

* modified approach for fleet check

* tidying up

* defaulting to Microsoft.ContainerService/managedClusters

* ran prettier command

* modified manifest stablity check

* ran prettier check

* moved lowercase check to beginning

---------

Co-authored-by: audrastump <stumpaudra@microsoft.com>
This commit is contained in:
Audra Stump
2024-12-06 11:32:48 -08:00
committed by GitHub
parent bf768b3109
commit d1acc1a47b
5 changed files with 57 additions and 5 deletions
+7 -2
View File
@@ -138,9 +138,14 @@ function appendStableVersionLabelToResource(files: string[]): string[] {
export async function checkManifestStability(
kubectl: Kubectl,
resources: Resource[]
resources: Resource[],
resourceType: string
): Promise<void> {
await KubernetesManifestUtility.checkManifestStability(kubectl, resources)
await KubernetesManifestUtility.checkManifestStability(
kubectl,
resources,
resourceType
)
}
export async function annotateAndLabelResources(