mittwald / kubernetes-secret-generator

Kubernetes controller for automatically generating and updating secrets
Apache License 2.0
330 stars 57 forks source link

Option to configure the default encoding for secrets #30

Closed lchdev closed 3 years ago

lchdev commented 3 years ago

Is your feature request related to a problem? Please describe. I am systematically using base64url encoding to avoid any potential issues with passwords sued in connexion URIs.

Describe the solution you'd like It would be nice to be able to configure the default encoding, in the same way we can configure the default secret length

Describe alternatives you've considered Currently, I must add the encoding annotation on each secret.

mittwald-machine commented 3 years ago

There has not been any activity to this issue in the last 30 days. It will automatically be closed after 7 more days. Remove the stale label to prevent this.

vbezhenar commented 2 years ago

Actually it seems that this option exists but not explicitly exposed with helm value. I changed it with the following helm configuration:

args:
  - --secret-encoding=base64url
secretLength: 24