Greetings LocalStack Community,
I’m trying to maintain persistence for Localstack using the official helm chart. The goal is to ensure that the created resources remain available even after restarting the pod. In the Helm Chart values file, I enabled persistence as shown below:
localstack:
debug: true
serviceAccount:
create: true
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::xxxxx:role/xxxxxxx
name: "localstack"
mountDind:
enabled: true
forceTLS: false
persistence:
enabled: true
storageClass: ""
accessModes:
- ReadWriteOnce
However, upon restart, I noticed that everything created was gone. I observed that in the deployment volume data, there are:
volumes:
- name: aws-iam-token
projected:
defaultMode: 420
sources:
- serviceAccountToken:
audience: sts.amazonaws.com
expirationSeconds: 86400
path: token
- name: data
persistentVolumeClaim:
claimName: localstack-svc
- emptyDir: {}
name: dind-storage
How can I activate persistence?"