UNPKG

@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.3 kB
import { ResourceValidationPolicy } from "@pulumi/policy"; declare namespace Lease { /** * Disallow the use of non-stable (Beta) Kubernetes resouces (coordination.v1beta1.Lease). * * @severity medium * @frameworks none * @topics api, beta, unstable * @link https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning */ const disallowBetaResource: ResourceValidationPolicy; } export { Lease }; declare namespace LeaseList { /** * Disallow the use of non-stable (Beta) Kubernetes resouces (coordination.v1beta1.LeaseList). * * @severity medium * @frameworks none * @topics api, beta, unstable * @link https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning */ const disallowBetaResource: ResourceValidationPolicy; } export { LeaseList }; declare namespace LeasePatch { /** * Disallow the use of non-stable (Beta) Kubernetes resouces (coordination.v1beta1.LeasePatch). * * @severity medium * @frameworks none * @topics api, beta, unstable * @link https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning */ const disallowBetaResource: ResourceValidationPolicy; } export { LeasePatch };