We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24ec0b3 commit ccaf5b9Copy full SHA for ccaf5b9
config/config.go
@@ -168,6 +168,7 @@ type AuthConfig struct {
168
// CRI proxy mode
169
EnableCRIKeychain bool `toml:"enable_cri_keychain"`
170
ImageServiceAddress string `toml:"image_service_address"`
171
+ EnableKeyring bool `toml:"enable_keyring"`
172
}
173
174
// Configure remote storage like container registry
config/global.go
@@ -43,6 +43,10 @@ func IsFusedevSharedModeEnabled() bool {
43
return globalConfig.DaemonMode == DaemonModeShared
44
45
46
+func IsKeyringEnabled() bool {
47
+ return globalConfig.origin.RemoteConfig.AuthConfig.EnableKeyring
48
+}
49
+
50
func GetDaemonMode() DaemonMode {
51
return globalConfig.DaemonMode
52
0 commit comments