airwallex / k8s-pod-restart-info-collector

Automated troubleshooting of Kubernetes Pods issues. Collect K8s pod restart reasons, logs, and events automatically.
314 stars 45 forks source link

[Feature Request] Support Existing Secret #2

Closed reefland closed 1 year ago

reefland commented 1 year ago

Within the values.yaml I would like to be able to reference a pre-existing secret to define my variables (I set them via a secrets manager for encryption/gitops). Something like how Grafana allows it:

existingSecret: "kube-prometheus-stack-grafana"

lucass4 commented 1 year ago

@able8 I can take this one if you are ok with it. This is the same scenario I have; hardcoding the slack URL is not an option.

able8 commented 1 year ago

You can take it. Thanks @lucass4 .