Skip to content

Commit 3f92d3b

Browse files
committed
bundle: regenerate the bundle, atomic list validations added
1 parent 1a3773d commit 3f92d3b

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

bundle/manifests/externaldns.olm.openshift.io_externaldnses.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,13 @@ spec:
311311
items:
312312
type: string
313313
type: array
314+
x-kubernetes-list-type: atomic
314315
required:
315316
- key
316317
- operator
317318
type: object
318319
type: array
320+
x-kubernetes-list-type: atomic
319321
matchLabels:
320322
additionalProperties:
321323
type: string
@@ -789,11 +791,13 @@ spec:
789791
items:
790792
type: string
791793
type: array
794+
x-kubernetes-list-type: atomic
792795
required:
793796
- key
794797
- operator
795798
type: object
796799
type: array
800+
x-kubernetes-list-type: atomic
797801
matchLabels:
798802
additionalProperties:
799803
type: string

config/crd/bases/externaldns.olm.openshift.io_externaldnses.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,13 @@ spec:
313313
items:
314314
type: string
315315
type: array
316+
x-kubernetes-list-type: atomic
316317
required:
317318
- key
318319
- operator
319320
type: object
320321
type: array
322+
x-kubernetes-list-type: atomic
321323
matchLabels:
322324
additionalProperties:
323325
type: string
@@ -791,11 +793,13 @@ spec:
791793
items:
792794
type: string
793795
type: array
796+
x-kubernetes-list-type: atomic
794797
required:
795798
- key
796799
- operator
797800
type: object
798801
type: array
802+
x-kubernetes-list-type: atomic
799803
matchLabels:
800804
additionalProperties:
801805
type: string

config/crd/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resources:
55
- bases/externaldns.olm.openshift.io_externaldnses.yaml
66
#+kubebuilder:scaffold:crdkustomizeresource
77

8-
patchesStrategicMerge:
8+
patches:
99
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
1010
# patches here are for enabling the conversion webhook for each CRD
1111
#- patches/webhook_in_externaldns.yaml

config/default/kustomization.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ resources:
1313
# Protect the /metrics endpoint by putting it behind auth.
1414
# If you want your controller-manager to expose the /metrics
1515
# endpoint w/o any authn/z, please comment the following line.
16-
patchesStrategicMerge:
17-
- manager_auth_proxy_patch.yaml
18-
- manager_webhook_patch.yaml
16+
patches:
17+
- path: manager_auth_proxy_patch.yaml
18+
- path: manager_webhook_patch.yaml
1919
# Mount the controller config file for loading manager configurations
2020
# through a ComponentConfig type
2121
#- manager_config_patch.yaml

0 commit comments

Comments
 (0)