Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,15 @@ spec:
description: ConstraintTemplateSpec defines the desired state of ConstraintTemplate.
properties:
crd:
description: CRD defines the custom resource definition specification
for the constraint.
properties:
spec:
description: CRDSpec defines the spec for the CRD.
properties:
names:
description: Names defines the naming conventions for the
constraint kind.
properties:
kind:
type: string
Expand All @@ -55,6 +60,8 @@ spec:
validation:
default:
legacySchema: false
description: Validation defines the schema for constraint
parameters.
properties:
legacySchema:
default: false
Expand All @@ -67,12 +74,16 @@ spec:
type: object
targets:
items:
description: Target defines the target handler and policy for the
constraint template.
properties:
code:
description: |-
The source code options for the constraint template. "Rego" can only
be specified in one place (either here or in the "rego" field)
items:
description: Code defines the policy source code for a specific
engine.
properties:
engine:
description: 'The engine used to evaluate the code. Example:
Expand Down Expand Up @@ -181,10 +192,15 @@ spec:
description: ConstraintTemplateSpec defines the desired state of ConstraintTemplate.
properties:
crd:
description: CRD defines the custom resource definition specification
for the constraint.
properties:
spec:
description: CRDSpec defines the spec for the CRD.
properties:
names:
description: Names defines the naming conventions for the
constraint kind.
properties:
kind:
type: string
Expand All @@ -196,6 +212,8 @@ spec:
validation:
default:
legacySchema: true
description: Validation defines the schema for constraint
parameters.
properties:
legacySchema:
default: true
Expand All @@ -208,12 +226,16 @@ spec:
type: object
targets:
items:
description: Target defines the target handler and policy for the
constraint template.
properties:
code:
description: |-
The source code options for the constraint template. "Rego" can only
be specified in one place (either here or in the "rego" field)
items:
description: Code defines the policy source code for a specific
engine.
properties:
engine:
description: 'The engine used to evaluate the code. Example:
Expand Down Expand Up @@ -322,10 +344,15 @@ spec:
description: ConstraintTemplateSpec defines the desired state of ConstraintTemplate.
properties:
crd:
description: CRD defines the custom resource definition specification
for the constraint.
properties:
spec:
description: CRDSpec defines the spec for the CRD.
properties:
names:
description: Names defines the naming conventions for the
constraint kind.
properties:
kind:
type: string
Expand All @@ -337,6 +364,8 @@ spec:
validation:
default:
legacySchema: true
description: Validation defines the schema for constraint
parameters.
properties:
legacySchema:
default: true
Expand All @@ -349,12 +378,16 @@ spec:
type: object
targets:
items:
description: Target defines the target handler and policy for the
constraint template.
properties:
code:
description: |-
The source code options for the constraint template. "Rego" can only
be specified in one place (either here or in the "rego" field)
items:
description: Code defines the policy source code for a specific
engine.
properties:
engine:
description: 'The engine used to evaluate the code. Example:
Expand Down Expand Up @@ -557,7 +590,7 @@ spec:
- name: v1beta1
schema:
openAPIV3Schema:
description: Provider is the Schema for the providers API
description: Provider is the Schema for the providers API.
properties:
apiVersion:
description: |-
Expand Down
73 changes: 37 additions & 36 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/open-policy-agent/gatekeeper/v3

go 1.25.0

replace github.com/open-policy-agent/frameworks/constraint => github.com/open-policy-agent/frameworks/constraint v0.0.0-20260128184941-edd146a3c974

require (
cloud.google.com/go/trace v1.10.11
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.44.0
Expand All @@ -13,16 +15,16 @@ require (
github.com/golang/protobuf v1.5.4
github.com/google/go-cmp v0.7.0
github.com/google/uuid v1.6.0
github.com/onsi/gomega v1.38.3
github.com/onsi/gomega v1.39.0
github.com/open-policy-agent/cert-controller v0.14.1-0.20251031183427-40974f7dd486
github.com/open-policy-agent/frameworks/constraint v0.0.0-20251217214254-e3880ce65b48
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace this with actual commit id when open-policy-agent/frameworks#667 is merged.

github.com/open-policy-agent/opa v1.10.0
github.com/open-policy-agent/opa v1.12.3
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.23.2
github.com/spf13/cobra v1.10.2
github.com/stretchr/testify v1.11.1
go.opentelemetry.io/contrib/detectors/aws/ec2 v1.21.1
go.opentelemetry.io/contrib/detectors/gcp v1.36.0
go.opentelemetry.io/contrib/detectors/gcp v1.38.0
go.opentelemetry.io/otel v1.38.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.32.0
go.opentelemetry.io/otel/exporters/prometheus v0.54.0
Expand All @@ -32,20 +34,20 @@ require (
go.uber.org/zap v1.27.1
go.yaml.in/yaml/v2 v2.4.3
go.yaml.in/yaml/v3 v3.0.4
golang.org/x/oauth2 v0.30.0
golang.org/x/sync v0.18.0
golang.org/x/time v0.13.0
google.golang.org/grpc v1.75.1
golang.org/x/oauth2 v0.32.0
golang.org/x/sync v0.19.0
golang.org/x/time v0.14.0
google.golang.org/grpc v1.77.0
google.golang.org/protobuf v1.36.11
k8s.io/api v0.34.3
k8s.io/apiextensions-apiserver v0.34.3
k8s.io/apimachinery v0.34.3
k8s.io/apiserver v0.34.3
k8s.io/client-go v0.34.3
k8s.io/api v0.35.0
k8s.io/apiextensions-apiserver v0.35.0
k8s.io/apimachinery v0.35.0
k8s.io/apiserver v0.35.0
k8s.io/client-go v0.35.0
k8s.io/klog/v2 v2.130.1
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
oras.land/oras-go v1.2.7
sigs.k8s.io/controller-runtime v0.22.5
sigs.k8s.io/controller-runtime v0.23.1
sigs.k8s.io/release-utils v0.7.7
sigs.k8s.io/yaml v1.6.0
)
Expand All @@ -54,10 +56,10 @@ require (
cel.dev/expr v0.24.0 // indirect
cloud.google.com/go/auth v0.7.2 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.3 // indirect
cloud.google.com/go/compute/metadata v0.7.0 // indirect
cloud.google.com/go/compute/metadata v0.9.0 // indirect
cloud.google.com/go/monitoring v1.20.1 // indirect
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.29.0 // indirect
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.30.0 // indirect
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.44.0 // indirect
github.com/agnivade/levenshtein v1.2.1 // indirect
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
Expand All @@ -71,7 +73,7 @@ require (
github.com/containerd/containerd v1.7.29 // indirect
github.com/containerd/errdefs v1.0.0 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/containerd/platforms v1.0.0-rc.1 // indirect
github.com/containerd/platforms v1.0.0-rc.2 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/cli v28.5.1+incompatible // indirect
Expand All @@ -80,7 +82,7 @@ require (
github.com/docker/docker-credential-helpers v0.8.2 // indirect
github.com/docker/go-connections v0.6.0 // indirect
github.com/docker/go-metrics v0.0.1 // indirect
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
Expand All @@ -94,7 +96,6 @@ require (
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/goccy/go-json v0.10.5 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/glog v1.2.5 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/btree v1.1.3 // indirect
Expand All @@ -109,13 +110,13 @@ require (
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/klauspost/compress v1.18.1 // indirect
github.com/lestrrat-go/blackmagic v1.0.4 // indirect
github.com/lestrrat-go/dsig v1.0.0 // indirect
github.com/lestrrat-go/dsig-secp256k1 v1.0.0 // indirect
github.com/lestrrat-go/httpcc v1.0.1 // indirect
github.com/lestrrat-go/httprc/v3 v3.0.1 // indirect
github.com/lestrrat-go/jwx/v3 v3.0.11 // indirect
github.com/lestrrat-go/jwx/v3 v3.0.12 // indirect
github.com/lestrrat-go/option v1.0.1 // indirect
github.com/lestrrat-go/option/v2 v2.0.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
Expand All @@ -130,19 +131,19 @@ require (
github.com/prometheus/common v0.66.1 // indirect
github.com/prometheus/procfs v0.17.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/segmentio/asm v1.2.1 // indirect
github.com/sirupsen/logrus v1.9.4-0.20230606125235-dd1b4c2e81af // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/tchap/go-patricia/v2 v2.3.3 // indirect
github.com/valyala/fastjson v1.6.4 // indirect
github.com/vektah/gqlparser/v2 v2.5.30 // indirect
github.com/vektah/gqlparser/v2 v2.5.31 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/yashtewari/glob-intersection v0.2.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 // indirect
Expand All @@ -151,24 +152,24 @@ require (
go.opentelemetry.io/proto/otlp v1.7.1 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.45.0 // indirect
golang.org/x/crypto v0.46.0 // indirect
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/net v0.47.0 // indirect
golang.org/x/sys v0.38.0 // indirect
golang.org/x/term v0.37.0 // indirect
golang.org/x/text v0.31.0 // indirect
golang.org/x/net v0.48.0 // indirect
golang.org/x/sys v0.39.0 // indirect
golang.org/x/term v0.38.0 // indirect
golang.org/x/text v0.32.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/api v0.189.0 // indirect
google.golang.org/genproto v0.0.0-20240722135656-d784300faade // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20251022142026-3a174f9686a8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251022142026-3a174f9686a8 // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/component-base v0.34.3 // indirect
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b // indirect
k8s.io/component-base v0.35.0 // indirect
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 // indirect
)
Loading
Loading