Skip to content

Conversation

@lrebeja
Copy link
Contributor

@lrebeja lrebeja commented Dec 1, 2020

  • Created volumes, configmap, crd, cr.

- Created volumes, configmap, crd, cr.
@lrebeja lrebeja requested a review from kaweue December 1, 2020 04:16
psykulsk and others added 19 commits December 1, 2020 23:20
* Use only -ubi tagged images in openshift deployment

* Use ubi and contrail-nightly in release manifests

* use <CONTRAIL-REGISTRY> in operator manifest
* Add static configuration to provision manager

Add provisionManagerDependenciesReady, fillProvisionManagerConfiguration to manager_controller.go
Add ConfigNodesConfiguration to ServiceConfiguration in provisionmanager_types.go
Add provisionmanager's tests to manager_controller_test.go

* Add test for proces provision manager

* Add ProvisionmanagerService to manager_types.go so the manager's crd doesn't change

* Add unit test to check if number of provisionmanager's replicas is correct
Signed-off-by: vraparla <vraparla@vraparla-mbp.jnpr.net>
Signed-off-by: vraparla <vraparla@vraparla-mbp.jnpr.net>
Signed-off-by: vraparla <vraparla@vraparla-mbp.jnpr.net>
* Changed imagePullPolicy from Always to IfNotPresent
Signed-off-by: vraparla <vraparla@vraparla-mbp.jnpr.net>
* Small correction in the 00-contrail-09-manager.yaml.

Co-authored-by: Vijay Raparla <vraparla@juniper.net>
* Change GetClientConfig function to get config from config.GetConfig

* Change GetClientset to GetClientsetFromConfig in main.go
Remove GetClientset and GetClientConfig in exec_to_pod.go

* fix

* Delete GetClientsetFromConfig

* Update BUILD.bazel
Rollback after unsuccessful upgrade of Command

This change fixes migration of Command's data during the upgrade, and also introduces rollback mechanism.
The idea behind this change is that during the migration a new DATABASE is created. This DATABASE is initialised with a new schema and then filled with migrated data. When the process is successful migrated DATABASE is renamed and put in the place of original one. The original one is saved as backup.

Co-authored-by: Katarzyna Bartkiewicz <kbartkiewicz@juniper.net>
Co-authored-by: Pawel Marchewka <pawel.marchewka@codilime.com>
…talLB IP pool (#477)

* Add annotation to LoadBalancer Service to pick correct IP pool

* Extract service configuration to the struct
* Add KeystoneSecretName to kubemanager_types.go

* Add method to generate kubemanager's keystone auth config
Add unit test to check kubemanager's keystone auth config

* Add test to check if kubemanager is using keystone
Change test checking kubemanager's keystone config

* Move injecting Authentication params to manager

* Add check if keystoneInstance empty then set authMode to noauth

* Change AuthMode check in kubemanager_types to only check if it is empty string
Change endpoint to be only host address
Fix unit tests
Pods in terminating state as not counted as replicas in deployment status. Consequently command upgrade job was started even though old command pods were still running and connected to the database.
* Move templates package out of api directory

The idea behind this change is to remove non-api code from apis/contrail directory.
This directory is used by tools like operator-sdk or kubebuilder to generate code.
The fact that we have some additional logic makes it harder to migrate to newer versions of those tools.

* Move configuration tests
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.

7 participants