1. 10 Jul, 2020 2 commits
    • Connor Rogers's avatar
      14391d62
    • Chunyi Lyu's avatar
      StatefulSet Override (#175) · db9724f8
      Chunyi Lyu authored
      * Add statefulSet override
      
      - new crd properties: spec.override.statefulSet, which is
      our own definition of appsv1.StatefulSet, which allows users to provide
      a patch that will be applied on top of generated statefulset definition
      as an override.
      - new type EmbeddedObjectMeta, which is a partially metav1.ObjectMeta;
      it is used in StatefulSet, PodTemplateSpec, and PersistentVolumeClaim.
      - custom types are needed because of the pruning behavior of
      `preserveUnknownFields: false`, which is going to be the default
      behavior for crd v1.
      - all fields in the custom StatefulSetSpec are optional; including
      selector, serviceName...etc
      db9724f8
  2. 08 Jul, 2020 4 commits
  3. 06 Jul, 2020 5 commits
  4. 03 Jul, 2020 3 commits
  5. 02 Jul, 2020 2 commits
  6. 01 Jul, 2020 2 commits
  7. 30 Jun, 2020 1 commit
  8. 24 Jun, 2020 1 commit
  9. 23 Jun, 2020 5 commits
  10. 22 Jun, 2020 1 commit
  11. 19 Jun, 2020 1 commit
  12. 18 Jun, 2020 4 commits
    • Aitor Cedres's avatar
      Rename condition to ReconcileSuccess · 58550f52
      Aitor Cedres authored
      Integration tests started to error as a side effect to update the CR
      Status more frequently; those are fixed by adding a retry logic to
      Update calls in tests.
      58550f52
    • Aitor Cedres's avatar
      Rework Reconcilable condition · c88a8c7d
      Aitor Cedres authored
      - Moved the time transition logic to SetCondition
      - ReconcilableCondition() is intended to be used as a initialiser
      - Log CR Name and Namespace when there is an error
      - Update unit tests to expect Reconcilable condition
      - Rename Reconciable condition to Reconciled
      c88a8c7d
    • Aitor Cedres's avatar
      Reconcilable status condition · 6e24df85
      Aitor Cedres authored
      Expose a condition to inform whether the custom resource can be
      reconciled. We consider the custom resource to be reconcilable if we are
      able to send a create or update request to KubeAPI and receive a success
      response.
      6e24df85
    • Aitor Cedres's avatar
      Type structs for Reconcilable condition · 9755137c
      Aitor Cedres authored
      This is a building block that the controller can use to create and
      expose a condition of type Reconcilable. Intended to indicate whether
      RabbitmqCluster resource can be reconciled.
      9755137c
  13. 10 Jun, 2020 1 commit
  14. 09 Jun, 2020 1 commit
  15. 08 Jun, 2020 2 commits
  16. 05 Jun, 2020 3 commits
    • Aitor Cedres's avatar
      Use NodePort Service type in system tests · 212cbb66
      Aitor Cedres authored
      Node Port service type is externally accessible via the Kubernetes node
      IP. We can fetch this IP from the Kubernetes API. The port that
      redirects to RabbitMQ pods via the service is the NodePort in the
      Service Spec. The requirement now is that system tests can access
      Kubernetes node IP; it is slightly similar to the previous assumption,
      where the system tests relied on the IaaS to provide an external
      accessible IP.
      212cbb66
    • Aitor Cedres's avatar
      Use BeforeSuit instead of its Synchronized version · ac47fbd9
      Aitor Cedres authored
      The intention of SynchronizedBeforeSuite is to initialise singletons
      e.g. a database. It then provides a block to initialise clients, using
      the data from the previous block if needed. Since we don't have a
      singleton, we don't need to use this.
      ac47fbd9
    • Chunyi Lyu's avatar
      Merge pull request #160 from pivotal/systests · b0d98dc5
      Chunyi Lyu authored
      Increase system tests timeout and reduce parellel nodes
      b0d98dc5
  17. 04 Jun, 2020 2 commits