use of org.eclipse.jkube.kit.build.api.auth.RegistryAuthConfig in project jkube by eclipse.
the class OpenShiftRegistryAuthHandlerTest method setup.
@Before
public void setup() {
log = new KitLogger.SilentLogger();
RegistryAuthConfig registryAuthConfig = RegistryAuthConfig.builder().skipExtendedAuthentication(false).propertyPrefix("docker").addHandlerConfig("openshift", OpenShiftRegistryAuthHandler.AUTH_USE_OPENSHIFT_AUTH, "true").build();
handler = new OpenShiftRegistryAuthHandler(registryAuthConfig, log);
}
use of org.eclipse.jkube.kit.build.api.auth.RegistryAuthConfig in project jkube by eclipse.
the class SystemPropertyRegistryAuthHandlerTest method setup.
@Before
public void setup() {
RegistryAuthConfig registryAuthConfig = RegistryAuthConfig.builder().skipExtendedAuthentication(false).propertyPrefix("jkube.docker").build();
handler = new SystemPropertyRegistryAuthHandler(registryAuthConfig, log);
}
Aggregations