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

Dynamic Custom Resource Deployments #376

Merged
merged 47 commits into from Jan 21, 2019
Merged

Commits on Jan 18, 2019

  1. initial dynamic discovery

    code tidyup
    
    Cache cluster_resource_discoverer
    
    Create generic CR if not handled explicitly
    
    dynamic custom resource creation working
    
    sync for custom resources, timeout cases
    
    update code notes
    
    halfway there
    
    remove require 'pry'
    
    remove CRs from BASE_PREDEPLOY_SEQUENCE
    
    Automatic corrections for lib/kubernetes-deploy/kubernetes_resource/custom_resource.rb
    
    id for CRs shows actual kind
    
    capture proper type
    
    Annotation to decalre monitorability (fallback to default behaviour
    
    clarify method name
    
    tidyup
    
    don't touch global namespace. better search for crd in kubernetes_resource::build
    
    refactor custom_resource.rb
    
    rubocop
    
    More custom_resource refactor + failure_message
    
    remove unused const. add crds in front of other predeploy resources
    
    Create CR directly instead of via KubernetesResource.build
    
    tidy up
    
    more cleanup
    
    small edit
    
    PoC for parameterized status monitors
    
    pr fixes
    
    add jsonpath dependency
    
    preemptively try jsonpath expressions and fail fast
    
    only log error_msg for conditions that are actually failed
    
    remove old code
    
    option for custom error messages instead of path for error message
    
    better error
    
    better error msg"
    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    154d6c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bac0364 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0371a7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1ec320c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fdaff1e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c48c43b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c490593 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9063569 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5f68443 View commit details
    Browse the repository at this point in the history
  10. tests, cleanup, edits

    fix test
    
    test fix
    
    move CustomResource creation back to kubernetes_resource.rb. Add more tests
    
    Automatic corrections for kubernetes-deploy.gemspec
    
    Automatic corrections for lib/kubernetes-deploy/kubernetes_resource/custom_resource.rb
    
    Automatic corrections for lib/kubernetes-deploy/kubernetes_resource/custom_resource_definition.rb
    
    Automatic corrections for test/integration-serial/serial_deploy_test.rb
    
    Automatic corrections for test/unit/kubernetes-deploy/kubernetes_resource/custom_resource_definition_test.rb
    
    Automatic corrections for test/unit/kubernetes-deploy/kubernetes_resource_test.rb
    
    policial
    
    Automatic corrections for test/integration-serial/serial_deploy_test.rb
    
    use dig for current_generation + observed_generation in kubernetes_resource.rb
    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    cc79f40 View commit details
    Browse the repository at this point in the history
  11. remove bad test

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    3f3ac43 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c8c0ff8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    8f69260 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    add4b4b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    27f61cb View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    67ca171 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    de4510c View commit details
    Browse the repository at this point in the history
  18. Refactor rollout_config into separate file. More robust validation

    only print error messages if exists
    
    Refactor rollout_config.rb
    
    refactoring + test
    
    minor edits
    Timothy Smith authored and timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    bf032e1 View commit details
    Browse the repository at this point in the history
  19. Add timeouts for CR instance. More test. Cleanup. More validation of

    RolloutConfig
    
    Automatic corrections for lib/kubernetes-deploy/rollout_config.rb
    
    Automatic corrections for test/unit/kubernetes-deploy/kubernetes_resource/custom_resource_definition_test.rb
    
    Automatic corrections for test/unit/kubernetes-deploy/kubernetes_resource_test.rb
    
    rollout_config_string -> rollout_config_annotation
    
    test cleanup
    
    rubocop
    
    cleanup
    
    timeouts
    
    timeout message. pr feedback
    
    CR instance timeout tests
    Timothy Smith authored and timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    03cb183 View commit details
    Browse the repository at this point in the history
  20. timeouts, README, renames

    timeouts
    
    rubocop
    
    README + rename
    
    rollout annotation rename
    
    Rename const
    
    Rename const
    
    rollout_config -> rollout_conditions
    
    readme
    
    edit
    
    more readme
    
    more rename
    
    no deep_strinfigy_keys
    
    more cleanup
    
    policial
    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    8dc350a View commit details
    Browse the repository at this point in the history
  21. README, tests, renaming + small edits

    add cr- prefix to rollout-conditions annotation
    
    README edit
    
    rename config ->conditions
    
    logs for serial deploy test
    
    police
    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    87de50b View commit details
    Browse the repository at this point in the history
  22. typo

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    26c873c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    1f1b29a View commit details
    Browse the repository at this point in the history
  24. [ci skip] wip

    KnVerey authored and timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    4982c76 View commit details
    Browse the repository at this point in the history
  25. tweaks for test, rollout_conditions, cr, crd

    serial integration test tweak"
    
    test failure_conditions optional
    
    policial
    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    85d70cc View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    85e8ab6 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ce6b919 View commit details
    Browse the repository at this point in the history
  28. rubocop

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    4628ffa View commit details
    Browse the repository at this point in the history
  29. Apply suggestions from code review

    Co-Authored-By: timothysmith0609 <31742287+timothysmith0609@users.noreply.github.com>
    KnVerey and timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    4033ae1 View commit details
    Browse the repository at this point in the history
  30. merge PR suggestions

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    6eea88e View commit details
    Browse the repository at this point in the history
  31. README updates

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    e57de3b View commit details
    Browse the repository at this point in the history
  32. small fixes

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    de7248b View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    6c86654 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    5919593 View commit details
    Browse the repository at this point in the history
  35. pr review

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    9e2f1d2 View commit details
    Browse the repository at this point in the history
  36. partial pr review

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    b401f71 View commit details
    Browse the repository at this point in the history
  37. more pr review

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    2e7e5bf View commit details
    Browse the repository at this point in the history
  38. pr review

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    44f890a View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    49d7d8e View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    a1e99b2 View commit details
    Browse the repository at this point in the history
  41. typo

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    00b45cf View commit details
    Browse the repository at this point in the history
  42. remove old code

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    afde0fd View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    68a8dea View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    3a43c06 View commit details
    Browse the repository at this point in the history
  45. pr review

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    f1b8fed View commit details
    Browse the repository at this point in the history
  46. police

    timothysmith0609 committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    81fab4f View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2019

  1. update changelog

    timothysmith0609 committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    d217b15 View commit details
    Browse the repository at this point in the history