Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ prepare: manifests kustomize manager-kustomization
manager-kustomization: config/manager/kustomization.yaml.in
cd config/manager \
&& cp -f kustomization.yaml.in kustomization.yaml \
&& $(KUSTOMIZE) edit set image controller=$(IMG)
&& $(KUSTOMIZE) edit set image REPLACE_IMAGE=$(IMG)

.PHONY: install
install: prepare ## Install CRDs into the K8s cluster specified in ~/.kube/config.
Expand Down
3 changes: 0 additions & 3 deletions config/manager/kustomization.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ generatorOptions:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: REPLACE_IMAGE
3 changes: 2 additions & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ spec:
args:
- --leader-elect
- --operator-name=opendatahub
image: controller:latest
# NOTE: image is provided in CI by pullspec substitution, and by make/kustomize for local builds
image: REPLACE_IMAGE:latest
imagePullPolicy: Always
name: manager
ports:
Expand Down