Replace incorrect {% end %} tags with {% endif %} in csi_crd templates (#7947)
parent
69b67a293a
commit
57063b6828
|
@ -62,7 +62,7 @@ spec:
|
|||
storage: false
|
||||
{% else %}
|
||||
storage: true
|
||||
{% end %}
|
||||
{% endif %}
|
||||
subresources: {}
|
||||
- additionalPrinterColumns:
|
||||
- jsonPath: .driver
|
||||
|
@ -82,7 +82,7 @@ spec:
|
|||
deprecated: true
|
||||
# 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"
|
||||
{% end %}
|
||||
{% endif %}
|
||||
schema:
|
||||
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
|
||||
|
@ -116,7 +116,7 @@ spec:
|
|||
storage: true
|
||||
{% else %}
|
||||
storage: false
|
||||
{% end %}
|
||||
{% endif %}
|
||||
subresources: {}
|
||||
status:
|
||||
acceptedNames:
|
||||
|
|
|
@ -47,7 +47,7 @@ spec:
|
|||
jsonPath: .spec.volumeSnapshotRef.namespace
|
||||
name: VolumeSnapshotNamespace
|
||||
type: string
|
||||
{% end %}
|
||||
{% endif %}
|
||||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
|
@ -159,7 +159,7 @@ spec:
|
|||
storage: false
|
||||
{% else %}
|
||||
storage: true
|
||||
{% end %}
|
||||
{% endif %}
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
|
@ -192,7 +192,7 @@ spec:
|
|||
jsonPath: .spec.volumeSnapshotRef.namespace
|
||||
name: VolumeSnapshotNamespace
|
||||
type: string
|
||||
{% end %}
|
||||
{% endif %}
|
||||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
|
@ -306,7 +306,7 @@ spec:
|
|||
storage: true
|
||||
{% else %}
|
||||
storage: false
|
||||
{% end %}
|
||||
{% endif %}
|
||||
subresources:
|
||||
status: {}
|
||||
status:
|
||||
|
|
|
@ -120,7 +120,7 @@ spec:
|
|||
storage: false
|
||||
{% else %}
|
||||
storage: true
|
||||
{% end %}
|
||||
{% endif %}
|
||||
subresources:
|
||||
status: {}
|
||||
- additionalPrinterColumns:
|
||||
|
@ -162,7 +162,7 @@ spec:
|
|||
deprecated: true
|
||||
# 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"
|
||||
{% end %}
|
||||
{% endif %}
|
||||
schema:
|
||||
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.
|
||||
|
@ -230,7 +230,7 @@ spec:
|
|||
storage: true
|
||||
{% else %}
|
||||
storage: false
|
||||
{% end %}
|
||||
{% endif %}
|
||||
subresources:
|
||||
status: {}
|
||||
status:
|
||||
|
|
Loading…
Reference in New Issue