Skip to content

Commit f79c35e

Browse files
Add OPERATOR_NAME env var in .generated files for operator
As part of one of the recent changes #222 we added a new env var OPERATOR_NAME. After switching the context this env var was correctly populated in the generated files `context.env` and `context.export.env` but it was not being populated in the other generated files (`context.operator.env` and `context.operator.export.env`). This commit fixes that.
1 parent 69415eb commit f79c35e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/dev/print_operator_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ READINESS_PROBE_IMAGE=\"${READINESS_PROBE_IMAGE}\"
4040
MDB_SEARCH_COMMUNITY_VERSION=\"${MDB_SEARCH_COMMUNITY_VERSION}\"
4141
MDB_SEARCH_COMMUNITY_NAME=\"${MDB_SEARCH_COMMUNITY_NAME}\"
4242
MDB_SEARCH_COMMUNITY_REPO_URL=\"${MDB_SEARCH_COMMUNITY_REPO_URL}\"
43+
OPERATOR_NAME=\"${OPERATOR_NAME}\"
4344
"
4445

4546
if [[ "${AGENT_IMAGE:-}" != "" ]]; then

0 commit comments

Comments
 (0)