-
Notifications
You must be signed in to change notification settings - Fork 71
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
Cleanup dapper and code #626
Conversation
450e8fb
to
615ce2e
Compare
74f21a3
to
010f271
Compare
bbb058d
to
26859b8
Compare
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.
Eventually this file should be generated automatically... For now, I used helm template on only the rancher resource set template to create this.
Ideally this file generation should fit inside the go generate step, and so should the chart generation IMO, which I can follow up with in a separate PR
"sync" | ||
) | ||
|
||
type Initializer struct { |
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.
Not sure I'm following everything going on here - but I think I get the gist.
A new mechanism to control global state related to controller config/settings.
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.
TLDR; its a synchronization primitive wrapper that ensures its closure is only set once, and anyone that shows interest in what it encapsulates must wait for it to be set. It was used a lot in opni
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.
err actually sed still an issue for the helm command:
+ sed -i -e 's/^version:.*/version: 26859b8/' -e 's/^appVersion:.*/appVersion: 26859b8/' -e 's/catalog.cattle.io\/upstream-version:.*/catalog.cattle.io\/upstream-version: 26859b8/' build/charts/rancher-backup/Chart.yaml
sed: -e: No such file or directory
make: *** [package-helm] Error 1
Current PR change set fixes this, GG!
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.
Seems the macos sed
issue is resolve now.
Additionally I verified that make
(default) will work for me too.
It did have some initial issues, but those were all local caused. Cleaning up the repo to remove old files from dist
and build
seemed to fix that.
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
Signed-off-by: Alexandre Lamarre <[email protected]>
Signed-off-by: Alexandre Lamarre <[email protected]>
Signed-off-by: Alexandre Lamarre <[email protected]>
exclude vscode specific configurations Signed-off-by: Alexandre Lamarre <[email protected]>
Part of : #561