Skip to content
Merged
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
7 changes: 7 additions & 0 deletions k8s/crds/kops.k8s.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5633,6 +5633,13 @@ spec:
The cluster is operated by cilium-etcd-operator.
Default: false
type: boolean
extraConfig:
additionalProperties:
type: string
description: |-
ExtraConfig is appended to the cilium-config ConfigMap. Keys here override any value
rendered by kops. All values must be strings (e.g. "true", not true).
type: object
gatewayAPI:
description: GatewayAPI specifies the configuration for Cilium
Gateway API settings.
Expand Down
4 changes: 4 additions & 0 deletions pkg/apis/kops/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,10 @@ type CiliumNetworkingSpec struct {

// GatewayAPI specifies the configuration for Cilium Gateway API settings.
GatewayAPI *CiliumGatewayAPISpec `json:"gatewayAPI,omitempty"`

// ExtraConfig is appended to the cilium-config ConfigMap. Keys here override any value
// rendered by kops. All values must be strings (e.g. "true", not true).
ExtraConfig map[string]string `json:"extraConfig,omitempty"`
}

// CiliumIngressSpec configures Cilium Ingress settings.
Expand Down
4 changes: 4 additions & 0 deletions pkg/apis/kops/v1alpha2/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,10 @@ type CiliumNetworkingSpec struct {

// GatewayAPI specifies the configuration for Cilium Gateway API settings.
GatewayAPI *CiliumGatewayAPISpec `json:"gatewayAPI,omitempty"`

// ExtraConfig is appended to the cilium-config ConfigMap. Keys here override any value
// rendered by kops. All values must be strings (e.g. "true", not true).
ExtraConfig map[string]string `json:"extraConfig,omitempty"`
}

// CiliumIngressSpec configures Cilium Ingress settings.
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/kops/v1alpha2/zz_generated.conversion.go

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

7 changes: 7 additions & 0 deletions pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go

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

4 changes: 4 additions & 0 deletions pkg/apis/kops/v1alpha3/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ type CiliumNetworkingSpec struct {

// GatewayAPI specifies the configuration for Cilium Gateway API settings.
GatewayAPI *CiliumGatewayAPISpec `json:"gatewayAPI,omitempty"`

// ExtraConfig is appended to the cilium-config ConfigMap. Keys here override any value
// rendered by kops. All values must be strings (e.g. "true", not true).
ExtraConfig map[string]string `json:"extraConfig,omitempty"`
}

// CiliumIngressSpec configures Cilium Ingress settings.
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/kops/v1alpha3/zz_generated.conversion.go

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

7 changes: 7 additions & 0 deletions pkg/apis/kops/v1alpha3/zz_generated.deepcopy.go

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

7 changes: 7 additions & 0 deletions pkg/apis/kops/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,11 @@ data:
enable-non-default-deny-policies: "true"
enable-source-ip-verification: "true"

# Extra config allows adding arbitrary properties to the cilium config.
# By putting it at the end of the ConfigMap, it's also possible to override existing properties.
# Extra config allows adding arbitrary properties to the cilium config.
# By putting it at the end of the ConfigMap, it's also possible to override existing properties.
{{- range $k, $v := .ExtraConfig }}
{{ $k }}: {{ printf "%q" $v }}
{{- end }}

{{ if WithDefaultBool .Hubble.Enabled false }}
---
Expand Down
Loading