diff --git a/test/unit/injector-disruptionbudget.bats b/test/unit/injector-disruptionbudget.bats index 4ce55157f..a7af87117 100755 --- a/test/unit/injector-disruptionbudget.bats +++ b/test/unit/injector-disruptionbudget.bats @@ -55,7 +55,7 @@ load _helpers local actual=$(helm template \ --show-only templates/injector-disruptionbudget.yaml \ --set 'injector.podDisruptionBudget.minAvailable=2' \ - --kube-version 1.22.5 \ + --kube-version 1.27.5 \ . | tee /dev/stderr | yq '.apiVersion == "policy/v1"' | tee /dev/stderr) [ "${actual}" = "true" ] diff --git a/test/unit/server-ha-disruptionbudget.bats b/test/unit/server-ha-disruptionbudget.bats index 536c44b6d..073214994 100755 --- a/test/unit/server-ha-disruptionbudget.bats +++ b/test/unit/server-ha-disruptionbudget.bats @@ -123,7 +123,7 @@ load _helpers --show-only templates/server-disruptionbudget.yaml \ --set 'server.ha.enabled=true' \ --set 'server.ha.replicas=1' \ - --kube-version 1.22.5 \ + --kube-version 1.27.5 \ . | tee /dev/stderr | yq '.apiVersion == "policy/v1"' | tee /dev/stderr) [ "${actual}" = "true" ] diff --git a/test/unit/server-headless-service.bats b/test/unit/server-headless-service.bats index df649bebc..43713de9f 100644 --- a/test/unit/server-headless-service.bats +++ b/test/unit/server-headless-service.bats @@ -79,7 +79,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ --show-only templates/server-headless-service.yaml \ - --kube-version 1.22.0 \ + --kube-version 1.27.0 \ --set 'server.service.ipFamilyPolicy=PreferDualStack' \ . | tee /dev/stderr | yq -r '.spec.ipFamilyPolicy' | tee /dev/stderr) @@ -90,7 +90,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ --show-only templates/server-headless-service.yaml \ - --kube-version 1.22.0 \ + --kube-version 1.27.0 \ --set 'server.service.ipFamilies={IPv4,IPv6}' \ . | tee /dev/stderr | yq -r '.spec.ipFamilies' | tee /dev/stderr) diff --git a/test/unit/server-service.bats b/test/unit/server-service.bats index 9ef87e99f..bb3c47a93 100755 --- a/test/unit/server-service.bats +++ b/test/unit/server-service.bats @@ -492,7 +492,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ --show-only templates/server-service.yaml \ - --kube-version 1.22.0 \ + --kube-version 1.27.0 \ --set 'server.service.ipFamilyPolicy=PreferDualStack' \ . | tee /dev/stderr | yq -r '.spec.ipFamilyPolicy' | tee /dev/stderr) @@ -503,7 +503,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ --show-only templates/server-service.yaml \ - --kube-version 1.22.0 \ + --kube-version 1.27.0 \ --set 'server.service.ipFamilies={IPv4,IPv6}' \ . | tee /dev/stderr | yq -r '.spec.ipFamilies' | tee /dev/stderr) diff --git a/test/unit/server-statefulset.bats b/test/unit/server-statefulset.bats index 890f963f4..755333abe 100755 --- a/test/unit/server-statefulset.bats +++ b/test/unit/server-statefulset.bats @@ -228,7 +228,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ -s templates/server-statefulset.yaml \ - --kube-version "1.22" \ + --kube-version "1.27" \ . | tee /dev/stderr | yq -r '.spec.persistentVolumeClaimRetentionPolicy' | tee /dev/stderr) [ "${actual}" = "null" ] @@ -238,7 +238,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ -s templates/server-statefulset.yaml \ - --kube-version "1.22" \ + --kube-version "1.27" \ --set 'server.persistentVolumeClaimRetentionPolicy.whenDeleted=Delete' \ . | tee /dev/stderr | yq -r '.spec.persistentVolumeClaimRetentionPolicy.whenDeleted' | tee /dev/stderr) @@ -249,7 +249,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ -s templates/server-statefulset.yaml \ - --kube-version "1.22" \ + --kube-version "1.27" \ --set 'server.persistentVolumeClaimRetentionPolicy.whenScaled=Delete' \ . | tee /dev/stderr | yq -r '.spec.persistentVolumeClaimRetentionPolicy.whenScaled' | tee /dev/stderr) diff --git a/test/unit/ui-service.bats b/test/unit/ui-service.bats index bc3547f05..531bc56b5 100755 --- a/test/unit/ui-service.bats +++ b/test/unit/ui-service.bats @@ -411,7 +411,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ --show-only templates/ui-service.yaml \ - --kube-version 1.22.0 \ + --kube-version 1.27.0 \ --set 'ui.enabled=true' \ --set 'ui.serviceIPFamilyPolicy=PreferDualStack' \ . | tee /dev/stderr | @@ -423,7 +423,7 @@ load _helpers cd `chart_dir` local actual=$(helm template \ --show-only templates/ui-service.yaml \ - --kube-version 1.22.0 \ + --kube-version 1.27.0 \ --set 'ui.enabled=true' \ --set 'ui.serviceIPFamilies={IPv4,IPv6}' \ . | tee /dev/stderr |