Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add datapolicy tags to pkg/volume/ #96006

Merged
merged 1 commit into from Nov 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/volume/cephfs/cephfs.go
Expand Up @@ -189,7 +189,7 @@ type cephfs struct {
mon []string
path string
id string
secret string
secret string `datapolicy:"token"`
secretFile string
readonly bool
mounter mount.Interface
Expand Down
2 changes: 1 addition & 1 deletion pkg/volume/glusterfs/glusterfs.go
Expand Up @@ -461,7 +461,7 @@ type provisionerConfig struct {
userKey string
secretNamespace string
secretName string
secretValue string
secretValue string `datapolicy:"token"`
clusterID string
gidMin int
gidMax int
Expand Down
2 changes: 1 addition & 1 deletion pkg/volume/iscsi/iscsi.go
Expand Up @@ -283,7 +283,7 @@ type iscsiDisk struct {
Iface string
chapDiscovery bool
chapSession bool
secret map[string]string
secret map[string]string `datapolicy:"token"`
InitiatorName string
plugin *iscsiPlugin
// Utility interface that provides API calls to the provider to attach/detach disks.
Expand Down
2 changes: 1 addition & 1 deletion pkg/volume/quobyte/quobyte.go
Expand Up @@ -49,7 +49,7 @@ type quobytePlugin struct {
// Quobyte API server and holds all information
type quobyteAPIConfig struct {
quobyteUser string
quobytePassword string
quobytePassword string `datapolicy:"password"`
quobyteAPIServer string
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/volume/rbd/rbd.go
Expand Up @@ -803,9 +803,9 @@ type rbdMounter struct {
Mon []string
ID string
Keyring string
Secret string
Secret string `datapolicy:"token"`
fsType string
adminSecret string
adminSecret string `datapolicy:"token"`
adminID string
mountOptions []string
imageFormat string
Expand Down
2 changes: 1 addition & 1 deletion pkg/volume/scaleio/sio_client.go
Expand Up @@ -61,7 +61,7 @@ type sioClient struct {
client *sio.Client
gateway string
username string
password string
password string `datapolicy:"password"`
insecure bool
certsEnabled bool
system *siotypes.System
Expand Down