-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Environment variables propagation and mapping feature from ARGOCD_ENV_{VARIABLE} to {VARIABLE} #608
Conversation
fixes #607 |
First implementation to validate the concept. |
I don't think what you've done here will work as you're expecting.
What I'd have probably implemented is a new parameter (which you weirdly can specify through environment variables) to transfer a bunch of |
Oh I am not done at all ! I am going through a refactoring to have the Generate method take multiple optional GenerateOption instances, same with the Execute part. |
BTW just understood your comment, I finished the refactoring I wanted to introduce so that you guys have an extensibility mechanism for later using GenerateOptions and ExecuteOptions
|
… and execute implementation
0f7e78c
to
a50816f
Compare
@Joibel I think it should be fine now. I have drastically simplified my approach after getting to know a bit better your code base. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GoGitOps Review
Grade: A+ (100.0%)
Files: 21
Issues: 0
gofmt: 100%
go_vet: 100%
gocyclo: 100%
golint: 100%
ineffassign: 100%
license: 100%
misspell: 100%
This report was generated using GoGitOps.
Hello @Joibel, Anything you'd like me to change in the PR, let me know. I tried to minimize the impact as much as possible. |
Nothing at the moment, I haven't had a chance to look over the PR yet. It's the week before kubecon, which means I'm quite busy, but I will take a look when I get a chance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for doing this
I am releasing 1.2.0 with this in. |
No description provided.