import { IObjectMeta } from "@soft-stech/apimachinery/apis/meta/v1/ObjectMeta"; import { Model, ModelData } from "@soft-stech/base"; /** * CiliumNodeConfig is a list of configuration key-value pairs. It is applied to nodes indicated by a label selector. * If multiple overrides apply to the same node, they will be ordered by name with later Overrides overwriting any conflicting keys. */ export interface ICiliumNodeConfig { /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources */ "apiVersion": "cilium.io/v2alpha1"; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds */ "kind": "CiliumNodeConfig"; "metadata"?: IObjectMeta; /** * Spec is the desired Cilium configuration overrides for a given node */ "spec": { /** * Defaults is treated the same as the cilium-config ConfigMap - a set of key-value pairs parsed by the agent and operator processes. Each key must be a valid config-map data field (i.e. a-z, A-Z, -, _, and .) */ "defaults": Record; /** * NodeSelector is a label selector that determines to which nodes this configuration applies. If not supplied, then this config applies to no nodes. If empty, then it applies to all nodes. */ "nodeSelector": { /** * matchExpressions is a list of label selector requirements. The requirements are ANDed. */ "matchExpressions"?: Array<{ /** * key is the label key that the selector applies to. */ "key": string; /** * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. */ "operator": string; /** * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. */ "values"?: Array; }>; /** * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. */ "matchLabels"?: Record; }; }; } /** * CiliumNodeConfig is a list of configuration key-value pairs. It is applied to nodes indicated by a label selector. * If multiple overrides apply to the same node, they will be ordered by name with later Overrides overwriting any conflicting keys. */ export declare class CiliumNodeConfig extends Model implements ICiliumNodeConfig { "apiVersion": ICiliumNodeConfig["apiVersion"]; "kind": ICiliumNodeConfig["kind"]; "metadata"?: ICiliumNodeConfig["metadata"]; "spec": ICiliumNodeConfig["spec"]; static apiVersion: ICiliumNodeConfig["apiVersion"]; static kind: ICiliumNodeConfig["kind"]; static is: import("@soft-stech/base").TypeMetaGuard; constructor(data?: ModelData); }