diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index 629ddbd333b4..8073f80aa434 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -569,8 +569,8 @@ type KubeUser struct { Name string `yaml:"name"` User struct { Username string `yaml:"username"` - Password string `yaml:"password"` - Token string `yaml:"token"` + Password string `yaml:"password" datapolicy:"password"` + Token string `yaml:"token" datapolicy:"token"` } `yaml:"user"` } diff --git a/test/e2e/framework/test_context.go b/test/e2e/framework/test_context.go index 51ac128a5ad6..4656f132abca 100644 --- a/test/e2e/framework/test_context.go +++ b/test/e2e/framework/test_context.go @@ -81,7 +81,7 @@ type TestContextType struct { KubeVolumeDir string CertDir string Host string - BearerToken string + BearerToken string `datapolicy:"token"` // TODO: Deprecating this over time... instead just use gobindata_util.go , see #23987. RepoRoot string DockershimCheckpointDir string