Skip to content

Commit

Permalink
config - default to latest image
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianZaremba committed Jan 9, 2025
1 parent 4c276f7 commit 2949802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified

.PHONY: deploy
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
cd config/manager && $(KUSTOMIZE) edit set image ghcr.io/infrabits/namespace-secrets-patcher=${IMG}
$(KUSTOMIZE) build config/default | $(KUBECTL) apply -f -

.PHONY: undeploy
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
args:
- --leader-elect
- --health-probe-bind-address=:8081
image: controller:latest
image: ghcr.io/infrabits/namespace-secrets-patcher:latest
name: manager
securityContext:
allowPrivilegeEscalation: false
Expand Down

0 comments on commit 2949802

Please sign in to comment.