From 0a8dca954ddeee0ec286bc37b014eb21a7e3d429 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 18 Jun 2024 18:10:27 +0300 Subject: [PATCH] fix(volsnc): unlock type --- .../common-test/tests/volsync/replication_src_spec_test.yaml | 5 +++++ library/common/Chart.yaml | 2 +- .../common/templates/class/volsync/_replicationSource.tpl | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/library/common-test/tests/volsync/replication_src_spec_test.yaml b/library/common-test/tests/volsync/replication_src_spec_test.yaml index 146ddeb9..757c3f7d 100644 --- a/library/common-test/tests/volsync/replication_src_spec_test.yaml +++ b/library/common-test/tests/volsync/replication_src_spec_test.yaml @@ -68,6 +68,7 @@ tests: weekly: 5 accessModes: - ReadWriteOnce + unlock: "20240617114552" moverSecurityContext: fsGroup: 568 runAsUser: 568 @@ -121,6 +122,7 @@ tests: weekly: 3 accessModes: - ReadWriteOnce + unlock: "20240617114552" moverSecurityContext: fsGroup: 568 runAsUser: 568 @@ -175,6 +177,7 @@ tests: weekly: 3 accessModes: - ReadWriteOnce + unlock: "20240617114552" storageClassName: somestorageclass moverSecurityContext: fsGroup: 568 @@ -230,6 +233,7 @@ tests: weekly: 3 accessModes: - ReadWriteOnce + unlock: "20240617114552" volumeSnapshotClassName: somevsc moverSecurityContext: fsGroup: 568 @@ -286,6 +290,7 @@ tests: weekly: 3 accessModes: - ReadWriteOnce + unlock: "20240617114552" storageClassName: somestorageclass volumeSnapshotClassName: somevsc moverSecurityContext: diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index 23c8a4a4..468fc6ac 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -15,7 +15,7 @@ maintainers: name: common sources: null type: library -version: 24.1.0 +version: 24.1.1 annotations: artifacthub.io/category: "integration-delivery" artifacthub.io/license: "BUSL-1.1" diff --git a/library/common/templates/class/volsync/_replicationSource.tpl b/library/common/templates/class/volsync/_replicationSource.tpl index e6a1f6ed..ded5e86e 100644 --- a/library/common/templates/class/volsync/_replicationSource.tpl +++ b/library/common/templates/class/volsync/_replicationSource.tpl @@ -55,7 +55,7 @@ spec: repository: {{ $volsyncData.repository }} copyMethod: {{ $volsyncData.copyMethod | default "Snapshot" }} pruneIntervalDays: {{ $volsyncData.src.pruneIntervalDays | default 7 }} - unlock: {{ now | date "20060102150405" }} + unlock: {{ now | date "20060102150405" | quote }} retain: hourly: {{ $retain.hourly }} daily: {{ $retain.daily }}