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,
|
||||
}),
|
||||
},
|
||||
'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