mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-08 06:12:15 +08:00
Spelling correction
This commit is contained in:
parent
2a96bf3d2c
commit
7362e2ee9b
@ -97,7 +97,7 @@ export async function rejectBlueGreenSMI(
|
||||
export async function setupSMI(
|
||||
kubectl: Kubectl,
|
||||
serviceEntityList: any[],
|
||||
annotaions: {[key: string]: string} = {}
|
||||
annotations: {[key: string]: string} = {}
|
||||
) {
|
||||
const newObjectsList = []
|
||||
const trafficObjectList = []
|
||||
@ -125,7 +125,7 @@ export async function setupSMI(
|
||||
kubectl,
|
||||
inputObject.metadata.name,
|
||||
NONE_LABEL_VALUE,
|
||||
annotaions
|
||||
annotations
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
@ -42,7 +42,7 @@ export async function deployManifests(
|
||||
deploymentStrategy: DeploymentStrategy,
|
||||
kubectl: Kubectl,
|
||||
trafficSplitMethod: TrafficSplitMethod,
|
||||
annotaions: {[key: string]: string} = {}
|
||||
annotations: {[key: string]: string} = {}
|
||||
): Promise<string[]> {
|
||||
switch (deploymentStrategy) {
|
||||
case DeploymentStrategy.CANARY: {
|
||||
@ -64,7 +64,7 @@ export async function deployManifests(
|
||||
(routeStrategy == RouteStrategy.INGRESS &&
|
||||
deployBlueGreenIngress(kubectl, files)) ||
|
||||
(routeStrategy == RouteStrategy.SMI &&
|
||||
deployBlueGreenSMI(kubectl, files, annotaions)) ||
|
||||
deployBlueGreenSMI(kubectl, files, annotations)) ||
|
||||
deployBlueGreenService(kubectl, files)
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user