Skip to content

Commit

Permalink
Update kubestash
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Feb 1, 2024
1 parent a81b9dc commit 447a890
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 10 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ require (
kmodules.xyz/resource-metadata v0.18.2-0.20240105072614-e92a8a48d400
kmodules.xyz/webhook-runtime v0.29.1
kubeops.dev/sidekick v0.0.5-0.20231225214445-a15c70833046
kubestash.dev/apimachinery v0.4.0-rc.2
kubestash.dev/apimachinery v0.4.0
sigs.k8s.io/controller-runtime v0.17.0
sigs.k8s.io/yaml v1.4.0
stash.appscode.dev/apimachinery v0.32.1-0.20231225221320-6f5a8df2ab6e
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,8 @@ kmodules.xyz/webhook-runtime v0.29.1 h1:SQ8NvwJpxv5CUuXIubSg9g0Bk8BBnj4dhCWEk6Ou
kmodules.xyz/webhook-runtime v0.29.1/go.mod h1:WVgNO4NqFdYwYZ82L6QIycN1Ax47y+yXi7XIHekYylo=
kubeops.dev/sidekick v0.0.5-0.20231225214445-a15c70833046 h1:X1ieV+IXqNesmFwSH6NEVF1J2wO0vplC4k6v3Vmq0d0=
kubeops.dev/sidekick v0.0.5-0.20231225214445-a15c70833046/go.mod h1:XX6Vhw9EMmX9R8Y13AgaYDAsfeLZdTL8MzymTOAT0nY=
kubestash.dev/apimachinery v0.4.0-rc.2 h1:BSThxK1vQ0wp4JtO5HCVLvEqTP0TJuTqmEmeQOyK738=
kubestash.dev/apimachinery v0.4.0-rc.2/go.mod h1:ysktK/jLtv5SnFgyxmBZmSFDZmD03lFwEF/8bG/VoF8=
kubestash.dev/apimachinery v0.4.0 h1:FH4gS7hWwGeY0MdWyMwAZYF43xXj3q/dNlMApiVYPz4=
kubestash.dev/apimachinery v0.4.0/go.mod h1:ysktK/jLtv5SnFgyxmBZmSFDZmD03lFwEF/8bG/VoF8=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 h1:TgtAeesdhpm2SGwkQasmbeqDo8th5wOBA5h/AjTKA4I=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0/go.mod h1:VHVDI/KrK4fjnV61bE2g3sA7tiETLn8sooImelsCx3Y=
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions vendor/kubestash.dev/apimachinery/apis/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ const (

// RBAC related
const (
KubeStashBackupJobClusterRole = "kubestash-backup-job"
KubeStashRestoreJobClusterRole = "kubestash-restore-job"
KubeStashCronJobClusterRole = "kubestash-cron-job"
KubeStashBackendJobClusterRole = "kubestash-backend-job"
KubeStashBackendAccessorClusterRole = "kubestash-backend-accessor"
KubeStashPopulatorJobRole = "kubestash-populator-job"
KubeStashBackupJobClusterRole = "kubestash-backup-job"
KubeStashRestoreJobClusterRole = "kubestash-restore-job"
KubeStashCronJobClusterRole = "kubestash-cron-job"
KubeStashBackendJobClusterRole = "kubestash-backend-job"
KubeStashStorageInitializerClusterRole = "kubestash-storage-initializer-job"
KubeStashPopulatorJobClusterRole = "kubestash-populator-job"
)

// Reconciliation related
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ type S3Spec struct {
// SecretName specifies the name of the Secret that contains the access credential for this storage.
// +optional
SecretName string `json:"secretName,omitempty"`

// InsecureTLS controls whether a client should skip TLS certificate verification.
// Setting this field to true disables verification, which might be necessary in cases
// where the server uses self-signed certificates or certificates from an untrusted CA.
// Use this option with caution, as it can expose the client to man-in-the-middle attacks
// and other security risks. Only use it when absolutely necessary.
// +optional
InsecureTLS bool `json:"insecureTLS,omitempty"`
}

type GCSSpec struct {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4488,6 +4488,16 @@ spec:
description: Endpoint specifies the URL of the S3 or S3 compatible
storage bucket.
type: string
insecureTLS:
description: InsecureTLS controls whether a client should
skip TLS certificate verification. Setting this field to
true disables verification, which might be necessary in
cases where the server uses self-signed certificates or
certificates from an untrusted CA. Use this option with
caution, as it can expose the client to man-in-the-middle
attacks and other security risks. Only use it when absolutely
necessary.
type: boolean
prefix:
description: Prefix specifies a directory inside the bucket/container
where the data for this backend will be stored.
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ kmodules.xyz/webhook-runtime/admission/v1
## explicit; go 1.21.5
kubeops.dev/sidekick/apis/apps
kubeops.dev/sidekick/apis/apps/v1alpha1
# kubestash.dev/apimachinery v0.4.0-rc.2
# kubestash.dev/apimachinery v0.4.0
## explicit; go 1.21.5
kubestash.dev/apimachinery/apis
kubestash.dev/apimachinery/apis/addons/v1alpha1
Expand Down

0 comments on commit 447a890

Please sign in to comment.