/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface K8SPeerAuthenticationV1Beta1 { /** * Peer authentication configuration for workloads. See more details at: https://istio.io/docs/reference/config/security/peer_authentication.html */ spec?: { /** * Mutual TLS settings for workload. */ mtls?: { /** * Defines the mTLS mode used for peer authentication. * * Valid Options: DISABLE, PERMISSIVE, STRICT */ mode?: string; }; /** * Port specific mutual TLS settings. */ portLevelMtls?: { [k: string]: { /** * Defines the mTLS mode used for peer authentication. * * Valid Options: DISABLE, PERMISSIVE, STRICT */ mode?: "UNSET" | "DISABLE" | "PERMISSIVE" | "STRICT"; }; }; /** * The selector determines the workloads to apply the PeerAuthentication on. */ selector?: { /** * One or more labels that indicate a specific set of pods/VMs on which a policy should be applied. */ matchLabels?: { [k: string]: string; }; }; }; status?: { /** * Current service state of the resource. */ conditions?: { /** * Last time we probed the condition. */ lastProbeTime?: string; /** * Last time the condition transitioned from one status to another. */ lastTransitionTime?: string; /** * Human-readable message indicating details about last transition. */ message?: string; /** * Unique, one-word, CamelCase reason for the condition's last transition. */ reason?: string; /** * Status is the status of the condition. */ status?: string; /** * Type is the type of the condition. */ type?: string; }[]; /** * Resource Generation to which the Reconciled Condition refers. */ observedGeneration?: number | string; /** * Includes any errors or warnings detected by Istio's analyzers. */ validationMessages?: { /** * A url pointing to the Istio documentation for this specific error type. */ documentationUrl?: string; /** * Represents how severe a message is. * * Valid Options: UNKNOWN, ERROR, WARNING, INFO */ level?: "UNKNOWN" | "ERROR" | "WARNING" | "INFO"; type?: { /** * A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type. */ code?: string; /** * A human-readable name for the message type. */ name?: string; }; }[]; }; }