kubernetes-models
Version:
26 lines (25 loc) • 1.43 kB
TypeScript
import { IIoK8sApiExtensionsV1beta1IDRange } from "./IDRange";
import { Model } from "@kubernetes-models/base";
/**
* SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.
* @deprecated
*/
export interface ISupplementalGroupsStrategyOptions {
/**
* ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
*/
"ranges"?: Array<IIoK8sApiExtensionsV1beta1IDRange>;
/**
* rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
*/
"rule"?: string;
}
/**
* SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.
* @deprecated
*/
export declare class SupplementalGroupsStrategyOptions extends Model<ISupplementalGroupsStrategyOptions> implements ISupplementalGroupsStrategyOptions {
"ranges"?: Array<IIoK8sApiExtensionsV1beta1IDRange>;
"rule"?: string;
}
export { ISupplementalGroupsStrategyOptions as IIoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions, SupplementalGroupsStrategyOptions as IoK8sApiExtensionsV1beta1SupplementalGroupsStrategyOptions };