Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Pass job namespace to migrator (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
wozniakjan authored Jan 6, 2022
1 parent 6337caf commit c4f6bb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions deploy/chart/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ spec:
# command: ["cleaner"]
image: {{.Values.image.repository}}:{{.Values.image.tag}}
imagePullPolicy: Always
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
4 changes: 2 additions & 2 deletions deploy/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -e

cleaner sbu-prepare

sap-btp-service-operator-migration run
sap-btp-service-operator-migration -namespace ${POD_NAMESPACE} run

cleaner final-clean
cleaner final-clean

0 comments on commit c4f6bb2

Please sign in to comment.