Skip to content

Commit 21e61e8

Browse files
Remove changes from deploy
1 parent 50ac633 commit 21e61e8

File tree

5 files changed

+2
-10
lines changed

5 files changed

+2
-10
lines changed

charts/secrets-store-csi-driver/templates/csidriver.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ spec:
1111
volumeLifecycleModes:
1212
- Ephemeral
1313
{{- if and (semverCompare ">=1.20-0" .Capabilities.KubeVersion.Version) .Values.tokenRequests }}
14-
requiresRepublish: true
1514
tokenRequests:
1615
{{- toYaml .Values.tokenRequests | nindent 2 }}
1716
{{- end }}

controllers/secretproviderclasspodstatus_controller.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,8 @@ func (r *SecretProviderClassPodStatusReconciler) createOrUpdateK8sSecret(ctx con
421421
if err != nil {
422422
klog.Errorf("Unable to update secret", "secret", klog.ObjectRef{Namespace: namespace, Name: name})
423423
return err
424-
} else {
425-
klog.InfoS("successfully updated Kubernetes secret", "secret", klog.ObjectRef{Namespace: namespace, Name: name})
426424
}
425+
klog.InfoS("successfully updated Kubernetes secret", "secret", klog.ObjectRef{Namespace: namespace, Name: name})
427426
return nil
428427
}
429428
return err

deploy/csidriver.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ spec:
77
attachRequired: false
88
volumeLifecycleModes:
99
- Ephemeral
10-
requiresRepublish: true

test/bats/azure.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ setup() {
193193
assert_success
194194

195195
envsubst < $BATS_TESTS_DIR/deployment-synck8s-azure.yaml | kubectl apply -n negative-test-ns -f -
196-
sleep 5
196+
sleep 30
197197

198198
POD=$(kubectl get pod -l app=busybox -n negative-test-ns -o jsonpath="{.items[0].metadata.name}")
199199
cmd="kubectl describe pod $POD -n negative-test-ns | grep 'FailedMount.*failed to get secretproviderclass negative-test-ns/azure-sync.*not found'"

test/bats/e2e-provider.bats

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -409,22 +409,17 @@ export VALIDATE_TOKENS_AUDIENCE=$(get_token_requests_audience)
409409
local pod_ip=$(kubectl get pod -n kube-system -l app=csi-secrets-store-e2e-provider -o jsonpath="{.items[0].status.podIP}")
410410
run kubectl exec ${curl_pod_name} -n rotation -- curl http://${pod_ip}:8080/rotation?rotated=true
411411

412-
sleep 300
413-
414412
sleep 10
415413
archive_info
416414

417415
result=$(kubectl exec -n rotation secrets-store-inline-rotation -- cat /mnt/secrets-store/$SECRET_NAME)
418-
echo "New secret is ${result}"
419416
[[ "${result//$'\r'}" == "rotated" ]]
420417

421418
result=$(kubectl get secret -n rotation rotationsecret -o jsonpath="{.data.username}" | base64 -d)
422419
[[ "${result//$'\r'}" == "rotated" ]]
423420

424421
# reset rotation response in mock server for all upgrade tests
425422
run kubectl exec ${curl_pod_name} -n rotation -- curl http://${pod_ip}:8080/rotation?rotated=false
426-
427-
428423
}
429424

430425
@test "Validate metrics" {

0 commit comments

Comments
 (0)