projectsyn / lieutenant-api

The Project Syn Kubernetes Cluster and Tenants Inventory API
https://docs.syn.tools/lieutenant-api/
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Make repoTemplate secret configurable #40

Closed tobru closed 4 years ago

tobru commented 4 years ago

The secret name used for the repoTemplate is hardcoded in https://github.com/projectsyn/lieutenant-api/blob/master/pkg/api/utils.go#L193. Either make it configurable (Environment variable) or change the default to not include the name "VSHN".

tobru commented 4 years ago

After some discussions: This isn't the solution. It needs more details to be worked out. Another issue follows.