Skip to content

Commit

Permalink
Merge pull request #290 from 3scale-ops/feat/envoy-TLSv1_3
Browse files Browse the repository at this point in the history
Feat/Add tls_maximum_protocol_version TLSv1.3 to EnvoyConfig
  • Loading branch information
3scale-robot authored Jan 23, 2024
2 parents 7e2a9ef + 19daf6e commit 73e0143
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 0.21.0
VERSION ?= 0.22.0-alpha.3
# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
# To re-generate a bundle for other specific channels without changing the standard setup, you can:
Expand Down
3 changes: 1 addition & 2 deletions bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=saas-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha,stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.27.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
Expand Down
8 changes: 4 additions & 4 deletions bundle/manifests/saas-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -598,15 +598,15 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/3scale/saas-operator
createdAt: "2024-01-10T15:23:22Z"
createdAt: "2024-01-22T16:11:08Z"
description: |-
The 3scale SaaS Operator creates and maintains a SaaS-ready deployment
of the Red Hat 3scale API Management on OpenShift.
operators.operatorframework.io/builder: operator-sdk-v1.27.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/3scale-ops/saas-operator
support: Red Hat
name: saas-operator.v0.21.0
name: saas-operator.v0.22.0-alpha.3
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -4468,7 +4468,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
image: quay.io/3scale/saas-operator:v0.21.0
image: quay.io/3scale/saas-operator:v0.22.0-alpha.3
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -5032,4 +5032,4 @@ spec:
provider:
name: Red Hat
url: https://www.3scale.net/
version: 0.21.0
version: 0.22.0-alpha.3
3 changes: 1 addition & 2 deletions bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ annotations:
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: saas-operator
operators.operatorframework.io.bundle.channels.v1: alpha,stable
operators.operatorframework.io.bundle.channel.default.v1: alpha
operators.operatorframework.io.bundle.channels.v1: alpha
operators.operatorframework.io.metrics.builder: operator-sdk-v1.27.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/3scale/saas-operator
newTag: v0.21.0
newTag: v0.22.0-alpha.3
1 change: 1 addition & 0 deletions pkg/resource_builders/envoyconfig/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func TestNew(t *testing.T) {
ads: {}
resource_api_version: V3
tls_params:
tls_maximum_protocol_version: TLSv1_3
tls_minimum_protocol_version: TLSv1_2
listener_filters:
- name: envoy.filters.listener.tls_inspector
Expand Down
1 change: 1 addition & 0 deletions pkg/resource_builders/envoyconfig/templates/listeners.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ func TransportSocket_v1(secretName string, http2 bool) *envoy_config_core_v3.Tra
},
TlsParams: &envoy_extensions_transport_sockets_tls_v3.TlsParameters{
TlsMinimumProtocolVersion: envoy_extensions_transport_sockets_tls_v3.TlsParameters_TLSv1_2,
TlsMaximumProtocolVersion: envoy_extensions_transport_sockets_tls_v3.TlsParameters_TLSv1_3,
},
AlpnProtocols: func() []string {
if http2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func TestListenerHTTP_v1(t *testing.T) {
ads: {}
resource_api_version: V3
tls_params:
tls_maximum_protocol_version: TLSv1_3
tls_minimum_protocol_version: TLSv1_2
listener_filters:
- name: envoy.filters.listener.tls_inspector
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package version

const (
version string = "v0.21.0"
version string = "v0.22.0-alpha.3"
)

// Current returns the current marin3r operator version
Expand Down

0 comments on commit 73e0143

Please sign in to comment.