When enabling GitOps, the KOTS Admin Console will push the rendered application manifests to the configured git repository.
Application manifests often contain secrets and sensitive information that should not be commited to git.
KOTS 1.18 introduces an integration with SealedSecrets to encrypt secrets before commiting.
This integration is currently alpha and subject to change in future releases of KOTS.
To enable this integration, a Secret with specific labels must be deployed to the same namespace as the Admin Console.
This secret must contain the SealedSecrets public key and will be used by KOTS to replace all Secret objects created by the application and by the Admin Console.
This secret should be manually deployed to the same namespace as the KOTS Admin Console.
There is currently no way to automate or use the Admin Console UI to configure this functionality.
The secret can be named anything unique that does not conflict with application secrets.
The labels in this example YAML are important and must remain.
namespace: <same as kots>
cert.pem: <sealed secret public key, base64 encoded>