From 796bf2357847522881e648456015a42572ae58b1 Mon Sep 17 00:00:00 2001 From: Jesse Nelson Date: Fri, 5 May 2023 11:34:28 -0500 Subject: [PATCH] Add regex for zstd levels Signed-off-by: Jesse Nelson Signed-off-by: Niladri Halder --- deploy/helm/charts/crds/zfsrestore.yaml | 2 +- deploy/helm/charts/crds/zfssnapshot.yaml | 2 +- deploy/helm/charts/crds/zfsvolume.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/helm/charts/crds/zfsrestore.yaml b/deploy/helm/charts/crds/zfsrestore.yaml index ffffb71..551af3f 100644 --- a/deploy/helm/charts/crds/zfsrestore.yaml +++ b/deploy/helm/charts/crds/zfsrestore.yaml @@ -100,7 +100,7 @@ spec: data. For instance, if the Volume was created with "off" and the next day the compression was modified to "on", the data written prior to setting "on" will not be compressed. Default Value: off.' - pattern: ^(on|off|lzjb|zstd|zstd-[1-9]|zstd-1[0-9]|gzip|gzip-[1-9]|zle|lz4)$ + pattern: ^(on|off|lzjb|zstd|zstd-1?[1-9]|gzip|gzip-[1-9]|zle|lz4)$ type: string dedup: description: 'Deduplication is the process for removing redundant diff --git a/deploy/helm/charts/crds/zfssnapshot.yaml b/deploy/helm/charts/crds/zfssnapshot.yaml index fb6a9af..c041350 100644 --- a/deploy/helm/charts/crds/zfssnapshot.yaml +++ b/deploy/helm/charts/crds/zfssnapshot.yaml @@ -69,7 +69,7 @@ spec: data. For instance, if the Volume was created with "off" and the next day the compression was modified to "on", the data written prior to setting "on" will not be compressed. Default Value: off.' - pattern: ^(on|off|lzjb|zstd|zstd-[1-9]|zstd-1[0-9]|gzip|gzip-[1-9]|zle|lz4)$ + pattern: ^(on|off|lzjb|zstd|zstd-1?[1-9]|gzip|gzip-[1-9]|zle|lz4)$ type: string dedup: description: 'Deduplication is the process for removing redundant diff --git a/deploy/helm/charts/crds/zfsvolume.yaml b/deploy/helm/charts/crds/zfsvolume.yaml index aeb00f5..184c765 100644 --- a/deploy/helm/charts/crds/zfsvolume.yaml +++ b/deploy/helm/charts/crds/zfsvolume.yaml @@ -95,7 +95,7 @@ spec: data. For instance, if the Volume was created with "off" and the next day the compression was modified to "on", the data written prior to setting "on" will not be compressed. Default Value: off.' - pattern: ^(on|off|lzjb|zstd|zstd-[1-9]|zstd-1[0-9]|gzip|gzip-[1-9]|zle|lz4)$ + pattern: ^(on|off|lzjb|zstd|zstd-1?[1-9]|gzip|gzip-[1-9]|zle|lz4)$ type: string dedup: description: 'Deduplication is the process for removing redundant