PipelineRun and TaskRun resources must be executed from a bundle
apiVersion: kyverno.io/v1kind: ClusterPolicymetadata:name: require-tekton-bundleannotations:policies.kyverno.io/title: Require Tekton Bundlepolicies.kyverno.io/category: Tektonpolicies.kyverno.io/severity: mediumpolicies.kyverno.io/subject: TaskRun, PipelineRunkyverno.io/kyverno-version: 1.7.1policies.kyverno.io/minversion: 1.6.0kyverno.io/kubernetes-version: "1.23"policies.kyverno.io/description: PipelineRun and TaskRun resources must be executed from a bundlespec:validationFailureAction: Auditbackground: truerules:- name: check-bundle-pipelinerunmatch:any:- resources:kinds:- PipelineRunvalidate:message: A bundle is required.pattern:spec:pipelineRef:bundle: "?*"- name: check-bundle-taskrunmatch:any:- resources:kinds:- TaskRunvalidate:message: A bundle is required.pattern:spec:taskRef:bundle: "?*"
This policy prevents the use of the default project in an Application.
Services of type LoadBalancer when deployed inside AWS have support for transport encryption if it is enabled via an annotation. This policy requires that Services of type LoadBalancer contain the annotation service.beta.kubernetes.io/aws-load-balancer-ssl-cert with some value.
This policy prevents updates to the project field after an Application is created.