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,
|
||||
}),
|
||||
},
|
||||
'0thanosrulerCustomResourceDefinition'+: {
|
||||
spec: std.mergePatch(super.spec, {
|
||||
preserveUnknownFields: null,
|
||||
}),
|
||||
},
|
||||
},
|
||||
grafana+:: {
|
||||
dashboardDefinitions: configMapList.new(super.dashboardDefinitions),
|
||||
|
||||
@@ -12,7 +12,6 @@ spec:
|
||||
listKind: ThanosRulerList
|
||||
plural: thanosrulers
|
||||
singular: thanosruler
|
||||
preserveUnknownFields: false
|
||||
scope: Namespaced
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
|
||||
Reference in New Issue
Block a user