Skip to content

Commit

Permalink
Release v7.0.0 (#1312)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbot authored Nov 19, 2024
1 parent f7b5d89 commit c10548d
Show file tree
Hide file tree
Showing 66 changed files with 136 additions and 135 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s

## [Unreleased]

## [7.0.0] - 2024-11-19

### Removed

- Removed PSP support and thus support for pre v1.25 Kubernetes clusters.
Expand Down Expand Up @@ -771,7 +773,8 @@ from Helm 2 to Helm 3.

- Flattening operator release structure.

[Unreleased]: https://github.com/giantswarm/app-operator/compare/v6.11.2...HEAD
[Unreleased]: https://github.com/giantswarm/app-operator/compare/v7.0.0...HEAD
[7.0.0]: https://github.com/giantswarm/app-operator/compare/v6.11.2...v7.0.0
[6.11.2]: https://github.com/giantswarm/app-operator/compare/v6.11.1...v6.11.2
[6.11.1]: https://github.com/giantswarm/app-operator/compare/v6.11.0...v6.11.1
[6.11.0]: https://github.com/giantswarm/app-operator/compare/v6.10.3...v6.11.0
Expand Down
2 changes: 1 addition & 1 deletion flag/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package flag
import (
"github.com/giantswarm/microkit/flag"

"github.com/giantswarm/app-operator/v6/flag/service"
"github.com/giantswarm/app-operator/v7/flag/service"
)

// Flag provides data structure for service command line flags.
Expand Down
2 changes: 1 addition & 1 deletion flag/service/helm/helm.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package helm

import (
"github.com/giantswarm/app-operator/v6/flag/service/helm/http"
"github.com/giantswarm/app-operator/v7/flag/service/helm/http"
)

type Helm struct {
Expand Down
16 changes: 8 additions & 8 deletions flag/service/service.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package service

import (
"github.com/giantswarm/app-operator/v6/flag/service/app"
"github.com/giantswarm/app-operator/v6/flag/service/appcatalog"
"github.com/giantswarm/app-operator/v6/flag/service/chart"
"github.com/giantswarm/app-operator/v6/flag/service/helm"
"github.com/giantswarm/app-operator/v6/flag/service/image"
"github.com/giantswarm/app-operator/v6/flag/service/kubernetes"
"github.com/giantswarm/app-operator/v6/flag/service/operatorkit"
"github.com/giantswarm/app-operator/v6/flag/service/provider"
"github.com/giantswarm/app-operator/v7/flag/service/app"
"github.com/giantswarm/app-operator/v7/flag/service/appcatalog"
"github.com/giantswarm/app-operator/v7/flag/service/chart"
"github.com/giantswarm/app-operator/v7/flag/service/helm"
"github.com/giantswarm/app-operator/v7/flag/service/image"
"github.com/giantswarm/app-operator/v7/flag/service/kubernetes"
"github.com/giantswarm/app-operator/v7/flag/service/operatorkit"
"github.com/giantswarm/app-operator/v7/flag/service/provider"
)

// Service is an intermediate data structure for command line configuration flags.
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/giantswarm/app-operator/v6
module github.com/giantswarm/app-operator/v7

go 1.21

Expand Down Expand Up @@ -114,7 +114,6 @@ require (
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/moby/locker v1.0.1 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/moby/sys/mountinfo v0.6.2 // indirect
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
Expand Down
5 changes: 2 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ github.com/moby/moby v20.10.27+incompatible h1:+4udGmxaQ3uP7Cu1IBmar/A95hXFP/OSR
github.com/moby/moby v20.10.27+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc=
github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8=
github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c=
github.com/moby/sys/mountinfo v0.6.2 h1:BzJjoreD5BMFNmD9Rus6gdd1pLuecOFPt8wC+Vygl78=
github.com/moby/sys/mountinfo v0.6.2/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI=
github.com/moby/sys/mountinfo v0.5.0 h1:2Ks8/r6lopsxWi9m58nlwjaeSzUX9iiL1vj5qB/9ObI=
github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU=
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae h1:O4SWKdcHVCvYqyDV+9CJA1fcDN2L11Bule0iFy3YlAI=
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
Expand Down Expand Up @@ -931,7 +931,6 @@ golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210909193231-528a39cd75f3/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
Expand Down
2 changes: 1 addition & 1 deletion helm/app-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A Helm chart for the app-operator
home: https://github.com/giantswarm/app-operator
name: app-operator
appVersion: 6.11.3-dev
version: 6.11.3-dev
version: 7.0.0
icon: https://s.giantswarm.io/app-icons/giantswarm/1/dark.svg
annotations:
application.giantswarm.io/team: "honeybadger"
Expand Down
4 changes: 2 additions & 2 deletions integration/key/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"fmt"
"strings"

"github.com/giantswarm/app-operator/v6/integration/env"
"github.com/giantswarm/app-operator/v7/integration/env"

"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v7/pkg/project"
)

func CatalogConfigMapName() string {
Expand Down
4 changes: 2 additions & 2 deletions integration/setup/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (

prometheusMonitoringV1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"

"github.com/giantswarm/app-operator/v6/integration/env"
"github.com/giantswarm/app-operator/v6/integration/release"
"github.com/giantswarm/app-operator/v7/integration/env"
"github.com/giantswarm/app-operator/v7/integration/release"
)

type Config struct {
Expand Down
6 changes: 3 additions & 3 deletions integration/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"github.com/spf13/afero"
"sigs.k8s.io/yaml"

"github.com/giantswarm/app-operator/v6/integration/key"
"github.com/giantswarm/app-operator/v6/integration/templates"
"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v7/integration/key"
"github.com/giantswarm/app-operator/v7/integration/templates"
"github.com/giantswarm/app-operator/v7/pkg/project"
)

func Setup(m *testing.M, config Config) {
Expand Down
4 changes: 2 additions & 2 deletions integration/test/app/basic/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"k8s.io/apimachinery/pkg/types"
"sigs.k8s.io/yaml"

"github.com/giantswarm/app-operator/v6/integration/key"
"github.com/giantswarm/app-operator/v6/integration/templates"
"github.com/giantswarm/app-operator/v7/integration/key"
"github.com/giantswarm/app-operator/v7/integration/templates"
)

// TestAppLifecycle tests a chart CR can be created, updated and deleted
Expand Down
2 changes: 1 addition & 1 deletion integration/test/app/basic/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package basic
import (
"testing"

"github.com/giantswarm/app-operator/v6/integration/setup"
"github.com/giantswarm/app-operator/v7/integration/setup"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion integration/test/app/workload/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package workload
import (
"testing"

"github.com/giantswarm/app-operator/v6/integration/setup"
"github.com/giantswarm/app-operator/v7/integration/setup"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions integration/test/app/workload/workload_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (
"k8s.io/client-go/tools/clientcmd"
"k8s.io/client-go/tools/clientcmd/api"

"github.com/giantswarm/app-operator/v6/integration/env"
"github.com/giantswarm/app-operator/v6/integration/key"
"github.com/giantswarm/app-operator/v6/integration/templates"
"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v7/integration/env"
"github.com/giantswarm/app-operator/v7/integration/key"
"github.com/giantswarm/app-operator/v7/integration/templates"
"github.com/giantswarm/app-operator/v7/pkg/project"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"k8s.io/apimachinery/pkg/types"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/giantswarm/app-operator/v6/integration/key"
pkglabel "github.com/giantswarm/app-operator/v6/pkg/label"
"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v7/integration/key"
pkglabel "github.com/giantswarm/app-operator/v7/pkg/label"
"github.com/giantswarm/app-operator/v7/pkg/project"
)

// TestAppCatalogEntry tests appcatalogentry CRs are generated for the
Expand Down
2 changes: 1 addition & 1 deletion integration/test/catalog/appcatalogentry/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package appcatalogentry
import (
"testing"

"github.com/giantswarm/app-operator/v6/integration/setup"
"github.com/giantswarm/app-operator/v7/integration/setup"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion integration/test/watcher/configmap/configmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"

"github.com/giantswarm/app-operator/v6/integration/key"
"github.com/giantswarm/app-operator/v7/integration/key"
)

// TestWatchingConfigMap tests app CRs are updated when wired configmaps are updated
Expand Down
2 changes: 1 addition & 1 deletion integration/test/watcher/configmap/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package configmap
import (
"testing"

"github.com/giantswarm/app-operator/v6/integration/setup"
"github.com/giantswarm/app-operator/v7/integration/setup"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (
"github.com/spf13/viper"
"k8s.io/client-go/rest"

"github.com/giantswarm/app-operator/v6/flag"
"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v6/server"
"github.com/giantswarm/app-operator/v6/service"
"github.com/giantswarm/app-operator/v7/flag"
"github.com/giantswarm/app-operator/v7/pkg/project"
"github.com/giantswarm/app-operator/v7/server"
"github.com/giantswarm/app-operator/v7/service"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/label/label.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/giantswarm/k8smetadata/pkg/label"
"k8s.io/apimachinery/pkg/labels"

"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v7/pkg/project"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var (
gitSHA = "n/a"
name = "app-operator"
source = "https://github.com/giantswarm/app-operator"
version = "6.11.3-dev"
version = "7.0.0"
)

func Description() string {
Expand Down
2 changes: 1 addition & 1 deletion server/endpoint/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/giantswarm/microerror"
"github.com/giantswarm/micrologger"

"github.com/giantswarm/app-operator/v6/service"
"github.com/giantswarm/app-operator/v7/service"
)

// Config represents the configuration used to construct an endpoint.
Expand Down
2 changes: 1 addition & 1 deletion server/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package middleware
import (
"github.com/giantswarm/micrologger"

"github.com/giantswarm/app-operator/v6/service"
"github.com/giantswarm/app-operator/v7/service"
)

// Config represents the configuration used to construct middleware.
Expand Down
6 changes: 3 additions & 3 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"github.com/giantswarm/micrologger"
"github.com/spf13/viper"

"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v6/server/endpoint"
"github.com/giantswarm/app-operator/v6/service"
"github.com/giantswarm/app-operator/v7/pkg/project"
"github.com/giantswarm/app-operator/v7/server/endpoint"
"github.com/giantswarm/app-operator/v7/service"
)

// Config represents the configuration used to construct server object.
Expand Down
10 changes: 5 additions & 5 deletions service/controller/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import (
"k8s.io/apimachinery/pkg/labels"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/giantswarm/app-operator/v6/pkg/label"
"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v6/service/internal/clientcache"
"github.com/giantswarm/app-operator/v6/service/internal/indexcache"
"github.com/giantswarm/app-operator/v7/pkg/label"
"github.com/giantswarm/app-operator/v7/pkg/project"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/internal/clientcache"
"github.com/giantswarm/app-operator/v7/service/internal/indexcache"
)

const appControllerSuffix = "-app"
Expand Down
2 changes: 1 addition & 1 deletion service/controller/app/resource/appnamespace/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"

"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion service/controller/app/resource/catalog/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"k8s.io/apimachinery/pkg/types"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion service/controller/app/resource/chart/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/giantswarm/microerror"
apierrors "k8s.io/apimachinery/pkg/api/errors"

"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
)

func (r *Resource) ApplyCreateChange(ctx context.Context, obj, createChange interface{}) error {
Expand Down
4 changes: 2 additions & 2 deletions service/controller/app/resource/chart/current.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
apierrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/types"

"github.com/giantswarm/app-operator/v6/pkg/status"
"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/pkg/status"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
)

func (r *Resource) GetCurrentState(ctx context.Context, obj interface{}) (interface{}, error) {
Expand Down
2 changes: 1 addition & 1 deletion service/controller/app/resource/chart/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/giantswarm/operatorkit/v8/pkg/resource/crud"
apierrors "k8s.io/apimachinery/pkg/api/errors"

"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
)

func (r *Resource) ApplyDeleteChange(ctx context.Context, obj, deleteChange interface{}) error {
Expand Down
8 changes: 4 additions & 4 deletions service/controller/app/resource/chart/desired.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
"k8s.io/client-go/kubernetes"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/giantswarm/app-operator/v6/pkg/project"
"github.com/giantswarm/app-operator/v6/pkg/status"
"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v6/service/internal/indexcache"
"github.com/giantswarm/app-operator/v7/pkg/project"
"github.com/giantswarm/app-operator/v7/pkg/status"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/internal/indexcache"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions service/controller/app/resource/chart/desired_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (
clientgofake "k8s.io/client-go/kubernetes/fake"
"sigs.k8s.io/controller-runtime/pkg/client/fake" //nolint:staticcheck

"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v6/service/internal/indexcache"
"github.com/giantswarm/app-operator/v6/service/internal/indexcache/indexcachetest"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/internal/indexcache"
"github.com/giantswarm/app-operator/v7/service/internal/indexcache/indexcachetest"
)

func Test_Resource_GetDesiredState(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions service/controller/app/resource/chart/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"k8s.io/client-go/dynamic"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v6/service/internal/indexcache"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/internal/indexcache"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion service/controller/app/resource/chart/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/giantswarm/operatorkit/v8/pkg/resource/crud"
"github.com/google/go-cmp/cmp"

"github.com/giantswarm/app-operator/v6/service/controller/app/controllercontext"
"github.com/giantswarm/app-operator/v7/service/controller/app/controllercontext"
)

func (r *Resource) ApplyUpdateChange(ctx context.Context, obj, updateChange interface{}) error {
Expand Down
Loading

0 comments on commit c10548d

Please sign in to comment.