Jaydee94 / kubeseal-webgui

This is a simple web ui for Bitnami Sealed Secrets.
Apache License 2.0
75 stars 19 forks source link

Key restrictions are preventing env variable secrets from being created. #190

Closed from-nibly closed 2 years ago

from-nibly commented 2 years ago

Describe the bug The restrictions on keys are too strict. Secret keys do not need to conform to dns rules. Secrets are often used to mount environment variables which when done correctly 100% of the characters break the restrictions. e.g.

MY_ENV_VARIABLE (upper case and underscores)

To Reproduce Steps to reproduce the behavior: Try to set the key of a secret to a value with upper case letters or underscores.

Expected behavior uppercase and underscores should be allowed. https://kubernetes.io/docs/concepts/configuration/secret/#restriction-names-data