Closed mikeshng closed 1 month ago
It's weird that the --switch-context
is not available in v0.20.1, because it's been introduced in v0.20.0 :thinking:
I just upgraded from v0.20.0 to v0.20.1 to see the switch being gone.
@jannfis if you have some cycles, could you PTAL again? I want to add some ocm-io addon steps to this doc and I want to avoid having to deal with conflicts.
Sure, sorry for the delay @mikeshng. I was wondering about the impact of removing --switch-context
without any replacement. I think we had to either switch back context manually, or use --connect=false
.
Let me run a quick test.
OK, it seems to still work as expected.
I've tried to setup the demo/dev env and encountered a few issues. This PR is to address those issues:
1) When I ran the
setup-vcluster-env.sh
script, got the following error:switch-context
is no longer a valid flag forvcluster create
in vcluster version 0.20.1 stable and there are no similar replacement flags. After I removed the flag, the script ran fine and ultimately the demo/dev env setup was successful so for now I think it's safe to remove this flag.2) When I ran the
start-*
scripts, I got the following error:The pipefail option seems to be a bash specific feature. I've added the bash shebang in this PR. Also added the set x to
start-agent-autonomous.sh
to be consistent with the other start scripts.3) misc demo README fixes for consistency.