Skip to content
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

Upgrade operator sdk + a few fixes #8

Merged
merged 22 commits into from
Jun 3, 2022
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7781b00
Use of lpass status to validate login and disabling logout command
donch Apr 7, 2022
df26e27
Namespace are handed by helm and should not be hardcoded
donch Apr 7, 2022
ddd66bd
Merge pull request #2 from enix/refactor_helm
abuisine Apr 8, 2022
2961b53
Use a correct log message in logout function.
donch Apr 8, 2022
30df22e
Merge pull request #1 from enix/verify_login
donch Apr 8, 2022
8bf1569
Remove uneeded id from secretName
donch Apr 13, 2022
a4392e6
Merge pull request #3 from enix/remove_id_from_secret
donch Apr 14, 2022
872a46b
upgrade to operator-sdk 0.8.2 and golang 1.17
plaffitt Apr 13, 2022
497cc22
upgrade to operator-sdk 0.17.2
plaffitt Apr 13, 2022
d4ce590
fix missing required namespace in ClusterRoleBinding
plaffitt Apr 13, 2022
1ddca41
remove docker login before push in makefile
plaffitt Apr 13, 2022
f29229f
upgrade to operator-sdk 0.18.2
plaffitt Apr 13, 2022
310c2cf
upgrade to operator-sdk 0.19.4
plaffitt Apr 13, 2022
9b83307
upgrade to operator-sdk 1.0.1 and crdVersion v1
plaffitt Apr 14, 2022
86088e9
upgrade to operator-sdk 1.5.2
plaffitt Apr 14, 2022
7cebf8c
remove Apache 2.0 references since the project is under MIT
plaffitt Apr 14, 2022
7282e74
fix syncPolicy is optional
plaffitt Apr 14, 2022
046a781
remove duplicate setups of lastpass controller in main.go
plaffitt May 25, 2022
97279ce
Merge pull request #4 from enix/upgrade/operator-sdk
plaffitt May 25, 2022
8e2147f
add flag (and helm value) to define a template for secrets names
plaffitt May 25, 2022
eab5d19
restore repository default value to edgelevel instead of enix
plaffitt May 25, 2022
7ac3614
restore logout function but stop calling it
plaffitt May 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove duplicate setups of lastpass controller in main.go
  • Loading branch information
plaffitt committed May 25, 2022
commit 046a7810ebc5848d18f55ac71300bfdee6bf653e
24 changes: 0 additions & 24 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,30 +63,6 @@ func main() {
os.Exit(1)
}

if err = (&controllers.LastPassReconciler{
Client: mgr.GetClient(),
Log: ctrl.Log.WithName("controllers").WithName("LastPass"),
Scheme: mgr.GetScheme(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "LastPass")
os.Exit(1)
}
if err = (&controllers.LastPassReconciler{
Client: mgr.GetClient(),
Log: ctrl.Log.WithName("controllers").WithName("LastPass"),
Scheme: mgr.GetScheme(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "LastPass")
os.Exit(1)
}
if err = (&controllers.LastPassReconciler{
Client: mgr.GetClient(),
Log: ctrl.Log.WithName("controllers").WithName("LastPass"),
Scheme: mgr.GetScheme(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "LastPass")
os.Exit(1)
}
if err = (&controllers.LastPassReconciler{
Client: mgr.GetClient(),
Log: ctrl.Log.WithName("controllers").WithName("LastPass"),
Expand Down