@kubernetes-models/flux-cd
Version:
27 lines (26 loc) • 1.12 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* NamespaceSelector selects the namespaces to which this ACL applies.
* An empty map of MatchLabels matches all namespaces in a cluster.
*/
export interface INamespaceSelector {
/**
* 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"?: {
[key: string]: string;
};
}
/**
* NamespaceSelector selects the namespaces to which this ACL applies.
* An empty map of MatchLabels matches all namespaces in a cluster.
*/
export declare class NamespaceSelector extends Model<INamespaceSelector> implements INamespaceSelector {
"matchLabels"?: {
[key: string]: string;
};
constructor(data?: ModelData<INamespaceSelector>);
}
export type { INamespaceSelector as IComGithubFluxcdPkgApisAclNamespaceSelector, NamespaceSelector as ComGithubFluxcdPkgApisAclNamespaceSelector };