Closed everettraven closed 2 years ago
Hi @everettraven. Thanks for your PR.
I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test
label.
I understand the commands that are listed here.
/label docs-approved
/ok-to-test
@everettraven: all tests passed!
Full PR test history. Your PR dashboard.
@emmajiafan @KeenonLee The main thing added in this release is the validation of 1.25 from bundle validate. the other changes you see were a result of an expired GPG release key which we had to also address to get this release out upstream.
I updated the PR description comment, but just in case I wanted to add another comment with this info:
Note
The only change that was made that will impact users is an update to the operator-sdk bundle validate
logic that will now verify that no potentially deprecated APIs are found in the ClusterServiceVersion
.
To test this functionality:
I cloned the community-operators repo with:
git clone https://github.com/k8s-operatorhub/community-operators.git
I navigated to the couchbase-enterprise operator directory:
cd community-operators/operators/couchbase-enterprise
Ran:
operator-sdk bundle validate 2.3.0/ --select-optional suite=operatorframework --optional-values=k8s-version=1.25
Verified the output matched the expected of:
WARN[0000] Warning: Value couchbase-operator.v2.3.0-1: this bundle is using APIs which were deprecated and removed in v1.25. More info: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25. Migrate the API(s) for events: (["ClusterServiceVersion.Spec.InstallStrategy.StrategySpec.Permissions[0].Rules[8]"]),poddisruptionbudgets: (["ClusterServiceVersion.Spec.InstallStrategy.StrategySpec.Permissions[0].Rules[10]"]),
ERRO[0000] Error: Value couchbase-operator.v2.3.0-1: this bundle is using APIs which were deprecated and removed in v1.25. More info: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25. Migrate the API(s) for CronJob: (["ClusterServiceVersion.Spec.CustomResourceDefinitions.Owned[8].Resource[0]"])
WARN[0000] Warning: Value couchbase-operator.v2.3.0-1: this bundle is using APIs which were deprecated and removed in v1.25. More info: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25. Migrate the API(s) for events: (["ClusterServiceVersion.Spec.InstallStrategy.StrategySpec.Permissions[0].Rules[8]"]),poddisruptionbudgets: (["ClusterServiceVersion.Spec.InstallStrategy.StrategySpec.Permissions[0].Rules[10]"]),
ERRO[0000] Error: Value couchbase-operator.v2.3.0-1: this bundle is using APIs which were deprecated and removed in v1.25. More info: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25. Migrate the API(s) for CronJob: (["ClusterServiceVersion.Spec.CustomResourceDefinitions.Owned[8].Resource[0]"])
WARN[0000] Warning: Value couchbase-operator.v2.3.0-1: unable to find the resource requests for the container: (couchbase-operator). It is recommended to ensure the resource request for CPU and Memory. Be aware that for some clusters configurations it is required to specify requests or limits for those values. Otherwise, the system or quota may reject Pod creation. More info: https://master.sdk.operatorframework.io/docs/best-practices/managing-resources/
/label qe-approved
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: everettraven, jmrodri
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/cherry-pick release-4.12
@jmrodri: new pull request created: #289
Operator SDK v1.25.1
Merge executed via ./UPSTREAM-MERGE.sh v1.25.1
Note The only change that was made that will impact users is an update to the
operator-sdk bundle validate
logic that will now verify that no potentially deprecated APIs are found in theClusterServiceVersion
.To test this functionality:
I cloned the community-operators repo with:
I navigated to the couchbase-enterprise operator directory:
Ran:
Verified the output matched the expected of: