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

fill s3 tags before copying to log env #1031

Merged
merged 3 commits into from
Oct 9, 2024
Merged

Conversation

FxKu
Copy link
Member

@FxKu FxKu commented Oct 9, 2024

When executing the upload command manually inside the pod the tagging works:
envdir "/run/etc/log.d/env" /scripts/upload_pg_log_to_s3.py

But seems that crontab only sees the variables which we copy. It will set tags with key found in LOG_S3_TAGS, but values will be None.

Therefore, we have to fill out the dict before copying it to the log env.

@FxKu FxKu added the bugfix Bug fixes and patches, e.g. fixing of a production issue that is affecting the customer experience. label Oct 9, 2024
@idanovinda
Copy link
Member

👍

1 similar comment
@FxKu
Copy link
Member Author

FxKu commented Oct 9, 2024

👍

@FxKu FxKu merged commit 618f7af into zalando:master Oct 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bug fixes and patches, e.g. fixing of a production issue that is affecting the customer experience.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants