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

copyCertificate should preserve file metadata #21

Open
ZTang813 opened this issue Aug 28, 2024 · 1 comment
Open

copyCertificate should preserve file metadata #21

ZTang813 opened this issue Aug 28, 2024 · 1 comment

Comments

@ZTang813
Copy link

Cert Manager currently creates a new file with the same content during Certificate::copyCertificate function but doesn’t preserve the file metadata(rid,uid,gid,rwx etc.) from the original file. It's a nice to have feature if both content and file metadata are preserved during the copy.

@mdmillerii
Copy link

Not sure what rid referrs to. real id? I wouldn't want cert manager playing setuid. I'd think uid and gid should be configured by collection. rwx should be restricted to user until relaxed.

But this sounds like a feature not a bug and should be proposed as a patch.

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

2 participants