From ad1b5dcde37dc289b4a933c73743ed821c730103 Mon Sep 17 00:00:00 2001 From: xstefank Date: Thu, 29 Aug 2024 11:29:04 +0200 Subject: [PATCH] Remove java-operator-plugins Signed-off-by: xstefank --- changelog/fragments/01-template.yaml | 35 +++++++++++++++++++++ go.mod | 1 - go.sum | 2 -- internal/cmd/operator-sdk/cli/cli.go | 2 -- website/content/en/docs/cli/operator-sdk.md | 1 - 5 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 changelog/fragments/01-template.yaml diff --git a/changelog/fragments/01-template.yaml b/changelog/fragments/01-template.yaml new file mode 100644 index 0000000000..a83b36f349 --- /dev/null +++ b/changelog/fragments/01-template.yaml @@ -0,0 +1,35 @@ +# entries is a list of entries to include in +# release notes and/or the migration guide +entries: + - description: > + Remove the Quarkus plugin (java-operator-plugins integration). + + # kind is one of: + # - addition + # - change + # - deprecation + # - removal + # - bugfix + kind: "removal" + + # Is this a breaking change? + breaking: true + + # NOTE: ONLY USE `pull_request_override` WHEN ADDING THIS + # FILE FOR A PREVIOUSLY MERGED PULL_REQUEST! + # + # The generator auto-detects the PR number from the commit + # message in which this file was originally added. + # + # What is the pull request number (without the "#")? + # pull_request_override: 0 + + + # Migration can be defined to automatically add a section to + # the migration guide. This is required for breaking changes. + migration: + header: Migrate to the Quarkus extension provided bootstrap + body: | + From now on, you can bootstrap your Quarkus-based operator + with the provided Quarkus tools as described in the bootstrapping + instructions - https://github.com/quarkiverse/quarkus-operator-sdk?tab=readme-ov-file#bootstrapping-a-project. diff --git a/go.mod b/go.mod index ac069b8790..16d9235f3a 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,6 @@ require ( github.com/operator-framework/ansible-operator-plugins v1.35.0 github.com/operator-framework/api v0.23.0 github.com/operator-framework/helm-operator-plugins v0.2.2 - github.com/operator-framework/java-operator-plugins v0.11.1 github.com/operator-framework/operator-lib v0.13.0 github.com/operator-framework/operator-manifest-tools v0.6.0 github.com/operator-framework/operator-registry v1.39.0 diff --git a/go.sum b/go.sum index f395674340..c1f2c81019 100644 --- a/go.sum +++ b/go.sum @@ -431,8 +431,6 @@ github.com/operator-framework/api v0.23.0 h1:kHymOwcHBpBVujT49SKOCd4EVG7Odwj4wl3 github.com/operator-framework/api v0.23.0/go.mod h1:oKcFOz+Xc1UhMi2Pzcp6qsO7wjS4r+yP7EQprQBXrfM= github.com/operator-framework/helm-operator-plugins v0.2.2 h1:xbVRXM4VIpixrjA9OwVF+Kky6DpYHpkOnME2HEoQUfg= github.com/operator-framework/helm-operator-plugins v0.2.2/go.mod h1:h8HwfHHr29GRpduxy5jCL/sIe4TDarS5XHExBHVDc8k= -github.com/operator-framework/java-operator-plugins v0.11.1 h1:NdKIEu9HKT5II1RZiU0LeH6QUPRHiDqzFbKDltcrjiM= -github.com/operator-framework/java-operator-plugins v0.11.1/go.mod h1:2qkhvf5jY3Myd6Ef+3HtseJyZPAAOWTa8xTOsPidHKY= github.com/operator-framework/operator-lib v0.13.0 h1:+TWgJhbJqyNix9m1LmHK5gY/lb3CGqZX3Wvl7K0k+6I= github.com/operator-framework/operator-lib v0.13.0/go.mod h1:RDs1wGdOKWSMCO+BYSbqmmKGnD5jOP7TVP+KvoX8jMg= github.com/operator-framework/operator-manifest-tools v0.6.0 h1:1fUP0ki3plXM6WivlcE6m5cV8fO2ZZVPHJM93vlgWJo= diff --git a/internal/cmd/operator-sdk/cli/cli.go b/internal/cmd/operator-sdk/cli/cli.go index 4d6e7ab8d0..5958b3d965 100644 --- a/internal/cmd/operator-sdk/cli/cli.go +++ b/internal/cmd/operator-sdk/cli/cli.go @@ -16,7 +16,6 @@ package cli import ( hybrid "github.com/operator-framework/helm-operator-plugins/pkg/plugins/hybrid/v1alpha" - quarkusv1 "github.com/operator-framework/java-operator-plugins/pkg/quarkus/v1beta" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/spf13/viper" @@ -171,7 +170,6 @@ func GetPluginsCLIAndRoot() (*cli.CLI, *cobra.Command) { grafanav1alpha.Plugin{}, deployImageBundle, declarativev1.Plugin{}, - &quarkusv1.Plugin{}, ), cli.WithDefaultPlugins(cfgv2.Version, gov2Bundle), cli.WithDefaultPlugins(cfgv3.Version, gov4Bundle), diff --git a/website/content/en/docs/cli/operator-sdk.md b/website/content/en/docs/cli/operator-sdk.md index 446aa3d25a..e3b8d2a8f7 100644 --- a/website/content/en/docs/cli/operator-sdk.md +++ b/website/content/en/docs/cli/operator-sdk.md @@ -34,7 +34,6 @@ and a supported project version for these plugins. grafana.kubebuilder.io/v1-alpha | 3 helm.sdk.operatorframework.io/v1 | 3 hybrid.helm.sdk.operatorframework.io/v1-alpha | 3 - quarkus.javaoperatorsdk.io/v1-beta | 3 For more specific help for the init command of a certain plugins and project version configuration please run: