Skip to content

Conversation

@aliciafmachado
Copy link
Contributor

@aliciafmachado aliciafmachado commented Aug 17, 2020

Most of the changes here were simply the creation of the packages and the implementation of updates (not necessarily creation or deletion, but if the author changes only a field and then the object needs to be updated).
Created too the structure for pow and the volumes but it's not implemented yet.
Deleted the finalizer: it will no longer be needed. We can clean the persistent volume with simply one configuration. It's not necessary to create a controller for this.
Small problem: Realized that the problem of creating the CRD with the pod template still is a problem. But if we erase two problematic lines in the CRD, the problem is solved. The bad part is that we would always need to do this every time we want to change the structure of the CRD (which might not be such a problem but needs to be documented).
UPDATE: We might still need a finalizer or an additional operator since a standard operator for persistent volumes is not implemented for GCS.

…the operator anymore. Passed creation of service and autoscaling to update and now it checks if there was a change inside these structures in the challenge declaration and updates the k8s objects.
…completed. There are two new packages: volumes and pow. Volumes will contain functions responsible for the creation of the persistent volume claim and persistent volume. Pow will contain the functions responsible to create the configmap and etc.
Copy link
Collaborator

@gree-gorey gree-gorey left a comment

Choose a reason for hiding this comment

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

LGTM

@aliciafmachado aliciafmachado merged commit 4b7163b into beta Aug 18, 2020
@aliciafmachado aliciafmachado deleted the operator-features branch August 18, 2020 14:46
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.

3 participants