Skip to content

Commit 2c4acea

Browse files
committed
use new interface
1 parent 09a783a commit 2c4acea

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/onsi/ginkgo/v2 v2.22.1
1212
github.com/onsi/gomega v1.36.2
1313
github.com/pdok/atom-generator v0.6.4
14-
github.com/pdok/smooth-operator v1.2.5
14+
github.com/pdok/smooth-operator v1.2.6
1515
github.com/peterbourgon/ff v1.7.1
1616
github.com/pkg/errors v0.9.1
1717
github.com/stretchr/testify v1.11.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaR
150150
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
151151
github.com/pdok/atom-generator v0.6.4 h1:UpTTSKskdWLnxTAhSNOlz8dF2tBousD97V03kWzCV2k=
152152
github.com/pdok/atom-generator v0.6.4/go.mod h1:IlPwti5ocXDTjB4xmz0ZpHCOW/suuW5gQMfjfwPX6uM=
153-
github.com/pdok/smooth-operator v1.2.5 h1:0Jr5hUfnnoq0HZuGtRwvO4V0z2R4ExT5oyGu+F0h/g4=
154-
github.com/pdok/smooth-operator v1.2.5/go.mod h1:tqr/CDCXZHNzQzQVlSAnCmsPlx9tWAObsj8hg9mSSEU=
153+
github.com/pdok/smooth-operator v1.2.6 h1:0ieLuPVDq8sd5EPxDDuh8F8W5P606C9/mZQdY25oI0o=
154+
github.com/pdok/smooth-operator v1.2.6/go.mod h1:tqr/CDCXZHNzQzQVlSAnCmsPlx9tWAObsj8hg9mSSEU=
155155
github.com/pelletier/go-toml v1.6.0/go.mod h1:5N711Q9dKgbdkxHL+MEfF31hpT7l0S0s/t2kKREewys=
156156
github.com/peterbourgon/ff v1.7.1 h1:xt1lxTG+Nr2+tFtysY7abFgPoH3Lug8CwYJMOmJRXhk=
157157
github.com/peterbourgon/ff v1.7.1/go.mod h1:fYI5YA+3RDqQRExmFbHnBjEeWzh9TrS8rnRpEq7XIg0=

internal/controller/ingressroute.go

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,12 @@ func (r *AtomReconciler) mutateIngressRoute(atom *pdoknlv3.Atom, ingressRoute *t
3535

3636
baseURL := atom.Spec.Service.BaseURL
3737

38-
otherUptimeTags := []string{
39-
"public-stats",
40-
}
41-
for _, v := range atom.Labels {
42-
otherUptimeTags = append(otherUptimeTags, v)
43-
}
44-
sort.Strings(otherUptimeTags)
45-
4638
ingressRoute.Annotations = uptimeutils.GetUptimeAnnotations(
4739
atom.Annotations,
4840
atom.Name+nameSuffix,
4941
atom.Spec.Service.Title+" ATOM",
5042
baseURL.JoinPath("index.xml").String(),
51-
otherUptimeTags,
43+
atom.Labels,
5244
)
5345

5446
// Set additional Azure storage middleware per download link

0 commit comments

Comments
 (0)