Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init change for the stackset spec+status, without fallback to get these data from ingress fix all comments and generate Traffic in StacksetStatus correctly refactor backendport being intorstring type and use also that in the ActualTraffic to make external controllers happy make sure we catch if we forget to populate ingressSpec Signed-off-by: Sandor Szücs <[email protected]> * add test for backendPort setting create a better example how to run the e2e tests drop println and add a bit more test coverage Signed-off-by: Sandor Szücs <[email protected]> * fix: unit test should be stable basic e2e tests with checking actual traffic status refactor: rename helper functions and tests according to ingress based traffic switching add e2e test for stackset based traffic switching Signed-off-by: Sandor Szücs <[email protected]> * add traffic switching mixed ingress/stackset for desired/actual Signed-off-by: Sandor Szücs <[email protected]> * add basic tests for external ingress Signed-off-by: Sandor Szücs <[email protected]> * add external ingress based traffic switch Signed-off-by: Sandor Szücs <[email protected]> fix: shorten stackset names to fix dns entries Signed-off-by: Martin Linkhorst <[email protected]> * add relevant information for externalIngress and the actual/desired traffic in spec/status Signed-off-by: Sandor Szücs <[email protected]> * change version to show feature external-ingress for controllers providing the routes Signed-off-by: Sandor Szücs <[email protected]> * provide upgrade information Signed-off-by: Sandor Szücs <[email protected]> * remove commented code and leftovers Signed-off-by: Sandor Szücs <[email protected]> * fix vm size for builds Signed-off-by: Sandor Szücs <[email protected]> * fix release message Signed-off-by: Sandor Szücs <[email protected]> * fix nitpicks Signed-off-by: Sandor Szücs <[email protected]> * add StackName to zv1.ActualTraffic that is shown in the stackset.status Signed-off-by: Sandor Szücs <[email protected]> * remove commented test case Signed-off-by: Sandor Szücs <[email protected]> * rename it to make it clear Signed-off-by: Sandor Szücs <[email protected]> * Improvements for the external CRDs PR (#169) * Add ssc.stacksetManagesTraffic, populate it correctly Signed-off-by: Alexey Ermakov <[email protected]> * Don't update ingress with desired weights for migrated stacksets Signed-off-by: Alexey Ermakov <[email protected]> * e2e: improve the traffic switching tests * Test the authoritative annotation * Always test both stackset and ingress (for the actual traffic) * Add some helper functions to simplify the code * Drop two tests already covered by the existing tests Signed-off-by: Alexey Ermakov <[email protected]> * Desired traffic: write back to the stackset Signed-off-by: Alexey Ermakov <[email protected]> * added link to fabric gateway Signed-off-by: Sandor Szücs <[email protected]> * Always use stackset.spec for managing traffic with external ingresses Signed-off-by: Alexey Ermakov <[email protected]> * externalIngressBackendPort: correctly set when updating Signed-off-by: Alexey Ermakov <[email protected]> * Fixup go modules Signed-off-by: Alexey Ermakov <[email protected]> * Sort traffic weights to avoid useless updates Signed-off-by: Alexey Ermakov <[email protected]> * Status: drop stacks with 0 traffic Signed-off-by: Alexey Ermakov <[email protected]> * Desired traffic: remove stacks with 0 weights Signed-off-by: Alexey Ermakov <[email protected]> * implement -migrate-to=<ingress|stackset> to enable stackset desired traffic migrations Signed-off-by: Sandor Szücs <[email protected]> * fix compile error, due to NewStackSetController change Signed-off-by: Sandor Szücs <[email protected]> * switch arg Signed-off-by: Sandor Szücs <[email protected]> * add logs to understand what we are doing in migration Signed-off-by: Sandor Szücs <[email protected]> * build fixes Signed-off-by: Sandor Szücs <[email protected]> * add a debug purpose log to see that we actuall have something set... Signed-off-by: Sandor Szücs <[email protected]> * add debug printlns Signed-off-by: Sandor Szücs <[email protected]> * move migration handling Signed-off-by: Sandor Szücs <[email protected]> * run migration as first task before start watch Signed-off-by: Sandor Szücs <[email protected]> * cleanup printlns Signed-off-by: Sandor Szücs <[email protected]> * Status: always include all stacks Signed-off-by: Alexey Ermakov <[email protected]> * added spec changes in CRD jsonschema Signed-off-by: Sandor Szücs <[email protected]> * use EnumVar from kingpin as commented Signed-off-by: Sandor Szücs <[email protected]>
- Loading branch information