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.49 kB
import { ResourceValidationPolicy } from "@pulumi/policy"; declare namespace StorageVersionMigration { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (storagemigration.v1alpha1.StorageVersionMigration). * * @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 { StorageVersionMigration }; declare namespace StorageVersionMigrationList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (storagemigration.v1alpha1.StorageVersionMigrationList). * * @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 { StorageVersionMigrationList }; declare namespace StorageVersionMigrationPatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (storagemigration.v1alpha1.StorageVersionMigrationPatch). * * @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 { StorageVersionMigrationPatch };