UNPKG

@kubernetes-models/argo-rollouts

Version:
41 lines (40 loc) 1.57 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * NginxTrafficRouting configuration for Nginx ingress controller to control traffic routing */ export interface INginxTrafficRouting { "additionalIngressAnnotations"?: { [key: string]: string; }; /** * AnnotationPrefix has to match the configured annotation prefix on the nginx ingress controller */ "annotationPrefix"?: string; "canaryIngressAnnotations"?: { [key: string]: string; }; /** * StableIngress refers to the name of an `Ingress` resource in the same namespace as the `Rollout` */ "stableIngress"?: string; /** * StableIngresses refers to the names of `Ingress` resources in the same namespace as the `Rollout` in a multi ingress scenario */ "stableIngresses"?: Array<string>; } /** * NginxTrafficRouting configuration for Nginx ingress controller to control traffic routing */ export declare class NginxTrafficRouting extends Model<INginxTrafficRouting> implements INginxTrafficRouting { "additionalIngressAnnotations"?: { [key: string]: string; }; "annotationPrefix"?: string; "canaryIngressAnnotations"?: { [key: string]: string; }; "stableIngress"?: string; "stableIngresses"?: Array<string>; constructor(data?: ModelData<INginxTrafficRouting>); } export type { INginxTrafficRouting as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1NginxTrafficRouting, NginxTrafficRouting as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1NginxTrafficRouting };