From 723c2d37cac685a5a94963a7aedce0208c046726 Mon Sep 17 00:00:00 2001 From: superflo22 Date: Fri, 11 Apr 2025 13:32:29 +0200 Subject: [PATCH] docker build deploy with gitea --- Dockerfile | 2 +- Makefile | 4 ++-- config/manager/kustomization.yaml | 4 ++-- config/manager/manager.yaml | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a48973e..3110e05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.22 AS builder +FROM golang:1.23 AS builder ARG TARGETOS ARG TARGETARCH diff --git a/Makefile b/Makefile index 82a1760..96f2bfe 100644 --- a/Makefile +++ b/Makefile @@ -50,9 +50,9 @@ endif # This is useful for CI or a project to utilize a specific version of the operator-sdk toolkit. OPERATOR_SDK_VERSION ?= unknown # Image URL to use all building/pushing image targets -IMG ?= controller:latest +IMG ?= git.mayers.cloud/superflo22/split-horizon-operator:dev # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. -ENVTEST_K8S_VERSION = 1.31.0 +ENVTEST_K8S_VERSION = 1.320 # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) ifeq (,$(shell go env GOBIN)) diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index ad13e96..120995f 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization images: - name: controller - newName: controller - newTag: latest + newName: git.mayers.cloud/superflo22/split-horizon-operator + newTag: dev diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 4ebebeb..677cdff 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -64,6 +64,7 @@ spec: - --leader-elect - --health-probe-bind-address=:8081 image: controller:latest + imagePullPolicy: Always name: manager securityContext: allowPrivilegeEscalation: false