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

Add test for k8s version recency (#288) #318

Merged
merged 2 commits into from
Aug 15, 2023
Merged

Add test for k8s version recency (#288) #318

merged 2 commits into from
Aug 15, 2023

Commits on Aug 15, 2023

  1. Add test for k8s version recency (#288)

    * add initial test script
    * check k8s release for releases
    * check cluster with kubeconfig for version
    * check version against each other
    * if not matching, check for cadence time
    
    Signed-off-by: Hannes Baum <[email protected]>
    cah-hbaum committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    8904c9b View commit details
    Browse the repository at this point in the history
  2. Update test for k8s version recency (#288)

    * updates to test after reviews from @chess-knight and @fdobrovolny
    * changed math for weeks and months, since they were faulty in the previous implementation
    * changed way how the k8s versions are compared to a simpler loop which also causes less problems
    
    Signed-off-by: Hannes Baum <[email protected]>
    cah-hbaum committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    c6cadc9 View commit details
    Browse the repository at this point in the history