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

feat: add container env prefix COM_ALIYUN_META_ENVS_ as custom metas. #275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Colstuwjx
Copy link

As the PR title said, this PR is going to add a handler for container envs which has prefix with COM_ALIYUN_META_ENVS_, those envs will be processed, and the name which trimmed the prefix would be the actual env name from docker container spec, and the value will be log-pilot container field name.

Since these envs are defined as container metas, I set the magic prefix name to COM_ALIYUN_META_ENVS_, it fixed #274 .

Thanks.

@Colstuwjx
Copy link
Author

@chenquanzhao It will be appreciated if you could take a review about this PR.

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

Successfully merging this pull request may close these issues.

log-pilot是否可以支持基于容器的env或者label自定义生成tags
1 participant