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

Add option to provide Kubemanager env variables #513

Merged
merged 7 commits into from
Dec 16, 2020
Merged

Conversation

Janek3d
Copy link
Contributor

@Janek3d Janek3d commented Dec 15, 2020

No description provided.

@Janek3d
Copy link
Contributor Author

Janek3d commented Dec 15, 2020

recheck

@Janek3d
Copy link
Contributor Author

Janek3d commented Dec 15, 2020

recheck ha

@Janek3d
Copy link
Contributor Author

Janek3d commented Dec 15, 2020

recheck

2 similar comments
@psykulsk
Copy link
Contributor

recheck

@Janek3d
Copy link
Contributor Author

Janek3d commented Dec 16, 2020

recheck

@@ -220,6 +220,11 @@ func (r *ReconcileKubemanager) Reconcile(request reconcile.Request) (reconcile.R
return reconcile.Result{}, err
}

_, err = instance.CreateConfigMap(request.Name+"-"+instanceType+"-configmap-envs", r.Client, r.Scheme, request)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I would create a variable, for example envVariablesConfigMap := request.Name+"-"+instanceType+"-configmap-envs" and use it here and in line 436

@Janek3d
Copy link
Contributor Author

Janek3d commented Dec 16, 2020

/gcbrun

@Janek3d Janek3d merged commit e01b3e0 into master Dec 16, 2020
@Janek3d Janek3d deleted the kubemanager-envs branch December 16, 2020 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants