Skip to content

Commit

Permalink
Merge pull request #8 from mikenairn/fix_image_tag
Browse files Browse the repository at this point in the history
Set default image
  • Loading branch information
mikenairn authored Feb 3, 2024
2 parents b889335 + 5413fbd commit a1a67b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
# This variable is used to construct full image tags for bundle and catalog images.
#
# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
# kuadrant.io/kuadrant-dns-operator-bundle:$VERSION and kuadrant.io/kuadrant-dns-operator-catalog:$VERSION.
IMAGE_TAG_BASE ?= kuadrant.io/kuadrant-dns-operator
# quay.io/kuadrant/kuadrant-dns-operator-bundle:$VERSION and quay.io/kuadrant/kuadrant-dns-operator-catalog:$VERSION.
IMAGE_TAG_BASE ?= quay.io/kuadrant/kuadrant-dns-operator

# BUNDLE_IMG defines the image:tag used for the bundle.
# You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=<some-registry>/<project-name-bundle>:<tag>)
Expand All @@ -51,7 +51,8 @@ endif
OPERATOR_SDK_VERSION ?= v1.33.0

# Image URL to use all building/pushing image targets
IMG ?= controller:latest
DEFAULT_IMG ?= $(IMAGE_TAG_BASE):latest
IMG ?= $(DEFAULT_IMG)
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.27.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2024-02-02T21:32:57Z"
createdAt: "2024-02-03T00:24:09Z"
operators.operatorframework.io/builder: operator-sdk-v1.33.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
name: kuadrant-dns-operator.v0.0.1
Expand Down Expand Up @@ -249,7 +249,7 @@ spec:
- --leader-elect
command:
- /manager
image: controller:latest
image: quay.io/kuadrant/kuadrant-dns-operator:latest
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: controller
newName: quay.io/kuadrant/kuadrant-dns-operator
newTag: latest

0 comments on commit a1a67b4

Please sign in to comment.