• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bakito / kubexporter / 16472810889

23 Jul 2025 01:59PM UTC coverage: 40.07% (-1.4%) from 41.513%
16472810889

Pull #615

github

soukron
feat: add encrypt command for Secrets

- Add new encrypt command that encripta los campos data y stringData de los Secrets
- Reuse existing EncryptFields logic from export process
- Add comprehensive tests for both encrypt and decrypt commands
- Support same parameters as decrypt command (--aes-key and env var)
- Only encrypt Secret resources with data/stringData fields
- Improve doEncrypt function to avoid re-encrypting already encrypted values

The encrypt command provides the inverse functionality to decrypt,
allowing users to encrypt previously exported Secret files using
the same configuration and logic as the export process.
Pull Request #615: feat: add encrypt command for Secrets

7 of 55 new or added lines in 1 file covered. (12.73%)

456 of 1138 relevant lines covered (40.07%)

0.47 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

39.87
/pkg/types/encrypted.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc