@soft-stech/argo-rollouts
Version:
1,101 lines (1,100 loc) • 927 kB
TypeScript
import { z } from "zod";
export declare const IRolloutSchema: z.ZodObject<{
apiVersion: z.ZodLiteral<"argoproj.io/v1alpha1">;
kind: z.ZodLiteral<"Rollout">;
metadata: z.ZodOptional<z.ZodObject<{
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
creationTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deletionGracePeriodSeconds: z.ZodOptional<z.ZodNumber>;
deletionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
finalizers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
generateName: z.ZodOptional<z.ZodString>;
generation: z.ZodOptional<z.ZodNumber>;
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
managedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
apiVersion: z.ZodOptional<z.ZodString>;
fieldsType: z.ZodOptional<z.ZodString>;
fieldsV1: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
manager: z.ZodOptional<z.ZodString>;
operation: z.ZodOptional<z.ZodString>;
subresource: z.ZodOptional<z.ZodString>;
time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
apiVersion?: string | undefined;
fieldsType?: string | undefined;
fieldsV1?: {} | undefined;
manager?: string | undefined;
operation?: string | undefined;
subresource?: string | undefined;
time?: string | null | undefined;
}, {
apiVersion?: string | undefined;
fieldsType?: string | undefined;
fieldsV1?: {} | undefined;
manager?: string | undefined; /**
*
* @format int32
*/
operation?: string | undefined;
subresource?: string | undefined;
time?: string | null | undefined;
}>, "many">>;
name: z.ZodOptional<z.ZodString>;
namespace: z.ZodOptional<z.ZodString>;
ownerReferences: z.ZodOptional<z.ZodArray<z.ZodObject<{
apiVersion: z.ZodString;
blockOwnerDeletion: z.ZodOptional<z.ZodBoolean>;
controller: z.ZodOptional<z.ZodBoolean>;
kind: z.ZodString;
name: z.ZodString; /**
*
* @format int32
*/
uid: z.ZodString;
}, "strip", z.ZodTypeAny, {
apiVersion: string;
kind: string;
name: string;
uid: string;
blockOwnerDeletion?: boolean | undefined;
controller?: boolean | undefined;
}, {
apiVersion: string;
kind: string;
name: string;
uid: string;
blockOwnerDeletion?: boolean | undefined;
controller?: boolean | undefined;
}>, "many">>;
resourceVersion: z.ZodOptional<z.ZodString>;
selfLink: z.ZodOptional<z.ZodString>;
uid: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
uid?: string | undefined;
resourceVersion?: string | undefined;
selfLink?: string | undefined;
annotations?: Record<string, string> | undefined;
creationTimestamp?: string | null | undefined;
deletionGracePeriodSeconds?: number | undefined;
deletionTimestamp?: string | null | undefined;
finalizers?: string[] | undefined;
generateName?: string | undefined;
generation?: number | undefined;
labels?: Record<string, string> | undefined;
managedFields?: {
apiVersion?: string | undefined;
fieldsType?: string | undefined;
fieldsV1?: {} | undefined;
manager?: string | undefined;
operation?: string | undefined;
subresource?: string | undefined;
time?: string | null | undefined; /**
*
* @format int32
*/
}[] | undefined; /**
*
* @format int32
*/
namespace?: string | undefined;
ownerReferences?: {
apiVersion: string;
kind: string;
name: string;
uid: string;
blockOwnerDeletion?: boolean | undefined;
controller?: boolean | undefined;
}[] | undefined;
}, {
name?: string | undefined;
uid?: string | undefined;
resourceVersion?: string | undefined;
selfLink?: string | undefined;
annotations?: Record<string, string> | undefined;
creationTimestamp?: string | null | undefined;
deletionGracePeriodSeconds?: number | undefined;
deletionTimestamp?: string | null | undefined;
finalizers?: string[] | undefined;
generateName?: string | undefined;
generation?: number | undefined;
labels?: Record<string, string> | undefined;
managedFields?: {
apiVersion?: string | undefined;
fieldsType?: string | undefined;
fieldsV1?: {} | undefined;
manager?: string | undefined;
operation?: string | undefined;
subresource?: string | undefined;
time?: string | null | undefined;
}[] | undefined;
namespace?: string | undefined;
ownerReferences?: {
apiVersion: string;
kind: string;
name: string;
uid: string;
blockOwnerDeletion?: boolean | undefined;
controller?: boolean | undefined;
}[] | undefined;
}>>;
spec: z.ZodObject<{
analysis: z.ZodOptional<z.ZodObject<{
/**
*
* @format int32
*/
successfulRunHistoryLimit: z.ZodOptional<z.ZodNumber>;
/**
*
* @format int32
*/
unsuccessfulRunHistoryLimit: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
successfulRunHistoryLimit?: number | undefined;
unsuccessfulRunHistoryLimit?: number | undefined;
}, {
successfulRunHistoryLimit?: number | undefined;
unsuccessfulRunHistoryLimit?: number | undefined;
}>>;
/**
*
* @format int32
*/
minReadySeconds: z.ZodOptional<z.ZodNumber>;
paused: z.ZodOptional<z.ZodBoolean>;
progressDeadlineAbort: z.ZodOptional<z.ZodBoolean>;
/**
*
* @format int32
*/
progressDeadlineSeconds: z.ZodOptional<z.ZodNumber>;
/**
*
* @format int32
*/
replicas: z.ZodOptional<z.ZodNumber>;
/**
*
* @format date-time
*/
restartAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
/**
*
* @format int32
*/
revisionHistoryLimit: z.ZodOptional<z.ZodNumber>;
rollbackWindow: z.ZodOptional<z.ZodObject<{
/**
*
* @format int32
*/
revisions: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
revisions?: number | undefined;
}, {
revisions?: number | undefined;
}>>;
selector: z.ZodOptional<z.ZodObject<{
matchExpressions: z.ZodOptional<z.ZodArray<z.ZodObject<{
key: z.ZodString;
operator: z.ZodString;
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
key: string;
operator: string;
values?: string[] | undefined;
}, {
key: string;
operator: string;
values?: string[] | undefined;
}>, "many">>;
matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
matchExpressions?: {
key: string;
operator: string;
values?: string[] | undefined;
}[] | undefined;
matchLabels?: Record<string, string> | undefined;
}, {
matchExpressions?: {
key: string;
operator: string;
values?: string[] | undefined;
}[] | undefined;
matchLabels?: Record<string, string> | undefined;
}>>;
strategy: z.ZodOptional<z.ZodObject<{
blueGreen: z.ZodOptional<z.ZodObject<{
/**
*
* @format int32
*/
abortScaleDownDelaySeconds: z.ZodOptional<z.ZodNumber>;
activeMetadata: z.ZodOptional<z.ZodObject<{
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}>>;
activeService: z.ZodString;
antiAffinity: z.ZodOptional<z.ZodObject<{
preferredDuringSchedulingIgnoredDuringExecution: z.ZodOptional<z.ZodObject<{
/**
*
* @format int32
*/
weight: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
weight: number;
}, {
weight: number;
}>>;
requiredDuringSchedulingIgnoredDuringExecution: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
}, "strip", z.ZodTypeAny, {
preferredDuringSchedulingIgnoredDuringExecution?: {
weight: number;
} | undefined;
requiredDuringSchedulingIgnoredDuringExecution?: {} | undefined;
}, {
preferredDuringSchedulingIgnoredDuringExecution?: {
weight: number;
} | undefined;
requiredDuringSchedulingIgnoredDuringExecution?: {} | undefined;
}>>;
autoPromotionEnabled: z.ZodOptional<z.ZodBoolean>;
/**
*
* @format int32
*/
autoPromotionSeconds: z.ZodOptional<z.ZodNumber>;
maxUnavailable: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
postPromotionAnalysis: z.ZodOptional<z.ZodObject<{
args: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
value: z.ZodOptional<z.ZodString>;
valueFrom: z.ZodOptional<z.ZodObject<{
fieldRef: z.ZodOptional<z.ZodObject<{
fieldPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
fieldPath: string;
}, {
fieldPath: string;
}>>;
podTemplateHashValue: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}>, "many">>;
dryRun: z.ZodOptional<z.ZodArray<z.ZodObject<{
metricName: z.ZodString;
}, "strip", z.ZodTypeAny, {
metricName: string;
}, {
metricName: string;
}>, "many">>;
measurementRetention: z.ZodOptional<z.ZodArray<z.ZodObject<{
/**
*
* @format int32
*/
limit: z.ZodNumber;
metricName: z.ZodString;
}, "strip", z.ZodTypeAny, {
metricName: string;
limit: number;
}, {
metricName: string;
limit: number;
}>, "many">>;
templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
clusterScope: z.ZodOptional<z.ZodBoolean>;
templateName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}, {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
}, {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
}>>;
prePromotionAnalysis: z.ZodOptional<z.ZodObject<{
args: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
value: z.ZodOptional<z.ZodString>;
valueFrom: z.ZodOptional<z.ZodObject<{
fieldRef: z.ZodOptional<z.ZodObject<{
fieldPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
fieldPath: string;
}, {
fieldPath: string;
}>>;
podTemplateHashValue: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}>, "many">>;
dryRun: z.ZodOptional<z.ZodArray<z.ZodObject<{
metricName: z.ZodString;
}, "strip", z.ZodTypeAny, {
metricName: string;
}, {
metricName: string;
}>, "many">>;
measurementRetention: z.ZodOptional<z.ZodArray<z.ZodObject<{
/**
*
* @format int32
*/
limit: z.ZodNumber;
metricName: z.ZodString;
}, "strip", z.ZodTypeAny, {
metricName: string;
limit: number;
}, {
metricName: string;
limit: number;
}>, "many">>;
templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
clusterScope: z.ZodOptional<z.ZodBoolean>;
templateName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}, {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
}, {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
}>>;
previewMetadata: z.ZodOptional<z.ZodObject<{
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}>>;
/**
*
* @format int32
*/
previewReplicaCount: z.ZodOptional<z.ZodNumber>;
previewService: z.ZodOptional<z.ZodString>;
/**
*
* @format int32
*/
scaleDownDelayRevisionLimit: z.ZodOptional<z.ZodNumber>;
/**
*
* @format int32
*/
scaleDownDelaySeconds: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
activeService: string;
scaleDownDelaySeconds?: number | undefined;
abortScaleDownDelaySeconds?: number | undefined;
activeMetadata?: {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
} | undefined;
antiAffinity?: {
preferredDuringSchedulingIgnoredDuringExecution?: {
weight: number;
} | undefined;
requiredDuringSchedulingIgnoredDuringExecution?: {} | undefined;
} | undefined;
autoPromotionEnabled?: boolean | undefined;
autoPromotionSeconds?: number | undefined;
maxUnavailable?: string | number | undefined;
postPromotionAnalysis?: {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
} | undefined;
prePromotionAnalysis?: {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
} | undefined;
previewMetadata?: {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
} | undefined;
previewReplicaCount?: number | undefined;
previewService?: string | undefined;
scaleDownDelayRevisionLimit?: number | undefined;
}, {
activeService: string;
scaleDownDelaySeconds?: number | undefined;
abortScaleDownDelaySeconds?: number | undefined;
activeMetadata?: {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
} | undefined;
antiAffinity?: {
preferredDuringSchedulingIgnoredDuringExecution?: {
weight: number;
} | undefined;
requiredDuringSchedulingIgnoredDuringExecution?: {} | undefined;
} | undefined;
autoPromotionEnabled?: boolean | undefined;
autoPromotionSeconds?: number | undefined;
maxUnavailable?: string | number | undefined;
postPromotionAnalysis?: {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
} | undefined;
prePromotionAnalysis?: {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
} | undefined;
previewMetadata?: {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
} | undefined;
previewReplicaCount?: number | undefined;
previewService?: string | undefined;
scaleDownDelayRevisionLimit?: number | undefined;
}>>;
canary: z.ZodOptional<z.ZodObject<{
/**
*
* @format int32
*/
abortScaleDownDelaySeconds: z.ZodOptional<z.ZodNumber>;
analysis: z.ZodOptional<z.ZodObject<{
args: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
value: z.ZodOptional<z.ZodString>;
valueFrom: z.ZodOptional<z.ZodObject<{
fieldRef: z.ZodOptional<z.ZodObject<{
fieldPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
fieldPath: string;
}, {
fieldPath: string;
}>>;
podTemplateHashValue: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}>, "many">>;
dryRun: z.ZodOptional<z.ZodArray<z.ZodObject<{
metricName: z.ZodString;
}, "strip", z.ZodTypeAny, {
metricName: string;
}, {
metricName: string;
}>, "many">>;
measurementRetention: z.ZodOptional<z.ZodArray<z.ZodObject<{
/**
*
* @format int32
*/
limit: z.ZodNumber;
metricName: z.ZodString;
}, "strip", z.ZodTypeAny, {
metricName: string;
limit: number;
}, {
metricName: string;
limit: number;
}>, "many">>;
/**
*
* @format int32
*/
startingStep: z.ZodOptional<z.ZodNumber>;
templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
clusterScope: z.ZodOptional<z.ZodBoolean>;
templateName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}, {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
startingStep?: number | undefined;
}, {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
startingStep?: number | undefined;
}>>;
antiAffinity: z.ZodOptional<z.ZodObject<{
preferredDuringSchedulingIgnoredDuringExecution: z.ZodOptional<z.ZodObject<{
/**
*
* @format int32
*/
weight: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
weight: number;
}, {
weight: number;
}>>;
requiredDuringSchedulingIgnoredDuringExecution: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
}, "strip", z.ZodTypeAny, {
preferredDuringSchedulingIgnoredDuringExecution?: {
weight: number;
} | undefined;
requiredDuringSchedulingIgnoredDuringExecution?: {} | undefined;
}, {
preferredDuringSchedulingIgnoredDuringExecution?: {
weight: number;
} | undefined;
requiredDuringSchedulingIgnoredDuringExecution?: {} | undefined;
}>>;
canaryMetadata: z.ZodOptional<z.ZodObject<{
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}>>;
canaryService: z.ZodOptional<z.ZodString>;
dynamicStableScale: z.ZodOptional<z.ZodBoolean>;
maxSurge: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
maxUnavailable: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
/**
*
* @format int32
*/
minPodsPerReplicaSet: z.ZodOptional<z.ZodNumber>;
pingPong: z.ZodOptional<z.ZodObject<{
pingService: z.ZodString;
pongService: z.ZodString;
}, "strip", z.ZodTypeAny, {
pingService: string;
pongService: string;
}, {
pingService: string;
pongService: string;
}>>;
/**
*
* @format int32
*/
scaleDownDelayRevisionLimit: z.ZodOptional<z.ZodNumber>;
/**
*
* @format int32
*/
scaleDownDelaySeconds: z.ZodOptional<z.ZodNumber>;
stableMetadata: z.ZodOptional<z.ZodObject<{
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}>>;
stableService: z.ZodOptional<z.ZodString>;
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
analysis: z.ZodOptional<z.ZodObject<{
args: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
value: z.ZodOptional<z.ZodString>;
valueFrom: z.ZodOptional<z.ZodObject<{
fieldRef: z.ZodOptional<z.ZodObject<{
fieldPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
fieldPath: string;
}, {
fieldPath: string;
}>>;
podTemplateHashValue: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}>, "many">>;
dryRun: z.ZodOptional<z.ZodArray<z.ZodObject<{
metricName: z.ZodString;
}, "strip", z.ZodTypeAny, {
metricName: string;
}, {
metricName: string;
}>, "many">>;
measurementRetention: z.ZodOptional<z.ZodArray<z.ZodObject<{
/**
*
* @format int32
*/
limit: z.ZodNumber;
metricName: z.ZodString;
}, "strip", z.ZodTypeAny, {
metricName: string;
limit: number;
}, {
metricName: string;
limit: number;
}>, "many">>;
templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
clusterScope: z.ZodOptional<z.ZodBoolean>;
templateName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}, {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
}, {
templates?: {
templateName?: string | undefined;
clusterScope?: boolean | undefined;
}[] | undefined;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
dryRun?: {
metricName: string;
}[] | undefined;
measurementRetention?: {
metricName: string;
limit: number;
}[] | undefined;
}>>;
experiment: z.ZodOptional<z.ZodObject<{
analyses: z.ZodOptional<z.ZodArray<z.ZodObject<{
args: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
value: z.ZodOptional<z.ZodString>;
valueFrom: z.ZodOptional<z.ZodObject<{
fieldRef: z.ZodOptional<z.ZodObject<{
fieldPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
fieldPath: string;
}, {
fieldPath: string;
}>>;
podTemplateHashValue: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}, {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}, {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}>, "many">>;
clusterScope: z.ZodOptional<z.ZodBoolean>;
name: z.ZodString;
requiredForCompletion: z.ZodOptional<z.ZodBoolean>;
templateName: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
templateName: string;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
clusterScope?: boolean | undefined;
requiredForCompletion?: boolean | undefined;
}, {
name: string;
templateName: string;
args?: {
name: string;
value?: string | undefined;
valueFrom?: {
fieldRef?: {
fieldPath: string;
} | undefined;
podTemplateHashValue?: string | undefined;
} | undefined;
}[] | undefined;
clusterScope?: boolean | undefined;
requiredForCompletion?: boolean | undefined;
}>, "many">>;
duration: z.ZodOptional<z.ZodString>;
templates: z.ZodArray<z.ZodObject<{
metadata: z.ZodOptional<z.ZodObject<{
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}, {
annotations?: Record<string, string> | undefined;
labels?: Record<string, string> | undefined;
}>>;
name: z.ZodString;
/**