Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions api/gateway-operator/v1beta1/dataplane_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ type DataPlaneNetworkOptions struct {
// Services indicates the configuration of Kubernetes Services needed for
// the topology of various forms of traffic (including ingress, e.t.c.) to
// and from the DataPlane.
//
// +kubebuilder:default={ingress:{type: "LoadBalancer"}}
Services *DataPlaneServices `json:"services,omitempty"`

// KonnectCA is the certificate authority that the operator uses to provision client certificates the DataPlane
Expand Down
3 changes: 3 additions & 0 deletions api/gateway-operator/v2beta1/controlplane_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ type ControlPlaneOptions struct {
// DataPlaneSync defines the configuration for syncing Kong configuration to the DataPlane.
//
// +optional
// +kubebuilder:default={reverseSync: "disabled"}
DataPlaneSync *ControlPlaneDataPlaneSync `json:"dataplaneSync,omitempty"`

// Translation defines the configuration for translating Kong configuration.
Expand All @@ -149,6 +150,7 @@ type ControlPlaneOptions struct {
// ConfigDump defines the options for dumping generated Kong configuration from a diagnostics server.
//
// +optional
// +kubebuilder:default={state: "disabled", dumpSensitive: "disabled"}
ConfigDump *ControlPlaneConfigDump `json:"configDump,omitempty"`

// ObjectFilters defines the filters to limit watched objects by the controllers.
Expand Down Expand Up @@ -176,6 +178,7 @@ type ControlPlaneTranslationOptions struct {
// FallbackConfiguration defines the fallback configuration options for the ControlPlane.
//
// +optional
// +kubebuilder:default={useLastValidConfig: "enabled"}
FallbackConfiguration *ControlPlaneFallbackConfiguration `json:"fallbackConfiguration,omitempty"`

// DrainSupport defines the configuration for the ControlPlane to include
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ type GatewayConfigDataPlaneNetworkOptions struct {
// and from the DataPlane.
//
// +optional
// +kubebuilder:default={ingress:{type: "LoadBalancer"}}
Services *GatewayConfigDataPlaneServices `json:"services,omitempty"`
}

Expand Down
20 changes: 20 additions & 0 deletions charts/kong-operator/charts/ko-crds/templates/ko-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9422,6 +9422,9 @@ spec:
type: string
type: object
configDump:
default:
dumpSensitive: disabled
state: disabled
description: ConfigDump defines the options for dumping generated
Kong configuration from a diagnostics server.
properties:
Expand Down Expand Up @@ -9507,6 +9510,8 @@ spec:
- message: Ref cannot be provided when type is set to managedByOwner
rule: self.type != 'managedByOwner' || !has(self.ref)
dataplaneSync:
default:
reverseSync: disabled
description: DataPlaneSync defines the configuration for syncing Kong
configuration to the DataPlane.
properties:
Expand Down Expand Up @@ -9750,6 +9755,8 @@ spec:
- disabled
type: string
fallbackConfiguration:
default:
useLastValidConfig: enabled
description: FallbackConfiguration defines the fallback configuration
options for the ControlPlane.
properties:
Expand Down Expand Up @@ -19483,6 +19490,9 @@ spec:
- issuer
type: object
services:
default:
ingress:
type: LoadBalancer
description: |-
Services indicates the configuration of Kubernetes Services needed for
the topology of various forms of traffic (including ingress, e.t.c.) to
Expand Down Expand Up @@ -38645,6 +38655,9 @@ spec:
type: string
type: object
configDump:
default:
dumpSensitive: disabled
state: disabled
description: ConfigDump defines the options for dumping generated
Kong configuration from a diagnostics server.
properties:
Expand Down Expand Up @@ -38698,6 +38711,8 @@ spec:
- name
x-kubernetes-list-type: map
dataplaneSync:
default:
reverseSync: disabled
description: DataPlaneSync defines the configuration for syncing
Kong configuration to the DataPlane.
properties:
Expand Down Expand Up @@ -38899,6 +38914,8 @@ spec:
- disabled
type: string
fallbackConfiguration:
default:
useLastValidConfig: enabled
description: FallbackConfiguration defines the fallback configuration
options for the ControlPlane.
properties:
Expand Down Expand Up @@ -48304,6 +48321,9 @@ spec:
related options for a DataPlane.
properties:
services:
default:
ingress:
type: LoadBalancer
description: |-
Services indicates the configuration of Kubernetes Services needed for
the topology of various forms of traffic (including ingress, etc.) to
Expand Down
20 changes: 20 additions & 0 deletions charts/kong-operator/ci/__snapshots__/affinity-values.snap

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.

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

Loading
Loading