diff --git a/chart/templates/generator-application.yaml b/chart/templates/generator-application.yaml index 065aa9d..ed57525 100644 --- a/chart/templates/generator-application.yaml +++ b/chart/templates/generator-application.yaml @@ -52,7 +52,7 @@ spec: - status=ready,aldaas={{ template "aldaas.fullname" . }} - --sort-by=.metadata.creationTimestamp - -o - - jsonpath={.items[0].metadata.name} + - jsonpath={.items[-1].metadata.name} - name: create-pvc-from-snapshot inputs: parameters: