From d8475dcbaf17b143b8606c785d86ef4be0a69a70 Mon Sep 17 00:00:00 2001 From: "Md. Ishtiaq Islam" Date: Wed, 8 Nov 2023 15:54:56 +0600 Subject: [PATCH] Revendor Signed-off-by: Md. Ishtiaq Islam --- go.mod | 2 +- go.sum | 4 ++-- vendor/kubestash.dev/apimachinery/apis/constant.go | 13 +++++++++++++ vendor/modules.txt | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 4b32d657..5b5a6ed5 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( k8s.io/utils v0.0.0-20220823124924-e9cbc92d1a73 kmodules.xyz/client-go v0.25.39 kmodules.xyz/offshoot-api v0.25.5-0.20231004063620-dff8fb030d57 - kubestash.dev/apimachinery v0.2.0-rc.0.0.20231106094647-f09196c5f311 + kubestash.dev/apimachinery v0.2.0-rc.0.0.20231108063428-1f77f295ab66 sigs.k8s.io/controller-runtime v0.13.1 ) diff --git a/go.sum b/go.sum index 2f0af5a5..10b96895 100644 --- a/go.sum +++ b/go.sum @@ -1068,8 +1068,8 @@ kmodules.xyz/offshoot-api v0.25.5-0.20231004063620-dff8fb030d57 h1:4ld/ujZum5JX6 kmodules.xyz/offshoot-api v0.25.5-0.20231004063620-dff8fb030d57/go.mod h1:PUk4EuJFhhyQykCflHj7EgXcljGIqs9vi0IN0RpxtY4= kmodules.xyz/prober v0.25.0 h1:R5uRLHJEvEtEoogj+vaTAob0Btph6+PX5IlS6hPh8PA= kmodules.xyz/prober v0.25.0/go.mod h1:z4RTnjaajNQa/vPltsiOnO3xI716I/ziD2ac2Exm+1M= -kubestash.dev/apimachinery v0.2.0-rc.0.0.20231106094647-f09196c5f311 h1:YDbyAfi0Lp2XSiPOCjWZtTa3X7821mS2n64wuM6N5eE= -kubestash.dev/apimachinery v0.2.0-rc.0.0.20231106094647-f09196c5f311/go.mod h1:zs0n13jnropI1rlNlFp0eWywKwa44YefeS4/JZo2QGY= +kubestash.dev/apimachinery v0.2.0-rc.0.0.20231108063428-1f77f295ab66 h1:74EzeYcuF3Kt/I1LpdxrR+sBB8Lgw2VvvuPk9DJjC4I= +kubestash.dev/apimachinery v0.2.0-rc.0.0.20231108063428-1f77f295ab66/go.mod h1:zs0n13jnropI1rlNlFp0eWywKwa44YefeS4/JZo2QGY= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/vendor/kubestash.dev/apimachinery/apis/constant.go b/vendor/kubestash.dev/apimachinery/apis/constant.go index 9335e0cc..deaf656d 100644 --- a/vendor/kubestash.dev/apimachinery/apis/constant.go +++ b/vendor/kubestash.dev/apimachinery/apis/constant.go @@ -38,6 +38,7 @@ const ( KindReplicaSet = "ReplicaSet" KindReplicationController = "ReplicationController" KindJob = "Job" + KindVolumeSnapshot = "VolumeSnapshot" ) const ( @@ -46,6 +47,8 @@ const ( PrefixUpload = "upload" PrefixCleanup = "cleanup" PrefixRetentionPolicy = "retentionpolicy" + PrefixPopulate = "populate" + PrefixPrime = "prime" ) const ( @@ -55,6 +58,7 @@ const ( KubeStashUploaderComponent = "kubestash-uploader" KubeStashCleanerComponent = "kubestash-cleaner" KubeStashHookComponent = "kubestash-hook" + KubeStashPopulatorComponent = "kubestash-populator" ) // Keys for offshoot labels @@ -91,6 +95,7 @@ const ( KubeStashCronJobClusterRole = "kubestash-cron-job" KubeStashBackendJobClusterRole = "kubestash-backend-job" KubeStashBackendAccessorClusterRole = "kubestash-backend-accessor" + KubeStashPopulatorJobRole = "kubestash-populator-job" ) // Reconciliation related @@ -131,3 +136,11 @@ const ( OperatorContainer = "operator" KubeStashContainer = "kubestash" ) + +// Volume populator related constants +const ( + PopulatorKey = "populator.kubestash.com" + KeyPopulatedFrom = PopulatorKey + "/populated-from" + KeyAppName = PopulatorKey + "/app-name" + KubeStashPopulatorContainer = "kubestash-populator" +) diff --git a/vendor/modules.txt b/vendor/modules.txt index 1d7b474c..78b56ed6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -822,7 +822,7 @@ kmodules.xyz/offshoot-api/api/v1 # kmodules.xyz/prober v0.25.0 ## explicit; go 1.18 kmodules.xyz/prober/api/v1 -# kubestash.dev/apimachinery v0.2.0-rc.0.0.20231106094647-f09196c5f311 +# kubestash.dev/apimachinery v0.2.0-rc.0.0.20231108063428-1f77f295ab66 ## explicit; go 1.20 kubestash.dev/apimachinery/apis kubestash.dev/apimachinery/apis/config/v1alpha1