From 7f8fab569627725b09606b16800606763d0574e3 Mon Sep 17 00:00:00 2001 From: David Ko Date: Thu, 16 Jun 2022 15:02:14 +0800 Subject: [PATCH] make patch: longhorn 1.3.0 Signed-off-by: David Ko --- .../exclude/templates/crds.yaml | 186 +++++++++--------- .../patch/questions.yaml.patch | 101 ++++++++++ .../generated-changes/patch/values.yaml.patch | 52 +++++ 3 files changed, 246 insertions(+), 93 deletions(-) create mode 100644 packages/longhorn/longhorn-1.3/generated-changes/patch/questions.yaml.patch create mode 100644 packages/longhorn/longhorn-1.3/generated-changes/patch/values.yaml.patch diff --git a/packages/longhorn/longhorn-1.3/generated-changes/exclude/templates/crds.yaml b/packages/longhorn/longhorn-1.3/generated-changes/exclude/templates/crds.yaml index 6ba9c15d4..83accc0e2 100644 --- a/packages/longhorn/longhorn-1.3/generated-changes/exclude/templates/crds.yaml +++ b/packages/longhorn/longhorn-1.3/generated-changes/exclude/templates/crds.yaml @@ -2600,104 +2600,104 @@ spec: listKind: SnapshotList plural: snapshots shortNames: - - lhsnap + - lhsnap singular: snapshot scope: Namespaced versions: - - additionalPrinterColumns: - - description: The volume that this snapshot belongs to - jsonPath: .spec.volume - name: Volume - type: string - - description: Timestamp when the point-in-time snapshot was taken - jsonPath: .status.creationTime - name: CreationTime - type: string - - description: Indicates if the snapshot is ready to be used to restore/backup a volume - jsonPath: .status.readyToUse - name: ReadyToUse - type: boolean - - description: Represents the minimum size of volume required to rehydrate from this snapshot - jsonPath: .status.restoreSize - name: RestoreSize - type: string - - description: The actual size of the snapshot - jsonPath: .status.size - name: Size - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1beta2 - schema: - openAPIV3Schema: - description: Snapshot is the Schema for the snapshots API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: SnapshotSpec defines the desired state of Longhorn Snapshot - properties: - createSnapshot: - description: require creating a new snapshot + - additionalPrinterColumns: + - description: The volume that this snapshot belongs to + jsonPath: .spec.volume + name: Volume + type: string + - description: Timestamp when the point-in-time snapshot was taken + jsonPath: .status.creationTime + name: CreationTime + type: string + - description: Indicates if the snapshot is ready to be used to restore/backup a volume + jsonPath: .status.readyToUse + name: ReadyToUse + type: boolean + - description: Represents the minimum size of volume required to rehydrate from this snapshot + jsonPath: .status.restoreSize + name: RestoreSize + type: string + - description: The actual size of the snapshot + jsonPath: .status.size + name: Size + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1beta2 + schema: + openAPIV3Schema: + description: Snapshot is the Schema for the snapshots API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SnapshotSpec defines the desired state of Longhorn Snapshot + properties: + createSnapshot: + description: require creating a new snapshot + type: boolean + labels: + additionalProperties: + type: string + description: The labels of snapshot + nullable: true + type: object + volume: + description: the volume that this snapshot belongs to. This field is immutable after creation. Required + type: string + required: + - volume + type: object + status: + description: SnapshotStatus defines the observed state of Longhorn Snapshot + properties: + children: + additionalProperties: type: boolean - labels: - additionalProperties: - type: string - description: The labels of snapshot - nullable: true - type: object - volume: - description: the volume that this snapshot belongs to. This field is immutable after creation. Required + nullable: true + type: object + creationTime: + type: string + error: + type: string + labels: + additionalProperties: type: string - required: - - volume - type: object - status: - description: SnapshotStatus defines the observed state of Longhorn Snapshot - properties: - children: - additionalProperties: - type: boolean - nullable: true - type: object - creationTime: - type: string - error: - type: string - labels: - additionalProperties: - type: string - nullable: true - type: object - markRemoved: - type: boolean - ownerID: - type: string - parent: - type: string - readyToUse: - type: boolean - restoreSize: - format: int64 - type: integer - size: - format: int64 - type: integer - userCreated: - type: boolean - type: object - type: object - served: true - storage: true - subresources: - status: {} + nullable: true + type: object + markRemoved: + type: boolean + ownerID: + type: string + parent: + type: string + readyToUse: + type: boolean + restoreSize: + format: int64 + type: integer + size: + format: int64 + type: integer + userCreated: + type: boolean + type: object + type: object + served: true + storage: true + subresources: + status: {} status: acceptedNames: kind: "" diff --git a/packages/longhorn/longhorn-1.3/generated-changes/patch/questions.yaml.patch b/packages/longhorn/longhorn-1.3/generated-changes/patch/questions.yaml.patch new file mode 100644 index 000000000..b42da19f4 --- /dev/null +++ b/packages/longhorn/longhorn-1.3/generated-changes/patch/questions.yaml.patch @@ -0,0 +1,101 @@ +--- charts-original/questions.yaml ++++ charts/questions.yaml +@@ -11,7 +11,7 @@ + group: "Longhorn Images" + subquestions: + - variable: image.longhorn.manager.repository +- default: longhornio/longhorn-manager ++ default: rancher/mirrored-longhornio-longhorn-manager + description: "Specify Longhorn Manager Image Repository" + type: string + label: Longhorn Manager Image Repository +@@ -23,7 +23,7 @@ + label: Longhorn Manager Image Tag + group: "Longhorn Images Settings" + - variable: image.longhorn.engine.repository +- default: longhornio/longhorn-engine ++ default: rancher/mirrored-longhornio-longhorn-engine + description: "Specify Longhorn Engine Image Repository" + type: string + label: Longhorn Engine Image Repository +@@ -35,7 +35,7 @@ + label: Longhorn Engine Image Tag + group: "Longhorn Images Settings" + - variable: image.longhorn.ui.repository +- default: longhornio/longhorn-ui ++ default: rancher/mirrored-longhornio-longhorn-ui + description: "Specify Longhorn UI Image Repository" + type: string + label: Longhorn UI Image Repository +@@ -47,7 +47,7 @@ + label: Longhorn UI Image Tag + group: "Longhorn Images Settings" + - variable: image.longhorn.instanceManager.repository +- default: longhornio/longhorn-instance-manager ++ default: rancher/mirrored-longhornio-longhorn-instance-manager + description: "Specify Longhorn Instance Manager Image Repository" + type: string + label: Longhorn Instance Manager Image Repository +@@ -59,7 +59,7 @@ + label: Longhorn Instance Manager Image Tag + group: "Longhorn Images Settings" + - variable: image.longhorn.shareManager.repository +- default: longhornio/longhorn-share-manager ++ default: rancher/mirrored-longhornio-longhorn-share-manager + description: "Specify Longhorn Share Manager Image Repository" + type: string + label: Longhorn Share Manager Image Repository +@@ -71,7 +71,7 @@ + label: Longhorn Share Manager Image Tag + group: "Longhorn Images Settings" + - variable: image.longhorn.backingImageManager.repository +- default: longhornio/backing-image-manager ++ default: rancher/mirrored-longhornio-backing-image-manager + description: "Specify Longhorn Backing Image Manager Image Repository" + type: string + label: Longhorn Backing Image Manager Image Repository +@@ -83,7 +83,7 @@ + label: Longhorn Backing Image Manager Image Tag + group: "Longhorn Images Settings" + - variable: image.csi.attacher.repository +- default: longhornio/csi-attacher ++ default: rancher/mirrored-longhornio-csi-attacher + description: "Specify CSI attacher image repository. Leave blank to autodetect." + type: string + label: Longhorn CSI Attacher Image Repository +@@ -95,7 +95,7 @@ + label: Longhorn CSI Attacher Image Tag + group: "Longhorn CSI Driver Images" + - variable: image.csi.provisioner.repository +- default: longhornio/csi-provisioner ++ default: rancher/mirrored-longhornio-csi-provisioner + description: "Specify CSI provisioner image repository. Leave blank to autodetect." + type: string + label: Longhorn CSI Provisioner Image Repository +@@ -107,7 +107,7 @@ + label: Longhorn CSI Provisioner Image Tag + group: "Longhorn CSI Driver Images" + - variable: image.csi.nodeDriverRegistrar.repository +- default: longhornio/csi-node-driver-registrar ++ default: rancher/mirrored-longhornio-csi-node-driver-registrar + description: "Specify CSI Node Driver Registrar image repository. Leave blank to autodetect." + type: string + label: Longhorn CSI Node Driver Registrar Image Repository +@@ -119,7 +119,7 @@ + label: Longhorn CSI Node Driver Registrar Image Tag + group: "Longhorn CSI Driver Images" + - variable: image.csi.resizer.repository +- default: longhornio/csi-resizer ++ default: rancher/mirrored-longhornio-csi-resizer + description: "Specify CSI Driver Resizer image repository. Leave blank to autodetect." + type: string + label: Longhorn CSI Driver Resizer Image Repository +@@ -131,7 +131,7 @@ + label: Longhorn CSI Driver Resizer Image Tag + group: "Longhorn CSI Driver Images" + - variable: image.csi.snapshotter.repository +- default: longhornio/csi-snapshotter ++ default: rancher/mirrored-longhornio-csi-snapshotter + description: "Specify CSI Driver Snapshotter image repository. Leave blank to autodetect." + type: string + label: Longhorn CSI Driver Snapshotter Image Repository diff --git a/packages/longhorn/longhorn-1.3/generated-changes/patch/values.yaml.patch b/packages/longhorn/longhorn-1.3/generated-changes/patch/values.yaml.patch new file mode 100644 index 000000000..5c43e433e --- /dev/null +++ b/packages/longhorn/longhorn-1.3/generated-changes/patch/values.yaml.patch @@ -0,0 +1,52 @@ +--- charts-original/values.yaml ++++ charts/values.yaml +@@ -8,38 +8,38 @@ + image: + longhorn: + engine: +- repository: longhornio/longhorn-engine ++ repository: rancher/mirrored-longhornio-longhorn-engine + tag: v1.3.0 + manager: +- repository: longhornio/longhorn-manager ++ repository: rancher/mirrored-longhornio-longhorn-manager + tag: v1.3.0 + ui: +- repository: longhornio/longhorn-ui ++ repository: rancher/mirrored-longhornio-longhorn-ui + tag: v1.3.0 + instanceManager: +- repository: longhornio/longhorn-instance-manager ++ repository: rancher/mirrored-longhornio-longhorn-instance-manager + tag: v1_20220611 + shareManager: +- repository: longhornio/longhorn-share-manager ++ repository: rancher/mirrored-longhornio-longhorn-share-manager + tag: v1_20220531 + backingImageManager: +- repository: longhornio/backing-image-manager ++ repository: rancher/mirrored-longhornio-backing-image-manager + tag: v3_20220609 + csi: + attacher: +- repository: longhornio/csi-attacher ++ repository: rancher/mirrored-longhornio-csi-attacher + tag: v3.4.0 + provisioner: +- repository: longhornio/csi-provisioner ++ repository: rancher/mirrored-longhornio-csi-provisioner + tag: v2.1.2 + nodeDriverRegistrar: +- repository: longhornio/csi-node-driver-registrar ++ repository: rancher/mirrored-longhornio-csi-node-driver-registrar + tag: v2.5.0 + resizer: +- repository: longhornio/csi-resizer ++ repository: rancher/mirrored-longhornio-csi-resizer + tag: v1.2.0 + snapshotter: +- repository: longhornio/csi-snapshotter ++ repository: rancher/mirrored-longhornio-csi-snapshotter + tag: v3.0.3 + pullPolicy: IfNotPresent +