Skip to content

Commit

Permalink
chore: upgrade dcl to v1.61
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pana <[email protected]>
  • Loading branch information
acpana committed Mar 8, 2024
1 parent e7735cc commit 3808ee2
Show file tree
Hide file tree
Showing 7 changed files with 558 additions and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,86 @@ spec:
values: MANAGEMENT_UNSPECIFIED, MANAGEMENT_AUTOMATIC, MANAGEMENT_MANUAL'
type: string
type: object
policycontroller:
description: Policy Controller-specific spec.
properties:
policyControllerHubConfig:
description: Policy Controller configuration for the cluster.
properties:
auditIntervalSeconds:
description: Sets the interval for Policy Controller Audit
Scans (in seconds). When set to 0, this disables audit functionality
altogether.
format: int64
type: integer
constraintViolationLimit:
description: The maximum number of audit violations to be
stored in a constraint. If not set, the internal default
of 20 will be used.
format: int64
type: integer
exemptableNamespaces:
description: The set of namespaces that are excluded from
Policy Controller checks. Namespaces do not need to currently
exist on the cluster.
items:
type: string
type: array
installSpec:
description: 'Configures the mode of the Policy Controller
installation. Possible values: INSTALL_SPEC_UNSPECIFIED,
INSTALL_SPEC_NOT_INSTALLED, INSTALL_SPEC_ENABLED, INSTALL_SPEC_SUSPENDED,
INSTALL_SPEC_DETACHED'
type: string
logDeniesEnabled:
description: Logs all denies and dry run failures.
type: boolean
monitoring:
description: 'Specifies the backends Policy Controller should
export metrics to. For example, to specify metrics should
be exported to Cloud Monitoring and Prometheus, specify
backends: ["cloudmonitoring", "prometheus"]. Default: ["cloudmonitoring",
"prometheus"]'
properties:
backends:
description: ' Specifies the list of backends Policy Controller
will export to. Specifying an empty value `[]` disables
metrics export.'
items:
type: string
type: array
type: object
mutationEnabled:
description: Enables the ability to mutate resources using
Policy Controller.
type: boolean
policyContent:
description: Specifies the desired policy content on the cluster.
properties:
templateLibrary:
description: Configures the installation of the Template
Library.
properties:
installation:
description: 'Configures the manner in which the template
library is installed on the cluster. Possible values:
INSTALLATION_UNSPECIFIED, NOT_INSTALLED, ALL'
type: string
type: object
type: object
referentialRulesEnabled:
description: Enables the ability to use Constraint Templates
that reference to objects other than the object currently
being evaluated.
type: boolean
type: object
version:
description: Optional. Version of Policy Controller to install.
Defaults to the latest version.
type: string
required:
- policyControllerHubConfig
type: object
projectRef:
description: Immutable. The Project that this resource belongs to.
oneOf:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
cloud.google.com/go/apikeys v1.1.5
cloud.google.com/go/profiler v0.1.0
contrib.go.opencensus.io/exporter/prometheus v0.1.0
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.58.0
github.com/GoogleCloudPlatform/declarative-resource-client-library v1.61.0
github.com/GoogleCloudPlatform/k8s-config-connector/mockgcp v0.0.0-00010101000000-000000000000
github.com/appscode/jsonpatch v0.0.0-20190108182946-7c0e3b262f30
github.com/blang/semver v3.5.1+incompatible
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

130 changes: 130 additions & 0 deletions pkg/clients/generated/apis/gkehub/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3808ee2

Please sign in to comment.