Skip to content

Commit 91e7b23

Browse files
authored
Prepare for release v0.0.70 (#399)
ProductLine: ACE Release: v2026.2.16 Release-tracker: appscode-cloud/CHANGELOG#66 Signed-off-by: 1gtm <1gtm@appscode.com>
1 parent 679598f commit 91e7b23

File tree

765 files changed

+1253
-1164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

765 files changed

+1253
-1164
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ require (
4848
kmodules.xyz/go-containerregistry v0.0.15
4949
kmodules.xyz/monitoring-agent-api v0.34.0
5050
kmodules.xyz/offshoot-api v0.34.0
51-
kmodules.xyz/resource-metadata v0.41.2
51+
kmodules.xyz/resource-metadata v0.42.0
5252
kmodules.xyz/resource-metrics v0.34.0
5353
kmodules.xyz/resource-metrics/utils v0.34.0
5454
kmodules.xyz/sets v0.29.0
@@ -120,7 +120,7 @@ require (
120120
github.com/beorn7/perks v1.0.1 // indirect
121121
github.com/blang/semver/v4 v4.0.0 // indirect
122122
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
123-
github.com/cert-manager/cert-manager v1.19.2 // indirect
123+
github.com/cert-manager/cert-manager v1.19.3 // indirect
124124
github.com/cespare/xxhash/v2 v2.3.0 // indirect
125125
github.com/chai2010/gettext-go v1.0.3 // indirect
126126
github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyY
158158
github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=
159159
github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw=
160160
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
161-
github.com/cert-manager/cert-manager v1.19.2 h1:jSprN1h5pgNDSl7HClAmIzXuTxic/5FXJ32kbQHqjlM=
162-
github.com/cert-manager/cert-manager v1.19.2/go.mod h1:e9NzLtOKxTw7y99qLyWGmPo6mrC1Nh0EKKcMkRfK+GE=
161+
github.com/cert-manager/cert-manager v1.19.3 h1:3d0Nk/HO3BOmAdBJNaBh+6YgaO3Ciey3xCpOjiX5Obs=
162+
github.com/cert-manager/cert-manager v1.19.3/go.mod h1:e9NzLtOKxTw7y99qLyWGmPo6mrC1Nh0EKKcMkRfK+GE=
163163
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
164164
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
165165
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
@@ -761,8 +761,8 @@ github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0=
761761
github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA=
762762
go.bytebuilders.dev/catalog v0.0.19 h1:8MBAvQCRYKhOR+crvASPiQyCDFlKWM99PIWfMhtr15s=
763763
go.bytebuilders.dev/catalog v0.0.19/go.mod h1:MDIInlnmT3+W1oaptfBia0TaWFu/5A0es+SzaXQnIpk=
764-
go.bytebuilders.dev/catalog-manager v0.10.0 h1:12LLb6T1DvVhbNgXNWCSFZEn2E+LM1HF9AOKQ5ALhRY=
765-
go.bytebuilders.dev/catalog-manager v0.10.0/go.mod h1:X/Of65xx66bEfmRp4Wy+uIGqKB0nL6LsTOyRbmY09dw=
764+
go.bytebuilders.dev/catalog-manager v0.10.0 h1:1BRDQeaFRQ9j3HpTEWtYyWbgGI6ugnlCJNMaQTxmWX0=
765+
go.bytebuilders.dev/catalog-manager v0.10.0/go.mod h1:0y1I4oO4S67JqCw1Xt5K8iqVrk8J5ZLITjNboi/tbSU=
766766
go.bytebuilders.dev/license-verifier v0.15.0 h1:9BHJSVpiCztnJMlsn1i36wi0ZeHdr46CrQH2GUzFLBA=
767767
go.bytebuilders.dev/license-verifier v0.15.0/go.mod h1:aGD3zgEUZ5BnOam9U241ZiOm4Wp8f+EiJeQ+nHTFO5A=
768768
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
@@ -1194,8 +1194,8 @@ kmodules.xyz/monitoring-agent-api v0.34.0 h1:SNgKvC1j8oYWQcdClyV2T5GsOQoG40c3pK9
11941194
kmodules.xyz/monitoring-agent-api v0.34.0/go.mod h1:XFDfMHDZQeNEPdTDeDr4M0dT4UCWs+4IYzgHw7JDlms=
11951195
kmodules.xyz/offshoot-api v0.34.0 h1:HnOOp8FrCjTWjtNApRDo6Ahe79tOlLrJmyye4xxO4Kk=
11961196
kmodules.xyz/offshoot-api v0.34.0/go.mod h1:F+B59yYw4CZJ4uD4xu6C+mMLzIXUtuH7E+SbDICl9jE=
1197-
kmodules.xyz/resource-metadata v0.41.2 h1:oDAW86owvC6x+g7VSSA/9kUiYCzQp4zIYuTHvGxMCVY=
1198-
kmodules.xyz/resource-metadata v0.41.2/go.mod h1:xntcQko2QLbLEHwGE4TQ7I/80fcBQzcexbep97Akstk=
1197+
kmodules.xyz/resource-metadata v0.42.0 h1:7pWaTN0JciTHmQy1Zk0xVM2kDi36BMWNFdDr1FdGKm0=
1198+
kmodules.xyz/resource-metadata v0.42.0/go.mod h1:xntcQko2QLbLEHwGE4TQ7I/80fcBQzcexbep97Akstk=
11991199
kmodules.xyz/resource-metrics v0.34.0 h1:cqscgTx3PONxHj6PIySK3sTlKKv8iKTGzRd+S6YSwXg=
12001200
kmodules.xyz/resource-metrics v0.34.0/go.mod h1:R34IKtp5+NqcQz7AQJheBJK6Iem0LqrCbm/55Mn+ECQ=
12011201
kmodules.xyz/resource-metrics/utils v0.34.0 h1:IAwJNoXQZu7bNiWgbwEp+w26uBH1AScprKMA2HX+Bbg=

vendor/go.bytebuilders.dev/catalog-manager/pkg/gateway/gateway.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,23 @@ func FindGatewayClass(ctx context.Context, kc client.Client, bindingNamespace st
9797
return nil, err
9898
}
9999
if ns.Labels[kmapi.ClientOrgKey] == "true" {
100+
klog.Infof("Finding gatewayClass for client-org %s \n", bindingNamespace)
100101
var qwc gwv1.GatewayClass
101102
if err := kc.Get(ctx, key, &qwc); err == nil {
103+
klog.Infof("Found gateway class %s directly", qwc.Name)
102104
return &qwc, nil
103105
}
104106
class, err := findGWClassFromPresetsRef(ctx, kc, key)
105107
if err != nil {
106108
return nil, err
107109
}
108110
if class != nil {
111+
klog.Infof("Found gateway class %s from presetsRef", class.Name)
109112
return class, nil
110113
}
111114
}
112115

116+
klog.Infof("Finding default gateway class for binding namespace: %s \n", bindingNamespace)
113117
return FindDefaultGatewayClass(ctx, kc)
114118
}
115119

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
/*
2+
Copyright AppsCode Inc. and Contributors
3+
4+
Licensed under the AppsCode Community License 1.0.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
package gateway
18+
19+
import (
20+
"context"
21+
22+
catgwapi "go.bytebuilders.dev/catalog/api/gateway/v1alpha1"
23+
24+
flux "github.com/fluxcd/helm-controller/api/v2"
25+
core "k8s.io/api/core/v1"
26+
"k8s.io/apimachinery/pkg/api/errors"
27+
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
28+
"k8s.io/apimachinery/pkg/types"
29+
kmapi "kmodules.xyz/client-go/api/v1"
30+
"sigs.k8s.io/controller-runtime/pkg/client"
31+
)
32+
33+
func WaitIfNeeded(ctx context.Context, kc client.Client, bindingNamespace string) (bool, error) {
34+
var ns core.Namespace
35+
err := kc.Get(ctx, client.ObjectKey{Name: bindingNamespace}, &ns)
36+
if err != nil {
37+
return false, err
38+
}
39+
40+
// if client-org, check if there should be a helmRelease on the <>-gw ns. And then check that hr's existence
41+
if ns.Labels[kmapi.ClientOrgKey] == "true" {
42+
willBe := willThereBeAHelmRelease(ctx, kc, bindingNamespace)
43+
if willBe {
44+
var hr flux.HelmRelease
45+
err = kc.Get(ctx, types.NamespacedName{
46+
Namespace: bindingNamespace + "-gw",
47+
Name: bindingNamespace,
48+
}, &hr)
49+
// if not found, wait.
50+
if err != nil {
51+
return errors.IsNotFound(err), err
52+
}
53+
// if found, wait for that to be ready
54+
return !isHelmReleaseReady(hr), nil
55+
}
56+
}
57+
return false, nil
58+
}
59+
60+
func willThereBeAHelmRelease(ctx context.Context, kc client.Client, ns string) bool {
61+
var gwps catgwapi.GatewayPreset
62+
if err := kc.Get(ctx, types.NamespacedName{
63+
Namespace: ns + "-gw",
64+
Name: ns,
65+
}, &gwps); err != nil {
66+
return false
67+
}
68+
69+
var gwcfg catgwapi.GatewayConfig
70+
err := kc.Get(ctx, types.NamespacedName{
71+
Namespace: string(*gwps.Spec.ParametersRef.Namespace),
72+
Name: gwps.Spec.ParametersRef.Name,
73+
}, &gwcfg)
74+
return err == nil
75+
}
76+
77+
func isHelmReleaseReady(hr flux.HelmRelease) bool {
78+
conditions := hr.Status.Conditions
79+
for i := range conditions {
80+
if conditions[i].Type == "Ready" && conditions[i].Status == metav1.ConditionTrue {
81+
return true
82+
}
83+
}
84+
return false
85+
}

vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/acme.cert-manager.io/v1/challenges.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ spec:
3434
apiGroup: source.toolkit.fluxcd.io
3535
kind: HelmRepository
3636
name: appscode-charts-oci
37-
version: sha256:4d88e8fcac3d55dbb694570f1ad819f8c82cb282c7fae53a5dbc51a28f150b64
37+
version: v0.30.0
3838
enforceQuota: false

vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/acme.cert-manager.io/v1/orders.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ spec:
3434
apiGroup: source.toolkit.fluxcd.io
3535
kind: HelmRepository
3636
name: appscode-charts-oci
37-
version: sha256:1a4f33fb0d84e1ca6714a1481997a160f1cbe75e98620de14bf105eac5073210
37+
version: v0.30.0
3838
enforceQuota: false

vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/addon.open-cluster-management.io/v1alpha1/addondeploymentconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ spec:
2121
apiGroup: source.toolkit.fluxcd.io
2222
kind: HelmRepository
2323
name: appscode-charts-oci
24-
version: sha256:81b7dee43adc424c3b4229d197851106d2a2422b7dc2a92554330245e1744b5d
24+
version: v0.30.0
2525
enforceQuota: false

vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/addon.open-cluster-management.io/v1alpha1/addontemplates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ spec:
2121
apiGroup: source.toolkit.fluxcd.io
2222
kind: HelmRepository
2323
name: appscode-charts-oci
24-
version: sha256:e2faab6857f5c8c28564ed538d76ccd5171aafdae7c8aa0f77fb0db47418f30d
24+
version: v0.30.0
2525
enforceQuota: false

vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/addon.open-cluster-management.io/v1alpha1/clustermanagementaddons.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ spec:
2121
apiGroup: source.toolkit.fluxcd.io
2222
kind: HelmRepository
2323
name: appscode-charts-oci
24-
version: sha256:8a8f7c355f94a28488f54f86617d8522fb53d6b904e7be0f415961d12fb5cbd5
24+
version: v0.30.0
2525
enforceQuota: false

vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/addon.open-cluster-management.io/v1alpha1/managedclusteraddons.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ spec:
2121
apiGroup: source.toolkit.fluxcd.io
2222
kind: HelmRepository
2323
name: appscode-charts-oci
24-
version: sha256:01196ef8931e5def2b17526986f149b49934f4cb678b9f9cbe6fe9a08b5e847f
24+
version: v0.30.0
2525
enforceQuota: false

0 commit comments

Comments
 (0)