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.

110 lines (109 loc) 3.95 kB
import { ResourceValidationPolicy } from "@pulumi/policy"; declare namespace ClusterCIDR { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.ClusterCIDR). * * @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 { ClusterCIDR }; declare namespace ClusterCIDRList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.ClusterCIDRList). * * @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 { ClusterCIDRList }; declare namespace ClusterCIDRPatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.ClusterCIDRPatch). * * @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 { ClusterCIDRPatch }; declare namespace IPAddress { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.IPAddress). * * @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 { IPAddress }; declare namespace IPAddressList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.IPAddressList). * * @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 { IPAddressList }; declare namespace IPAddressPatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.IPAddressPatch). * * @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 { IPAddressPatch }; declare namespace ServiceCIDR { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.ServiceCIDR). * * @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 { ServiceCIDR }; declare namespace ServiceCIDRList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.ServiceCIDRList). * * @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 { ServiceCIDRList }; declare namespace ServiceCIDRPatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (networking.v1alpha1.ServiceCIDRPatch). * * @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 { ServiceCIDRPatch };