Skip to content

Commit

Permalink
Merge pull request #291 from 3scale-ops/clenaup/deprecate-system-envvar
Browse files Browse the repository at this point in the history
Cleanup/Finally remove system deprecated BACKEND_ROUTE envvar
  • Loading branch information
3scale-robot authored Jan 23, 2024
2 parents 73e0143 + b4e9567 commit 4c9d410
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 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.22.0-alpha.3
VERSION ?= 0.22.0-alpha.4
# 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
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-22T16:11:08Z"
createdAt: "2024-01-23T11:19:58Z"
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.22.0-alpha.3
name: saas-operator.v0.22.0-alpha.4
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.22.0-alpha.3
image: quay.io/3scale/saas-operator:v0.22.0-alpha.4
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -5032,4 +5032,4 @@ spec:
provider:
name: Red Hat
url: https://www.3scale.net/
version: 0.22.0-alpha.3
version: 0.22.0-alpha.4
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.22.0-alpha.3
newTag: v0.22.0-alpha.4
1 change: 0 additions & 1 deletion pkg/generators/system/config/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ func NewOptions(spec saasv1alpha1.SystemSpec) pod.Options {
opts.Unpack(spec.Config.Backend.RedisDSN).IntoEnvvar("BACKEND_REDIS_URL")
opts.Unpack("").IntoEnvvar("BACKEND_REDIS_SENTINEL_HOSTS")
opts.Unpack("").IntoEnvvar("BACKEND_REDIS_SENTINEL_ROLE")
opts.Unpack(spec.Config.Backend.InternalEndpoint).IntoEnvvar("BACKEND_ROUTE") // DEPRECATED
opts.Unpack(spec.Config.Backend.InternalEndpoint).IntoEnvvar("BACKEND_URL")
opts.Unpack(spec.Config.Backend.ExternalEndpoint).IntoEnvvar("BACKEND_PUBLIC_URL")
opts.Unpack(spec.Config.Backend.InternalAPIUser).IntoEnvvar("CONFIG_INTERNAL_API_USER").AsSecretRef("system-backend")
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.22.0-alpha.3"
version string = "v0.22.0-alpha.4"
)

// Current returns the current marin3r operator version
Expand Down

0 comments on commit 4c9d410

Please sign in to comment.