feat(registry): change the default registry from dockerhub to quay.io (#799)

This commit is contained in:
Luigi Operoso
2023-03-07 00:08:33 +01:00
committed by GitHub
parent 1adaf00ca7
commit cd2efd6722
14 changed files with 39 additions and 35 deletions
@@ -285,7 +285,7 @@ func (bar *BackupAndRestore) StopBackupTrigger() {
triggers.stop(bar.logger, bar.Configuration.Jenkins.Namespace, bar.Configuration.Jenkins.Name)
}
//IsBackupTriggerEnabled returns true if the backup trigger is enabled
// IsBackupTriggerEnabled returns true if the backup trigger is enabled
func (bar *BackupAndRestore) IsBackupTriggerEnabled() bool {
_, enabled := triggers.get(bar.Configuration.Jenkins.Namespace, bar.Configuration.Jenkins.Name)
return enabled
+1 -1
View File
@@ -27,7 +27,7 @@ func UpdateRoute(actual routev1.Route, jenkins *v1alpha2.Jenkins) routev1.Route
return actual
}
//IsRouteAPIAvailable tells if the Route API is installed and discoverable
// IsRouteAPIAvailable tells if the Route API is installed and discoverable
func IsRouteAPIAvailable(clientSet *kubernetes.Clientset) bool {
if routeAPIChecked {
return isRouteAPIAvailable
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"k8s.io/apimachinery/pkg/util/intstr"
)
//ServiceKind the kind name for Service
// ServiceKind the kind name for Service
const ServiceKind = "Service"
// UpdateService returns new service with override fields from config