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.

182 lines (181 loc) 6.75 kB
import { ResourceValidationPolicy } from "@pulumi/policy"; declare namespace DeviceClass { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.DeviceClass). * * @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 { DeviceClass }; declare namespace DeviceClassList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.DeviceClassList). * * @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 { DeviceClassList }; declare namespace DeviceClassPatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.DeviceClassPatch). * * @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 { DeviceClassPatch }; declare namespace PodSchedulingContext { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.PodSchedulingContext). * * @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 { PodSchedulingContext }; declare namespace PodSchedulingContextList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.PodSchedulingContextList). * * @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 { PodSchedulingContextList }; declare namespace PodSchedulingContextPatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.PodSchedulingContextPatch). * * @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 { PodSchedulingContextPatch }; declare namespace ResourceClaim { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceClaim). * * @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 { ResourceClaim }; declare namespace ResourceClaimList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceClaimList). * * @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 { ResourceClaimList }; declare namespace ResourceClaimPatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceClaimPatch). * * @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 { ResourceClaimPatch }; declare namespace ResourceClaimTemplate { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceClaimTemplate). * * @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 { ResourceClaimTemplate }; declare namespace ResourceClaimTemplateList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceClaimTemplateList). * * @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 { ResourceClaimTemplateList }; declare namespace ResourceClaimTemplatePatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceClaimTemplatePatch). * * @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 { ResourceClaimTemplatePatch }; declare namespace ResourceSlice { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceSlice). * * @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 { ResourceSlice }; declare namespace ResourceSliceList { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceSliceList). * * @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 { ResourceSliceList }; declare namespace ResourceSlicePatch { /** * Disallow the use of non-stable (Alpha) Kubernetes resouces (resource.v1alpha3.ResourceSlicePatch). * * @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 { ResourceSlicePatch };