diff --git a/Makefile b/Makefile index 7da6683..ef25996 100644 --- a/Makefile +++ b/Makefile @@ -169,7 +169,7 @@ docker-build: ## Build docker image with the manager. --build-arg GIT_TAG_COMMIT=$(GIT_TAG_COMMIT) \ --build-arg GIT_MODIFIED=$(GIT_MODIFIED) \ --build-arg GIT_REPO=$(GIT_REPO) \ - --build-arg GIT_LAST_TAG=$(VERSION) \ + --build-arg GIT_LAST_TAG=v$(VERSION) \ --build-arg BUILD_DATE=$(BUILD_DATE) docker-push: ## Push docker image with the manager. diff --git a/cmd/manager/cmd.go b/cmd/manager/cmd.go index 6031e6b..38d988e 100644 --- a/cmd/manager/cmd.go +++ b/cmd/manager/cmd.go @@ -248,7 +248,7 @@ func NewCmd(scheme *runtime.Scheme) *cobra.Command { cmd.Flags().StringVar(&tmpDirectory, "tmp-directory", "/tmp/kamaji", "Directory which will be used to work with temporary files.") cmd.Flags().StringVar(&kineImage, "kine-image", "rancher/kine:v0.9.2-amd64", "Container image along with tag to use for the Kine sidecar container (used only if etcd-storage-type is set to one of kine strategies).") cmd.Flags().StringVar(&datastore, "datastore", "etcd", "The default DataStore that should be used by Kamaji to setup the required storage.") - cmd.Flags().StringVar(&migrateJobImage, "migrate-image", fmt.Sprintf("clastix/kamaji:v%s", internal.GitTag), "Specify the container image to launch when a TenantControlPlane is migrated to a new datastore.") + cmd.Flags().StringVar(&migrateJobImage, "migrate-image", fmt.Sprintf("clastix/kamaji:%s", internal.GitTag), "Specify the container image to launch when a TenantControlPlane is migrated to a new datastore.") cmd.Flags().IntVar(&maxConcurrentReconciles, "max-concurrent-tcp-reconciles", 1, "Specify the number of workers for the Tenant Control Plane controller (beware of CPU consumption)") cmd.Flags().StringVar(&managerNamespace, "pod-namespace", os.Getenv("POD_NAMESPACE"), "The Kubernetes Namespace on which the Operator is running in, required for the TenantControlPlane migration jobs.") cmd.Flags().StringVar(&managerServiceName, "webhook-service-name", "kamaji-webhook-service", "The Kamaji webhook server Service name which is used to get validation webhooks, required for the TenantControlPlane migration jobs.")