File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed
config/local-development/tilt Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,4 @@ bundle/
2828bundle.Dockerfile
2929charts /
3030bundle * /
31+ config /local-development /tilt /replace-image.yaml
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ catalog-push: ## Push a catalog image.
210210helmchart : kustomize manifests
211211 mkdir -p ./charts/${OPERATOR_NAME} /templates
212212 mkdir -p ./charts/${OPERATOR_NAME} /crds
213+ repo=${OPERATOR_NAME} envsubst < ./config/local-development/tilt/env-replace-image.yaml > ./config/local-development/tilt/replace-image.yaml
213214 $(KUSTOMIZE ) build ./config/helmchart -o ./charts/${OPERATOR_NAME} /templates
214215 sed -i ' s/release-namespace/{{.Release.Namespace}}/' ./charts/${OPERATOR_NAME} /templates/* .yaml
215216 rm ./charts/${OPERATOR_NAME} /templates/v1_namespace_release-namespace.yaml ./charts/${OPERATOR_NAME} /templates/apps_v1_deployment_${OPERATOR_NAME} -controller-manager.yaml
Original file line number Diff line number Diff line change 11- op : replace
22 path : /spec/template/spec/containers/1/image
33 value :
4- quay.io/$REPO/patch-operator:latest
4+ quay.io/$repo/patch-operator:latest
5+ - op : add
6+ path : /spec/template/spec/containers/1/args/-
7+ value :
8+ --zap-devel=true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -390,6 +390,7 @@ export repo=raffaelespazzoli
390390docker login quay.io/$repo
391391oc new-project patch-operator
392392oc project patch-operator
393+ envsubst < config/local-development/tilt/env-replace-image.yaml > config/local-development/tilt/replace-image.yaml
393394tilt up
394395` ` `
395396
You can’t perform that action at this time.
0 commit comments