Skip to content

Commit dd847ae

Browse files
authored
Merge pull request #109 from PDOK/wr/url-immutable-message
smooth-operator version bump
2 parents d45c32e + c357e10 commit dd847ae

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

config/crd/bases/pdok.nl_wfs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,11 +1082,11 @@ spec:
10821082
- messageExpression: '''ingressRouteUrls should include service.url ''+self.service.url'
10831083
rule: '!has(self.ingressRouteUrls) || self.ingressRouteUrls.exists_one(x, x.url == self.service.url)'
10841084
status:
1085-
description: OperatorStatus defines the observed state of an Atom/WFS/WMS/....
1085+
description: OperatorStatus defines the observed state of an Atom/WFS/WMS/OGCAPI/...
10861086
properties:
10871087
conditions:
10881088
description: |-
1089-
Each condition contains details for one aspect of the current state of this Atom.
1089+
Each condition contains details for one aspect of the current state of this CR.
10901090
Known .status.conditions.type are: "Reconciled"
10911091
items:
10921092
description: Condition contains details for one aspect of the current state of this API Resource.
@@ -1146,10 +1146,10 @@ spec:
11461146
additionalProperties:
11471147
description: OperationResult is the action result of a CreateOrUpdate or CreateOrPatch call.
11481148
type: string
1149-
description: The result of creating or updating of each derived resource for this Atom.
1149+
description: The result of creating or updating of each derived resource for this CR.
11501150
type: object
11511151
podSummary:
1152-
description: Summary of status of pods that belong to this resource
1152+
description: Summary of status of pods that belong to this CR
11531153
items:
11541154
properties:
11551155
available:

config/crd/bases/pdok.nl_wms.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,11 +1665,11 @@ spec:
16651665
- messageExpression: '''ingressRouteUrls should include service.url ''+self.service.url'
16661666
rule: '!has(self.ingressRouteUrls) || self.ingressRouteUrls.exists_one(x, x.url == self.service.url)'
16671667
status:
1668-
description: OperatorStatus defines the observed state of an Atom/WFS/WMS/....
1668+
description: OperatorStatus defines the observed state of an Atom/WFS/WMS/OGCAPI/...
16691669
properties:
16701670
conditions:
16711671
description: |-
1672-
Each condition contains details for one aspect of the current state of this Atom.
1672+
Each condition contains details for one aspect of the current state of this CR.
16731673
Known .status.conditions.type are: "Reconciled"
16741674
items:
16751675
description: Condition contains details for one aspect of the current state of this API Resource.
@@ -1729,10 +1729,10 @@ spec:
17291729
additionalProperties:
17301730
description: OperationResult is the action result of a CreateOrUpdate or CreateOrPatch call.
17311731
type: string
1732-
description: The result of creating or updating of each derived resource for this Atom.
1732+
description: The result of creating or updating of each derived resource for this CR.
17331733
type: object
17341734
podSummary:
1735-
description: Summary of status of pods that belong to this resource
1735+
description: Summary of status of pods that belong to this CR
17361736
items:
17371737
properties:
17381738
available:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/pdok/featureinfo-generator v1.4.0
1414
github.com/pdok/ogc-capabilities-generator v1.0.1
1515
github.com/pdok/ogc-specifications v1.0.0
16-
github.com/pdok/smooth-operator v1.2.0
16+
github.com/pdok/smooth-operator v1.2.2
1717
github.com/peterbourgon/ff v1.7.1
1818
github.com/stretchr/testify v1.10.0
1919
github.com/traefik/traefik/v3 v3.4.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ github.com/pdok/ogc-capabilities-generator v1.0.1 h1:7cKgdcWO4y+M9a2hW8ONhmBxGER
152152
github.com/pdok/ogc-capabilities-generator v1.0.1/go.mod h1:Fnq2i1X3Aufjx/ptQ34c9knw1mDMUAQt0MTBscqX0/M=
153153
github.com/pdok/ogc-specifications v1.0.0 h1:YqVqKwgOrPprTuRcNrFJeUuxSHOIeOSQStBcYJZUGcA=
154154
github.com/pdok/ogc-specifications v1.0.0/go.mod h1:YDngwkwrWOfc5MYnEYseiv97K1Y9bZXlVzwi/8EaIl8=
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/wfs_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ var _ = Describe("WFS Webhook", func() {
365365
warnings, err := validator.ValidateUpdate(ctx, oldObj, obj)
366366
Expect(err).To(Equal(getValidationError(obj, field.Forbidden(
367367
field.NewPath("spec").Child("service").Child("url"),
368-
"is immutable",
368+
"is immutable, add the old and new urls to spec.ingressRouteUrls in order to change this field",
369369
))))
370370
Expect(warnings).To(BeEmpty())
371371
})

internal/webhook/v3/wms_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ var _ = Describe("WMS Webhook", func() {
568568
warnings, err := validator.ValidateUpdate(ctx, oldObj, obj)
569569
Expect(err).To(Equal(getValidationError(obj, field.Forbidden(
570570
field.NewPath("spec").Child("service").Child("url"),
571-
"is immutable",
571+
"is immutable, add the old and new urls to spec.ingressRouteUrls in order to change this field",
572572
))))
573573
Expect(warnings).To(BeEmpty())
574574
})

0 commit comments

Comments
 (0)