mittwald / kubernetes-secret-generator

Kubernetes controller for automatically generating and updating secrets
Apache License 2.0
329 stars 56 forks source link

Ability to specify the kubernetes secret type #78

Closed lchdev closed 2 years ago

lchdev commented 2 years ago

The generated secrets are always of type: Opaque.

It would be nice if the generated secret is of appropriate type, especially for BasicAuth (type: kubernetes.io/basic-auth) and SSHKeyPair (type: kubernetes.io/ssh-auth). See https://kubernetes.io/docs/concepts/configuration/secret/#secret-types for the list of built-in types.

Ideally, the secret type should be fully configurable through annotation/CR spec.

Some third party tools require the Kubernetes secrets to be of a specific type, preventing the use of this generator in that case.

mittwald-machine commented 2 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.