Merge pull request #96006 from serathius/datapolicy-volume

Add datapolicy tags to pkg/volume/
This commit is contained in:
Kubernetes Prow Robot 2020-11-06 06:22:50 -08:00 committed by GitHub
commit 512b7b75a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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
}

View File

@ -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

View File

@ -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