diff --git a/test/unit/csi-daemonset.bats b/test/unit/csi-daemonset.bats index 5bc9f99d5..656c13663 100644 --- a/test/unit/csi-daemonset.bats +++ b/test/unit/csi-daemonset.bats @@ -196,7 +196,7 @@ load _helpers --set "csi.enabled=true" \ . | tee /dev/stderr | yq -r '.spec.template.spec.containers[0].args[2]' | tee /dev/stderr) - [ "${actual}" = "--hmac-secret-name=vault-csi-provider-hmac-key" ] + [ "${actual}" = "--hmac-secret-name=openbao-csi-provider-hmac-key" ] local actual=$(helm template \ --show-only templates/csi-daemonset.yaml \ @@ -688,7 +688,7 @@ load _helpers local value=$(echo $object | yq -r 'map(select(.name=="VAULT_ADDR")) | .[] .value' | tee /dev/stderr) - [ "${value}" = "http://not-external-test-vault.default.svc:8200" ] + [ "${value}" = "http://not-external-test-openbao.default.svc:8200" ] } @test "csi/daemonset: with global.externalVaultAddr" { diff --git a/test/unit/csi-role.bats b/test/unit/csi-role.bats index 3194d6287..0f8493659 100644 --- a/test/unit/csi-role.bats +++ b/test/unit/csi-role.bats @@ -24,7 +24,7 @@ load _helpers --set "csi.enabled=true" \ . | tee /dev/stderr | yq -r '.rules[0].resourceNames[0]' | tee /dev/stderr) - [ "${actual}" = "vault-csi-provider-hmac-key" ] + [ "${actual}" = "openbao-csi-provider-hmac-key" ] } @test "csi/Role: namespace" { @@ -55,4 +55,4 @@ load _helpers . | tee /dev/stderr | yq -r '.rules[0].resourceNames[0]' | tee /dev/stderr) [ "${actual}" = "foo" ] -} \ No newline at end of file +} diff --git a/test/unit/server-ingress.bats b/test/unit/server-ingress.bats index dde368895..11b137c4e 100755 --- a/test/unit/server-ingress.bats +++ b/test/unit/server-ingress.bats @@ -216,7 +216,7 @@ load _helpers [ "${actual}" = "release-name-openbao" ] } -@test "server/ingress: k8s 1.26.3 uses correct service format when not ha - yaml" { +@test "server/ingress: k8s 1.27.0 uses correct service format when not ha - yaml" { cd `chart_dir` local actual=$(helm template \ @@ -225,7 +225,7 @@ load _helpers --set 'server.dev.enabled=false' \ --set 'server.ha.enabled=false' \ --set 'server.service.enabled=true' \ - --kube-version 1.26.3 \ + --kube-version 1.27.0 \ . | tee /dev/stderr | yq -r '.spec.rules[0].http.paths[0].backend.service.name' | tee /dev/stderr) [ "${actual}" = "release-name-openbao" ] @@ -246,14 +246,14 @@ load _helpers [ "${actual}" = "release-name-openbao" ] } -@test "server/ingress: pathType is added to Kubernetes version == 1.26.3" { +@test "server/ingress: pathType is added to Kubernetes version == 1.27.0" { cd `chart_dir` local actual=$(helm template \ --show-only templates/server-ingress.yaml \ --set 'server.ingress.enabled=true' \ --set server.ingress.pathType=ImplementationSpecific \ - --kube-version 1.26.3 \ + --kube-version 1.27.0 \ . | tee /dev/stderr | yq -r '.spec.rules[0].http.paths[0].pathType' | tee /dev/stderr) [ "${actual}" = "ImplementationSpecific" ] @@ -266,7 +266,7 @@ load _helpers --show-only templates/server-ingress.yaml \ --set 'server.ingress.enabled=true' \ --set server.ingress.pathType=Prefix \ - --kube-version 1.26.3 \ + --kube-version 1.27.0 \ . | tee /dev/stderr | yq -r '.spec.rules[0].http.paths[0].pathType' | tee /dev/stderr) [ "${actual}" = "Prefix" ]