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

[Feature/Enhancement] install.yml 应该允许设置全局环境变量 #1423

Closed
link89 opened this issue Sep 9, 2024 · 1 comment
Closed

Comments

@link89
Copy link
Contributor

link89 commented Sep 9, 2024

为何需要此功能 | Why is this needed

为了使用 ed25519 的 ssh key, 我需要对每个服务都设置以下环境变量:

SSH_PRIVATE_KEY_PATH=~/.ssh/id_ed25519
SSH_PUBLIC_KEY_PATH=~/.ssh/id_ed25519.pub

目前变没有机制可以支持这样的功能

希望增加什么 | What would you like to be added

install.yaml 中,用户可以设置一个名为 extraEnvs 的字典用于定义额外需要的环境变量。该环境变量会被追加到已有的环境中,从而避免手动设置每个服务的环境变量。

此功能为谁设计? | Who is this feature for?

scow 运维人员

ddadaal added a commit that referenced this issue Sep 10, 2024
@link89
Copy link
Contributor Author

link89 commented Sep 12, 2024

closed by #1422

@link89 link89 closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant