Skip to content

Commit

Permalink
Revendor
Browse files Browse the repository at this point in the history
Signed-off-by: Md. Ishtiaq Islam <[email protected]>
  • Loading branch information
ishtiaqhimel committed Nov 8, 2023
1 parent d97154a commit d8475dc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
13 changes: 13 additions & 0 deletions vendor/kubestash.dev/apimachinery/apis/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const (
KindReplicaSet = "ReplicaSet"
KindReplicationController = "ReplicationController"
KindJob = "Job"
KindVolumeSnapshot = "VolumeSnapshot"
)

const (
Expand All @@ -46,6 +47,8 @@ const (
PrefixUpload = "upload"
PrefixCleanup = "cleanup"
PrefixRetentionPolicy = "retentionpolicy"
PrefixPopulate = "populate"
PrefixPrime = "prime"
)

const (
Expand All @@ -55,6 +58,7 @@ const (
KubeStashUploaderComponent = "kubestash-uploader"
KubeStashCleanerComponent = "kubestash-cleaner"
KubeStashHookComponent = "kubestash-hook"
KubeStashPopulatorComponent = "kubestash-populator"
)

// Keys for offshoot labels
Expand Down Expand Up @@ -91,6 +95,7 @@ const (
KubeStashCronJobClusterRole = "kubestash-cron-job"
KubeStashBackendJobClusterRole = "kubestash-backend-job"
KubeStashBackendAccessorClusterRole = "kubestash-backend-accessor"
KubeStashPopulatorJobRole = "kubestash-populator-job"
)

// Reconciliation related
Expand Down Expand Up @@ -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"
)
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8475dc

Please sign in to comment.