remove preserveUnknownFields from thanos CRD
This keeps the CRD compatible with kubernetes v1.14 and earlier
This commit is contained in:
@@ -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