Skip to content

How to configure local process environment variables from env.envFrom.configMapRef? #2026

Answered by aviramha
kyfk asked this question in Q&A
Discussion options

You must be logged in to vote

@kyfk I'm pretty sure the issue is that mirrord chooses first container if not explicitly specified (while it ignores mesh containers by default).
You can choose the game-server container, which I think is your desired target like this:
mirrord exec -c --target-namespace abc --target pod/abc-ns8wq-xkptj/container/game-server go run cmd/abc/main.go

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@kyfk
Comment options

@aviramha
Comment options

@kyfk
Comment options

@aviramha
Comment options

Answer selected by kyfk
@kyfk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants