@kubernetes-models/flux-cd
Version:
31 lines (30 loc) • 1.28 kB
TypeScript
import { IComGithubFluxcdPkgApisKustomizeSelector } from "../../github.com/fluxcd/pkg/apis/kustomize/Selector.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* IgnoreRule defines a rule to selectively disregard specific changes during
* the drift detection process.
*/
export interface IIgnoreRule {
/**
* Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from
* consideration in a Kubernetes object.
*/
"paths": Array<string>;
/**
* Target is a selector for specifying Kubernetes objects to which this
* rule applies.
* If Target is not set, the Paths will be ignored for all Kubernetes
* objects within the manifest of the Helm release.
*/
"target"?: IComGithubFluxcdPkgApisKustomizeSelector;
}
/**
* IgnoreRule defines a rule to selectively disregard specific changes during
* the drift detection process.
*/
export declare class IgnoreRule extends Model<IIgnoreRule> implements IIgnoreRule {
"paths": Array<string>;
"target"?: IComGithubFluxcdPkgApisKustomizeSelector;
constructor(data?: ModelData<IIgnoreRule>);
}
export type { IIgnoreRule as IComGithubFluxcdHelmControllerApiV2beta2IgnoreRule, IgnoreRule as ComGithubFluxcdHelmControllerApiV2beta2IgnoreRule };