Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant