bitnami/sealed-secrets

Kubeseal: Add support for setting the controller name via an environment variable

開放

#1,748 建立於 2025年6月20日

 (6 則留言) (1 個反應) (0 位負責人)Go (771 個分叉)auto 404
documentationhelp wanted

倉庫指標

星標
 (9,222 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Which component: kubeseal

Is your feature request related to a problem? Please describe. I work in an environment where the decision was made to install sealed-secrets using non-default namespace, and controller name. Because of that, it's needed to always include the name of the controller on the command-line. It would be nice to have the possibility to set the controller name, just like the controller namespace using an environment variable.

Describe the solution you'd like Add the environment variable SEALED_SECRETS_CONTROLLER_NAME which is consumed by kubeseal to override the default controller name.

Describe alternatives you've considered An alternative is to make use of a shell alias to set the namespace, and controller name. However, it preferable to use the CLI directly, instead of via aliases, as these are not always available (one notorious example that I can think of is when you're invoking watch ...; although, not applicable to kubeseal, it highlights the limitation).

Additional context None

貢獻者指南