Skip to content

Commit

Permalink
Force pruning of object fields which are not specified in the OpenAPI…
Browse files Browse the repository at this point in the history
… schema
  • Loading branch information
soltysh committed Oct 18, 2019
1 parent 4410666 commit db65909
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: rolebindingrestrictions
singular: rolebindingrestriction
scope: Namespaced
preserveUnknownField: false
versions:
- name: v1
served: true
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_03_config-operator_01_operatorhub.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: operatorhubs
singular: operatorhub
scope: Cluster
preserveUnknownField: false
subresources:
status: {}
version: v1
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_03_config-operator_01_proxy.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
group: config.openshift.io
scope: Cluster
preserveUnknownField: false
versions:
- name: v1
served: true
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_apiserver.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
group: config.openshift.io
scope: Cluster
preserveUnknownField: false
names:
kind: APIServer
singular: apiserver
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: authentications
singular: authentication
scope: Cluster
preserveUnknownField: false
subresources:
status: {}
versions:
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_build.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
group: config.openshift.io
scope: Cluster
preserveUnknownField: false
names:
kind: Build
singular: build
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_console.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: consoles.config.openshift.io
spec:
scope: Cluster
preserveUnknownField: false
group: config.openshift.io
names:
kind: Console
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_dns.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: dnses
singular: dns
scope: Cluster
preserveUnknownField: false
versions:
- name: v1
served: true
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_featuregate.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ spec:
group: config.openshift.io
version: v1
scope: Cluster
preserveUnknownField: false
names:
kind: FeatureGate
singular: featuregate
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_image.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
group: config.openshift.io
scope: Cluster
preserveUnknownField: false
names:
kind: Image
singular: image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: infrastructures
singular: infrastructure
scope: Cluster
preserveUnknownField: false
versions:
- name: v1
served: true
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_ingress.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: ingresses
singular: ingress
scope: Cluster
preserveUnknownField: false
versions:
- name: v1
served: true
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_network.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: networks
singular: network
scope: Cluster
preserveUnknownField: false
versions:
- name: v1
served: true
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_oauth.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: oauths
singular: oauth
scope: Cluster
preserveUnknownField: false
subresources:
status: {}
versions:
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_project.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
group: config.openshift.io
scope: Cluster
preserveUnknownField: false
versions:
- name: v1
served: true
Expand Down
1 change: 1 addition & 0 deletions config/v1/0000_10_config-operator_01_scheduler.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
group: config.openshift.io
scope: Cluster
preserveUnknownField: false
names:
kind: Scheduler
singular: scheduler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
(CLI) downloads.
spec:
scope: Cluster
preserveUnknownField: false
group: console.openshift.io
versions:
- name: v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
web console log links.
spec:
scope: Cluster
preserveUnknownField: false
group: console.openshift.io
versions:
- name: v1
Expand Down
1 change: 1 addition & 0 deletions console/v1/0000_10_config-operator_01_consolelink.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
description: Extension for customizing OpenShift web console links
spec:
scope: Cluster
preserveUnknownField: false
group: console.openshift.io
versions:
- name: v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
description: Extension for configuring openshift web console notifications.
spec:
scope: Cluster
preserveUnknownField: false
group: console.openshift.io
versions:
- name: v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
group: operator.openshift.io
scope: Cluster
preserveUnknownField: false
names:
kind: ImageContentSourcePolicy
singular: imagecontentsourcepolicy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ spec:
listKind: ClusterResourceQuotaList
plural: clusterresourcequotas
singular: clusterresourcequota
preserveUnknownField: false
scope: Cluster
subresources:
status: {}
Expand Down
1 change: 1 addition & 0 deletions security/v1/0000_03_security-openshift_01_scc.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
plural: securitycontextconstraints
singular: securitycontextconstraints
scope: Cluster
preserveUnknownField: false
versions:
- name: v1
served: true
Expand Down

0 comments on commit db65909

Please sign in to comment.