-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly set preserveUnknownFields to false
Longhorn 7887 Signed-off-by: Eric Weber <eric.weber@suse.com> (cherry picked from commit 1f79356)
- Loading branch information
1 parent
b2410e9
commit ed48cfd
Showing
8 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This is one of seven CRDs that were originally apiextensions.k8s.io/v1beta1. If Longhorn and Kubernetes are upgraded | ||
# in a particular order from Longhorn v1.0.2- to the latest, preserveUnknownFields may remain true, even though the | ||
# default (and intended value) is false. | ||
# https://github.com/longhorn/longhorn/discussions/4198 | ||
# https://github.com/longhorn/longhorn/issues/7887 | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: engines.longhorn.io | ||
spec: | ||
preserveUnknownFields: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
k8s/patches/crd/preserveUnknownFields/instancemanager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This is one of seven CRDs that were originally apiextensions.k8s.io/v1beta1. If Longhorn and Kubernetes are upgraded | ||
# in a particular order from Longhorn v1.0.2- to the latest, preserveUnknownFields may remain true, even though the | ||
# default (and intended value) is false. | ||
# https://github.com/longhorn/longhorn/discussions/4198 | ||
# https://github.com/longhorn/longhorn/issues/7887 | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: instancemanagers.longhorn.io | ||
spec: | ||
preserveUnknownFields: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This is one of seven CRDs that were originally apiextensions.k8s.io/v1beta1. If Longhorn and Kubernetes are upgraded | ||
# in a particular order from Longhorn v1.0.2- to the latest, preserveUnknownFields may remain true, even though the | ||
# default (and intended value) is false. | ||
# https://github.com/longhorn/longhorn/discussions/4198 | ||
# https://github.com/longhorn/longhorn/issues/7887 | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: replicas.longhorn.io | ||
spec: | ||
preserveUnknownFields: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This is one of seven CRDs that were originally apiextensions.k8s.io/v1beta1. If Longhorn and Kubernetes are upgraded | ||
# in a particular order from Longhorn v1.0.2- to the latest, preserveUnknownFields may remain true, even though the | ||
# default (and intended value) is false. | ||
# https://github.com/longhorn/longhorn/discussions/4198 | ||
# https://github.com/longhorn/longhorn/issues/7887 | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: settings.longhorn.io | ||
spec: | ||
preserveUnknownFields: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters