Closed carlkyrillos closed 8 months ago
/retest
My main concern is the upgrade of controller-runtime beyond v0.15.0 as v0.15.0 introduced large list of breaking changed. I review them and nothing caught my eye. But second pair of :eye: would be very nice https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0
My main concern is the upgrade of controller-runtime beyond v0.15.0 as v0.15.0 introduced large list of breaking changed. I review them and nothing caught my eye. But second pair of 👁️ would be very nice https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0
@eguzki I reviewed every breaking change for every version from v0.12.2 to v0.16.5 and cross referenced them with the source code to ensure we weren't affected (or I included the fix to support the breaking change if we were affected). I did this when performing the 3scale-operator bump as well. That being said, more eyes reviewing it is always a good thing.
this is getting pretty close to be merged.
Just one iteration more with few comments and we should be ready to merge.
Issue Link
JIRA: THREESCALE-10869
What
This PR bumps a number of dependencies, the notable ones being:
go: 1.19 -> 1.20
ginkgo: 1.16.5 -> 2.13.0
client-go: 0.24.3 -> 0.28.3
apimachinery: 0.24.3 -> 0.28.3
controller-runtime: 0.12.2 -> 0.16.5
NOTE: This PR doesn't bump the version of
operator-sdk
, that will be done in a separate PR.Verification Steps
Prerequisites
Cluster Scoped Scenario
Create the CatalogSource and install the operator (note: feel free to build your own images or use the ones provided)
Create a Namespace, config Secret, and APIcast CR:
cat << EOF | oc create -f - apiVersion: v1 kind: Secret metadata: name: apicast-config-secret namespace: $NAMESPACE type: Opaque stringData: config.json: | { "services": [ { "proxy": { "policy_chain": [ { "name": "apicast.policy.upstream", "configuration": { "rules": [{ "regex": "/", "url": "http://echo-api.3scale.net" }] } } ] } } ] } EOF
cat << EOF | oc create -f - apiVersion: apps.3scale.net/v1alpha1 kind: APIcast metadata: name: example-apicast namespace: $NAMESPACE spec: embeddedConfigurationSecretRef: name: apicast-config-secret EOF
Verify that the APIcast gateway is running and available
Delete the test namespace to prepare for the namespace scoped scenario
Uninstall the cluster scoped operator to prepare for the namespace scoped scenario
Namespace Scoped Scenario
cat << EOF | oc create -f - apiVersion: v1 kind: Secret metadata: name: apicast-config-secret namespace: $NAMESPACE type: Opaque stringData: config.json: | { "services": [ { "proxy": { "policy_chain": [ { "name": "apicast.policy.upstream", "configuration": { "rules": [{ "regex": "/", "url": "http://echo-api.3scale.net" }] } } ] } } ] } EOF
cat << EOF | oc create -f - apiVersion: apps.3scale.net/v1alpha1 kind: APIcast metadata: name: example-apicast namespace: $NAMESPACE spec: embeddedConfigurationSecretRef: name: apicast-config-secret EOF