Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot pass environment variables to read and write pods #38158

Open
onurmus opened this issue May 13, 2024 · 1 comment
Open

Cannot pass environment variables to read and write pods #38158

onurmus opened this issue May 13, 2024 · 1 comment
Labels
area/platform issues related to the platform community helm kubernetes team/deployments type/bug Something isn't working

Comments

@onurmus
Copy link

onurmus commented May 13, 2024

Helm Chart Version

0.53.3 and 0.64.388

What step the error happened?

During the Sync

Relevant information

Hi! I need to pass HTTP_PROXY environment variables to my connector during sync. I add the environment variables to extraEnv or env_vars for the worker, global, and all the other sections in values.yaml file. As a result, these variables are passed to check and discover pods but not passed to the orchestrator, read and write pods. I checked the environment variables using kubectl describe pod and also tried squid proxy. I expect to see these variables in all pods. Here is an example configuration for worker in values.yaml:

env_vars:
    JOB_DEFAULT_ENV_HTTP_PROXY: loremIpsum
    JOB_DEFAULT_ENV_HTTPS_PROXY: loremIpsum
    JOB_DEFAULT_ENV_NO_PROXY: loremIpsum
    JOB_DEFAULT_ENV_JAVA_TOOL_OPTIONS: loremIpsum
extraEnv:
    - name: JOB_DEFAULT_ENV_HTTP_PROXY
      value: loremIpsum
......

Relevant log output

No response

@ro8inmorgan
Copy link

I noticed too that the orchestrator pod doesn't pick up enviroment vars and so doesn't pass them on to the read and write pods. Currently searching if I can find anything about the orchestrator pod to pick up the vars, but no luck yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform community helm kubernetes team/deployments type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants