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.34 kB
import { ResourceValidationPolicy } from "@pulumi/policy"; declare namespace PodPreset { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (settings.v1alpha1.PodPreset). * * @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 { PodPreset }; declare namespace PodPresetList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (settings.v1alpha1.PodPresetList). * * @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 { PodPresetList }; declare namespace PodPresetPatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (settings.v1alpha1.PodPresetPatch). * * @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 { PodPresetPatch };