mirror of
https://github.com/lukaszraczylo/kubernetes-images-sync-operator.git
synced 2026-06-23 02:11:17 +00:00
Clean up the code and basic improvements.
This commit is contained in:
@@ -10,10 +10,10 @@ import (
|
||||
var BACKUP_JOB_IMAGE string
|
||||
|
||||
func init() {
|
||||
BACKUP_JOB_IMAGE = os.Getenv("WORKER_IMAGE")
|
||||
if BACKUP_JOB_IMAGE == "" {
|
||||
BACKUP_JOB_IMAGE = "ghcr.io/lukaszraczylo/kubernetes-images-sync-worker:latest" // fallback
|
||||
}
|
||||
BACKUP_JOB_IMAGE = os.Getenv("WORKER_IMAGE")
|
||||
if BACKUP_JOB_IMAGE == "" {
|
||||
BACKUP_JOB_IMAGE = "ghcr.io/lukaszraczylo/kubernetes-images-sync-worker:0.5.54" // fallback to known stable version
|
||||
}
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user