mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-09-30 05:01:10 +02:00
feat(registry): change the default registry from dockerhub to quay.io (#799)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user