File tree 5 files changed +8
-9
lines changed
config/local-development/tilt
5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,4 @@ bundle/
28
28
bundle.Dockerfile
29
29
charts /
30
30
bundle * /
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.
210
210
helmchart : kustomize manifests
211
211
mkdir -p ./charts/${OPERATOR_NAME} /templates
212
212
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
213
214
$(KUSTOMIZE ) build ./config/helmchart -o ./charts/${OPERATOR_NAME} /templates
214
215
sed -i ' s/release-namespace/{{.Release.Namespace}}/' ./charts/${OPERATOR_NAME} /templates/* .yaml
215
216
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 1
1
- op : replace
2
2
path : /spec/template/spec/containers/1/image
3
3
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
390
390
docker login quay.io/$repo
391
391
oc new-project patch-operator
392
392
oc project patch-operator
393
+ envsubst < config/local-development/tilt/env-replace-image.yaml > config/local-development/tilt/replace-image.yaml
393
394
tilt up
394
395
` ` `
395
396
You can’t perform that action at this time.
0 commit comments