Skip to content

Commit

Permalink
chore(deps): bump kong/kubernetes-configuration (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo authored Oct 23, 2024
1 parent 35f372a commit 0fc29d2
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 42 deletions.
2 changes: 1 addition & 1 deletion controller/konnect/ops/ops_kongconsumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func kongConsumerToSDKConsumerInput(
) sdkkonnectcomp.ConsumerInput {
return sdkkonnectcomp.ConsumerInput{
CustomID: lo.ToPtr(consumer.CustomID),
Tags: GenerateTagsForObject(consumer),
Tags: GenerateTagsForObject(consumer, consumer.Spec.Tags...),
Username: lo.ToPtr(consumer.Username),
}
}
Expand Down
2 changes: 1 addition & 1 deletion controller/konnect/ops/ops_kongconsumergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func kongConsumerGroupToSDKConsumerGroupInput(
group *configurationv1beta1.KongConsumerGroup,
) sdkkonnectcomp.ConsumerGroupInput {
return sdkkonnectcomp.ConsumerGroupInput{
Tags: GenerateTagsForObject(group),
Tags: GenerateTagsForObject(group, group.Spec.Tags...),
Name: group.Spec.Name,
}
}
Expand Down
63 changes: 32 additions & 31 deletions docs/api-reference.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ require (
github.com/go-logr/logr v1.4.2
github.com/google/go-containerregistry v0.20.2
github.com/google/uuid v1.6.0
github.com/kong/kubernetes-configuration v0.0.33
github.com/kong/kubernetes-configuration v0.0.34
github.com/kong/kubernetes-telemetry v0.1.5
github.com/kong/kubernetes-testing-framework v0.47.2
github.com/kong/semver/v4 v4.0.1
github.com/kr/pretty v0.3.1
github.com/samber/lo v1.47.0
github.com/sourcegraph/conc v0.3.0
github.com/stretchr/testify v1.9.0
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
golang.org/x/mod v0.21.0
k8s.io/api v0.31.1
k8s.io/apimachinery v0.31.1
Expand Down Expand Up @@ -101,7 +102,6 @@ require (
go.opentelemetry.io/otel/metric v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/tools v0.24.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/kong/go-kong v0.59.1 h1:AJZtyCD+Zyqe/mF/m+x3/qN/GPVxAH7jq9zGJTHRfjc=
github.com/kong/go-kong v0.59.1/go.mod h1:8Vt6HmtgLNgL/7bSwAlz3DIWqBtzG7qEt9+OnMiQOa0=
github.com/kong/kubernetes-configuration v0.0.33 h1:Sg7p0/V0e7QKDIUzadn0+f49ZF1IMFmOHcJSPrxRq3c=
github.com/kong/kubernetes-configuration v0.0.33/go.mod h1:oAdPMWiWJ6qbMPPExUSj3c3YrI675JUIfsDcKWnGW0M=
github.com/kong/kubernetes-configuration v0.0.34 h1:ZNif0qryuTSej4zq3kOTDbF1qDcahHABApRJX9ESk3M=
github.com/kong/kubernetes-configuration v0.0.34/go.mod h1:PDO23EXVHXb/T2zmefO+lsyJmq0TF5eUcEt9cFBgqw4=
github.com/kong/kubernetes-telemetry v0.1.5 h1:xHwU1q0IvfEYqpj03po73ZKbVarnFPUwzkoFkdVnr9w=
github.com/kong/kubernetes-telemetry v0.1.5/go.mod h1:1UXyZ6N3e8Fl6YguToQ6tKNveonkhjSqxzY7HVW+Ba4=
github.com/kong/kubernetes-testing-framework v0.47.2 h1:+2Z9anTpbV/hwNeN+NFQz53BMU+g3QJydkweBp3tULo=
Expand Down
2 changes: 1 addition & 1 deletion test/envtest/kongconsumercredential_acl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package envtest

import (
"context"
"slices"
"strings"
"testing"

Expand All @@ -13,7 +14,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"golang.org/x/exp/slices"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/watch"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
2 changes: 1 addition & 1 deletion test/envtest/kongconsumercredential_apikey_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package envtest

import (
"context"
"slices"
"strings"
"testing"

Expand All @@ -13,7 +14,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"golang.org/x/exp/slices"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/watch"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
2 changes: 1 addition & 1 deletion test/envtest/kongconsumercredential_basicauth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package envtest

import (
"context"
"slices"
"strings"
"testing"

Expand All @@ -13,7 +14,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"golang.org/x/exp/slices"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/watch"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
2 changes: 1 addition & 1 deletion test/envtest/kongconsumercredential_hmac_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package envtest

import (
"context"
"slices"
"strings"
"testing"

Expand All @@ -13,7 +14,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"golang.org/x/exp/slices"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/watch"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
2 changes: 1 addition & 1 deletion test/envtest/kongconsumercredential_jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package envtest

import (
"context"
"slices"
"strings"
"testing"

Expand All @@ -13,7 +14,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"golang.org/x/exp/slices"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/watch"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down

0 comments on commit 0fc29d2

Please sign in to comment.