Skip to content

Commit e7a320f

Browse files
authored
Merge pull request #62 from PDOK/wr/url-immutable-message
version bump smooth-operator
2 parents c8dfbf7 + dcafbee commit e7a320f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

config/crd/bases/pdok.nl_atoms.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,11 @@ spec:
428428
rule: '!has(self.ingressRouteUrls) || self.ingressRouteUrls.exists_one(x,
429429
x.url == self.service.baseUrl)'
430430
status:
431-
description: OperatorStatus defines the observed state of an Atom/WFS/WMS/....
431+
description: OperatorStatus defines the observed state of an Atom/WFS/WMS/OGCAPI/...
432432
properties:
433433
conditions:
434434
description: |-
435-
Each condition contains details for one aspect of the current state of this Atom.
435+
Each condition contains details for one aspect of the current state of this CR.
436436
Known .status.conditions.type are: "Reconciled"
437437
items:
438438
description: Condition contains details for one aspect of the current
@@ -495,10 +495,10 @@ spec:
495495
call.
496496
type: string
497497
description: The result of creating or updating of each derived resource
498-
for this Atom.
498+
for this CR.
499499
type: object
500500
podSummary:
501-
description: Summary of status of pods that belong to this resource
501+
description: Summary of status of pods that belong to this CR
502502
items:
503503
properties:
504504
available:

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.0
14+
github.com/pdok/smooth-operator v1.2.2
1515
github.com/peterbourgon/ff v1.7.1
1616
github.com/pkg/errors v0.9.1
1717
github.com/stretchr/testify v1.10.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaR
152152
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
153153
github.com/pdok/atom-generator v0.6.4 h1:UpTTSKskdWLnxTAhSNOlz8dF2tBousD97V03kWzCV2k=
154154
github.com/pdok/atom-generator v0.6.4/go.mod h1:IlPwti5ocXDTjB4xmz0ZpHCOW/suuW5gQMfjfwPX6uM=
155-
github.com/pdok/smooth-operator v1.2.0 h1:KFFNsFzk16IfcHPmHkgJnmbhIIY69k7crhPft3lXih8=
156-
github.com/pdok/smooth-operator v1.2.0/go.mod h1:tqr/CDCXZHNzQzQVlSAnCmsPlx9tWAObsj8hg9mSSEU=
155+
github.com/pdok/smooth-operator v1.2.2 h1:g6wq77mbK335KMb73Hn/7LnRA8VVqtdr7hj+tjrdoiM=
156+
github.com/pdok/smooth-operator v1.2.2/go.mod h1:tqr/CDCXZHNzQzQVlSAnCmsPlx9tWAObsj8hg9mSSEU=
157157
github.com/pelletier/go-toml v1.6.0/go.mod h1:5N711Q9dKgbdkxHL+MEfF31hpT7l0S0s/t2kKREewys=
158158
github.com/peterbourgon/ff v1.7.1 h1:xt1lxTG+Nr2+tFtysY7abFgPoH3Lug8CwYJMOmJRXhk=
159159
github.com/peterbourgon/ff v1.7.1/go.mod h1:fYI5YA+3RDqQRExmFbHnBjEeWzh9TrS8rnRpEq7XIg0=

internal/webhook/v3/atom_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ var _ = Describe("Atom Webhook", func() {
389389
},
390390
func(_, _ *pdoknlv3.Atom) field.ErrorList {
391391
return field.ErrorList{
392-
field.Forbidden(servicePath.Child("baseUrl"), "is immutable"),
392+
field.Forbidden(servicePath.Child("baseUrl"), "is immutable, add the old and new urls to spec.ingressRouteUrls in order to change this field"),
393393
}
394394
},
395395
)

0 commit comments

Comments
 (0)