forked from rook/rook
userSecretRef and passwordSecretRef fields are added to allow the Kafka endpoint username and password to be supplied from a Kubernetes Secret, rather than exposed as plaintext as part of the endpoint URI. If the endpoint URI has HTTP basic auth user-id and user-pass components, they are overridden by userSecretRef and passwordSecretRef. Squid added bucket topic attributes for configuring the user-name and password for pushing notifications to Kafka as an alternative to encoding credentials into the URI. However, these attributes are not supported under Reef. Thus, this initial implementation relies on URI mangling for compatible with both Reef and Squid. Future work could using Ceph version detection and switch to the new attributes to be used with Squid and/or the implementation could be converted exclusively to use the new attributes once Rook has dropped support for Reef. Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
210 lines
9.8 KiB
AMPL
210 lines
9.8 KiB
AMPL
module github.com/rook/rook
|
|
|
|
go 1.23.0
|
|
|
|
toolchain go1.23.4
|
|
|
|
replace (
|
|
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.1
|
|
github.com/kubernetes-incubator/external-storage => github.com/libopenstorage/external-storage v0.20.4-openstorage-rc3
|
|
|
|
// TODO: remove this replace once https://github.com/libopenstorage/secrets/pull/83 is merged
|
|
github.com/libopenstorage/secrets => github.com/rook/secrets v0.0.0-20240315053144-3195f6906937
|
|
github.com/portworx/sched-ops => github.com/portworx/sched-ops v0.20.4-openstorage-rc3
|
|
github.com/rook/rook/pkg/apis => ./pkg/apis
|
|
)
|
|
|
|
require (
|
|
github.com/IBM/keyprotect-go-client v0.15.1
|
|
github.com/aws/aws-sdk-go v1.55.6
|
|
github.com/aws/aws-sdk-go-v2/config v1.29.4
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.17.57
|
|
github.com/aws/aws-sdk-go-v2/service/sns v1.34.3
|
|
github.com/aws/smithy-go v1.22.2
|
|
github.com/banzaicloud/k8s-objectmatcher v1.8.0
|
|
github.com/ceph/ceph-csi-operator/api v0.0.0-20241211130321-1c8ad98a7d6e
|
|
github.com/ceph/ceph-csi/api v0.0.0-20241216133622-88b7e0d6684f
|
|
github.com/ceph/go-ceph v0.32.0
|
|
github.com/coreos/pkg v0.0.0-20240122114842-bbd7aa9bf6fb
|
|
github.com/csi-addons/kubernetes-csi-addons v0.12.0
|
|
github.com/gemalto/kmip-go v0.0.10
|
|
github.com/go-ini/ini v1.67.0
|
|
github.com/google/go-cmp v0.7.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/hashicorp/vault/api v1.16.0
|
|
github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.7.6
|
|
github.com/kube-object-storage/lib-bucket-provisioner v0.0.0-20221122204822-d1a8c34382f1
|
|
github.com/libopenstorage/secrets v0.0.0-20240416031220-a17cf7f72c6c
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.81.0
|
|
github.com/prometheus-operator/prometheus-operator/pkg/client v0.81.0
|
|
github.com/rook/rook/pkg/apis v0.0.0-20241216163035-3170ac6a0c58
|
|
github.com/sethvargo/go-password v0.3.1
|
|
github.com/spf13/cobra v1.9.1
|
|
github.com/spf13/pflag v1.0.6
|
|
github.com/stretchr/testify v1.10.0
|
|
github.com/sykesm/zap-logfmt v0.0.4
|
|
go.uber.org/automaxprocs v1.6.0
|
|
go.uber.org/zap v1.27.0
|
|
golang.org/x/sync v0.13.0
|
|
gopkg.in/ini.v1 v1.67.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
k8s.io/api v0.32.3
|
|
k8s.io/apiextensions-apiserver v0.32.3
|
|
k8s.io/apimachinery v0.32.3
|
|
k8s.io/cli-runtime v0.32.3
|
|
k8s.io/client-go v0.32.3
|
|
k8s.io/cloud-provider v0.32.3
|
|
k8s.io/utils v0.0.0-20241210054802-24370beab758
|
|
sigs.k8s.io/controller-runtime v0.20.3
|
|
sigs.k8s.io/mcs-api v0.1.0
|
|
sigs.k8s.io/yaml v1.4.0
|
|
)
|
|
|
|
require (
|
|
emperror.dev/errors v0.8.1 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.16.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets v0.12.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect
|
|
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.3.2 // indirect
|
|
github.com/ansel1/merry v1.8.0 // indirect
|
|
github.com/ansel1/merry/v2 v2.2.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2 v1.36.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.27 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.12 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.24.14 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.13 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.33.12 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/blang/semver/v4 v4.0.0 // indirect
|
|
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/containernetworking/cni v1.2.3 // indirect
|
|
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
|
|
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
|
|
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
|
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
|
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
|
|
github.com/gemalto/flume v0.13.1 // indirect
|
|
github.com/go-errors/errors v1.5.1 // indirect
|
|
github.com/go-jose/go-jose/v4 v4.0.5 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/zapr v1.3.0 // indirect
|
|
github.com/go-openapi/jsonpointer v0.21.0 // indirect
|
|
github.com/go-openapi/jsonreference v0.21.0 // indirect
|
|
github.com/go-openapi/swag v0.23.0 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
|
github.com/google/btree v1.1.3 // indirect
|
|
github.com/google/gnostic-models v0.6.9 // indirect
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/gorilla/websocket v1.5.3 // indirect
|
|
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
|
|
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
|
|
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect
|
|
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
|
|
github.com/hashicorp/go-sockaddr v1.0.7 // indirect
|
|
github.com/hashicorp/hcl v1.0.1-vault-7 // indirect
|
|
github.com/hashicorp/vault/api/auth/approle v0.8.0 // indirect
|
|
github.com/hashicorp/vault/api/auth/kubernetes v0.8.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/klauspost/compress v1.17.11 // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
|
|
github.com/mailru/easyjson v0.9.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/moby/spdystream v0.5.0 // indirect
|
|
github.com/moby/term v0.5.0 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
|
github.com/openshift/api v0.0.0-20241216151652-de9de05a8e43 // indirect
|
|
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/portworx/sched-ops v1.20.4-rc1 // indirect
|
|
github.com/prometheus/client_golang v1.20.5 // indirect
|
|
github.com/prometheus/client_model v0.6.1 // indirect
|
|
github.com/prometheus/common v0.61.0 // indirect
|
|
github.com/prometheus/procfs v0.15.1 // indirect
|
|
github.com/ryanuber/go-glob v1.0.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
|
github.com/stretchr/objx v0.5.2 // indirect
|
|
github.com/x448/float16 v0.8.4 // indirect
|
|
github.com/xlab/treeprint v1.2.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
golang.org/x/crypto v0.36.0 // indirect
|
|
golang.org/x/net v0.38.0 // indirect
|
|
golang.org/x/oauth2 v0.27.0 // indirect
|
|
golang.org/x/sys v0.31.0 // indirect
|
|
golang.org/x/term v0.30.0 // indirect
|
|
golang.org/x/text v0.23.0 // indirect
|
|
golang.org/x/time v0.9.0 // indirect
|
|
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
|
|
google.golang.org/protobuf v1.36.5 // indirect
|
|
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
k8s.io/klog/v2 v2.130.1 // indirect
|
|
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect
|
|
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
|
|
sigs.k8s.io/kustomize/api v0.18.0 // indirect
|
|
sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
|
|
)
|
|
|
|
exclude (
|
|
// exclude goproxy versions with security bugs
|
|
github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e
|
|
github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153
|
|
github.com/elazarl/goproxy v0.0.0-20181111060418-2ce16c963a8a
|
|
github.com/kubernetes-incubator/external-storage v0.20.4-openstorage-rc2
|
|
// Exclude pre-go-mod kubernetes tags, because they are older
|
|
// than v0.x releases but are picked when updating dependencies.
|
|
k8s.io/client-go v1.4.0
|
|
k8s.io/client-go v1.5.0
|
|
k8s.io/client-go v1.5.1
|
|
k8s.io/client-go v1.5.2
|
|
k8s.io/client-go v2.0.0-alpha.1+incompatible
|
|
k8s.io/client-go v2.0.0+incompatible
|
|
k8s.io/client-go v3.0.0-beta.0+incompatible
|
|
k8s.io/client-go v3.0.0+incompatible
|
|
k8s.io/client-go v4.0.0-beta.0+incompatible
|
|
k8s.io/client-go v4.0.0+incompatible
|
|
k8s.io/client-go v5.0.0+incompatible
|
|
k8s.io/client-go v5.0.1+incompatible
|
|
k8s.io/client-go v6.0.0+incompatible
|
|
k8s.io/client-go v7.0.0+incompatible
|
|
k8s.io/client-go v8.0.0+incompatible
|
|
k8s.io/client-go v9.0.0-invalid+incompatible
|
|
k8s.io/client-go v9.0.0+incompatible
|
|
k8s.io/client-go v10.0.0+incompatible
|
|
k8s.io/client-go v11.0.0+incompatible
|
|
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
|
|
k8s.io/client-go v12.0.0+incompatible
|
|
)
|