remove preserveUnknownFields from thanos CRD
This keeps the CRD compatible with kubernetes v1.14 and earlier
This commit is contained in:
1 parent
bb0ca63533
commit
6a2cc72573
2 files changed
+5
-1
No files matched your search
@@ -45,6 +45,11 @@ local configMapList = k3.core.v1.configMapList;
|
|||||||
preserveUnknownFields: null,
|
preserveUnknownFields: null,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
'0thanosrulerCustomResourceDefinition'+: {
|
||||||
|
spec: std.mergePatch(super.spec, {
|
||||||
|
preserveUnknownFields: null,
|
||||||
|
}),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
grafana+:: {
|
grafana+:: {
|
||||||
dashboardDefinitions: configMapList.new(super.dashboardDefinitions),
|
dashboardDefinitions: configMapList.new(super.dashboardDefinitions),
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ spec:
|
|||||||
listKind: ThanosRulerList
|
listKind: ThanosRulerList
|
||||||
plural: thanosrulers
|
plural: thanosrulers
|
||||||
singular: thanosruler
|
singular: thanosruler
|
||||||
preserveUnknownFields: false
|
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
validation:
|
validation:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
|||||||
Reference in new issue
Block a user