Remove field preserveUnknownFields from CRDs
This allows compatiblity with kubernetes v1.14 and earlier.
This commit is contained in:
@@ -12,7 +12,6 @@ spec:
|
||||
listKind: AlertmanagerList
|
||||
plural: alertmanagers
|
||||
singular: alertmanager
|
||||
preserveUnknownFields: false
|
||||
scope: Namespaced
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
|
||||
@@ -12,7 +12,6 @@ spec:
|
||||
listKind: PodMonitorList
|
||||
plural: podmonitors
|
||||
singular: podmonitor
|
||||
preserveUnknownFields: false
|
||||
scope: Namespaced
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
|
||||
@@ -12,7 +12,6 @@ spec:
|
||||
listKind: PrometheusList
|
||||
plural: prometheuses
|
||||
singular: prometheus
|
||||
preserveUnknownFields: false
|
||||
scope: Namespaced
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
|
||||
@@ -12,7 +12,6 @@ spec:
|
||||
listKind: PrometheusRuleList
|
||||
plural: prometheusrules
|
||||
singular: prometheusrule
|
||||
preserveUnknownFields: false
|
||||
scope: Namespaced
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
|
||||
@@ -12,7 +12,6 @@ spec:
|
||||
listKind: ServiceMonitorList
|
||||
plural: servicemonitors
|
||||
singular: servicemonitor
|
||||
preserveUnknownFields: false
|
||||
scope: Namespaced
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
|
||||
Reference in New Issue
Block a user