Open lubosmj opened 5 days ago
Feel free to close in favour of https://github.com/pulp/pulp-oci-images/pull/645.
On pulp-operator we are allowing users to provide their own key (through a k8s Secret) or, if the Secret is not provided, the operator will generate a random key: https://github.com/pulp/pulp-operator/pull/1052/files#diff-767e3ed424408b65414c799c6f9a6e12cc8584cd7433b449f0e716e3022a2bbf
maybe we could follow a similar approach in pulp-oci-images, like generating a random key during container startup and/or allowing users to provide their own key (through an env var, for example).
This value is expected to be overwritten by a user. However, it is not mentioned in the docs and it does not work out of the box
Steps to reproduce the behaviour:
Additional context
https://docs.djangoproject.com/en/5.0/ref/settings/#secret-key https://pulpproject.org/pulpcore/docs/admin/reference/settings/?h=secret_key#secret_key