Replace incorrect {% end %} tags with {% endif %} in csi_crd templates (#7947)

This commit is contained in:
jhchong92 2021-09-09 03:59:57 +08:00 committed by GitHub
parent 69b67a293a
commit 57063b6828
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View file

@ -62,7 +62,7 @@ spec:
storage: false storage: false
{% else %} {% else %}
storage: true storage: true
{% end %} {% endif %}
subresources: {} subresources: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- jsonPath: .driver - jsonPath: .driver
@ -82,7 +82,7 @@ spec:
deprecated: true deprecated: true
# This overrides the default warning returned to clients making v1beta1 API requests. # This overrides the default warning returned to clients making v1beta1 API requests.
deprecationWarning: "snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass" deprecationWarning: "snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass"
{% end %} {% endif %}
schema: schema:
openAPIV3Schema: openAPIV3Schema:
description: VolumeSnapshotClass specifies parameters that a underlying storage system uses when creating a volume snapshot. A specific VolumeSnapshotClass is used by specifying its name in a VolumeSnapshot object. VolumeSnapshotClasses are non-namespaced description: VolumeSnapshotClass specifies parameters that a underlying storage system uses when creating a volume snapshot. A specific VolumeSnapshotClass is used by specifying its name in a VolumeSnapshot object. VolumeSnapshotClasses are non-namespaced
@ -116,7 +116,7 @@ spec:
storage: true storage: true
{% else %} {% else %}
storage: false storage: false
{% end %} {% endif %}
subresources: {} subresources: {}
status: status:
acceptedNames: acceptedNames:

View file

@ -47,7 +47,7 @@ spec:
jsonPath: .spec.volumeSnapshotRef.namespace jsonPath: .spec.volumeSnapshotRef.namespace
name: VolumeSnapshotNamespace name: VolumeSnapshotNamespace
type: string type: string
{% end %} {% endif %}
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
@ -159,7 +159,7 @@ spec:
storage: false storage: false
{% else %} {% else %}
storage: true storage: true
{% end %} {% endif %}
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
@ -192,7 +192,7 @@ spec:
jsonPath: .spec.volumeSnapshotRef.namespace jsonPath: .spec.volumeSnapshotRef.namespace
name: VolumeSnapshotNamespace name: VolumeSnapshotNamespace
type: string type: string
{% end %} {% endif %}
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age
type: date type: date
@ -306,7 +306,7 @@ spec:
storage: true storage: true
{% else %} {% else %}
storage: false storage: false
{% end %} {% endif %}
subresources: subresources:
status: {} status: {}
status: status:

View file

@ -120,7 +120,7 @@ spec:
storage: false storage: false
{% else %} {% else %}
storage: true storage: true
{% end %} {% endif %}
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
@ -162,7 +162,7 @@ spec:
deprecated: true deprecated: true
# This overrides the default warning returned to clients making v1beta1 API requests. # This overrides the default warning returned to clients making v1beta1 API requests.
deprecationWarning: "snapshot.storage.k8s.io/v1beta1 VolumeSnapshot is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshot" deprecationWarning: "snapshot.storage.k8s.io/v1beta1 VolumeSnapshot is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshot"
{% end %} {% endif %}
schema: schema:
openAPIV3Schema: openAPIV3Schema:
description: VolumeSnapshot is a user's request for either creating a point-in-time snapshot of a persistent volume, or binding to a pre-existing snapshot. description: VolumeSnapshot is a user's request for either creating a point-in-time snapshot of a persistent volume, or binding to a pre-existing snapshot.
@ -230,7 +230,7 @@ spec:
storage: true storage: true
{% else %} {% else %}
storage: false storage: false
{% end %} {% endif %}
subresources: subresources:
status: {} status: {}
status: status: