staert icon indicating copy to clipboard operation
staert copied to clipboard

Support environment variables source

Open serbrech opened this issue 8 years ago • 5 comments

Is there any plans to add Environment variables as a source?

pseudo code :

s := staert.NewStaert(command)
env := staert.NewEnvSource("PREFIX_")
s.AddSource(env)

serbrech avatar Dec 06 '17 15:12 serbrech

Related to #30

ldez avatar Dec 06 '17 15:12 ldez

Great, so... why was it not merged? :) Was it because it didn't use flaeg parsing? How do I pick this up?

serbrech avatar Dec 06 '17 15:12 serbrech

The contributor gave up. You can read this discussion https://traefik.slackarchive.io/dev/page-17/ts-1497598028679523 Come the Traefik community Slack channel in the channel #dev if you need to ask some questions about the design.

ldez avatar Dec 06 '17 15:12 ldez

Great, I'll pick this one up then :)

serbrech avatar Dec 06 '17 19:12 serbrech

Plan :

  • Implement https://github.com/containous/flaeg/issues/40
  • Pick https://github.com/containous/staert/pull/30 and finish it.

serbrech avatar Dec 08 '17 14:12 serbrech