@pulumi/kubernetes-compliance-policies
Version:
This repository contains a growing set of Compliance Policies to validate your infrastructure using Pulumi's Crossguard Policy-as-Code framework.
38 lines (37 loc) • 1.43 kB
TypeScript
import { ResourceValidationPolicy } from "@pulumi/policy";
declare namespace ClusterTrustBundle {
/**
* Disallow the use of non-stable (Alpha) Kubernetes resouces (certificates.v1alpha1.ClusterTrustBundle).
*
* @severity medium
* @frameworks none
* @topics alpha, api, unstable
* @link https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning
*/
const disallowAlphaResource: ResourceValidationPolicy;
}
export { ClusterTrustBundle };
declare namespace ClusterTrustBundleList {
/**
* Disallow the use of non-stable (Alpha) Kubernetes resouces (certificates.v1alpha1.ClusterTrustBundleList).
*
* @severity medium
* @frameworks none
* @topics alpha, api, unstable
* @link https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning
*/
const disallowAlphaResource: ResourceValidationPolicy;
}
export { ClusterTrustBundleList };
declare namespace ClusterTrustBundlePatch {
/**
* Disallow the use of non-stable (Alpha) Kubernetes resouces (certificates.v1alpha1.ClusterTrustBundlePatch).
*
* @severity medium
* @frameworks none
* @topics alpha, api, unstable
* @link https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning
*/
const disallowAlphaResource: ResourceValidationPolicy;
}
export { ClusterTrustBundlePatch };