Skip to content

Equivalent for kubectl set env #5598

Answered by Fasi27
Fasi27 asked this question in Q&A
Nov 17, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

i tried with edit:
the existing env with the same name was also there. Then i added: .removeMatchingFromEnv(envPre -> envPre.getName().equals("TEST_ENV_KEY")) in front of .addNewEnv() and it worked perfectly! Thanks!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Fasi27
Comment options

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