Skip to content

Commit

Permalink
feat: enable localstack persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed Nov 29, 2023
1 parent 592480a commit 12c778c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions operator/src/network/cas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ pub fn localstack_stateful_set_spec(config: impl Into<CasConfig>) -> StatefulSet
}),
spec: Some(PodSpec {
containers: vec![Container {
image: Some("localstack/localstack@sha256:539f4145f9b3610d11b292457e657b7fd6ad0f7c93e206620056424faacf68b5".to_owned()),
image: Some("gresau/localstack-persist:3".to_owned()),
image_pull_policy: Some("IfNotPresent".to_owned()),
name: "localstack".to_owned(),
ports: Some(vec![ContainerPort {
Expand All @@ -876,7 +876,7 @@ pub fn localstack_stateful_set_spec(config: impl Into<CasConfig>) -> StatefulSet
..Default::default()
}),
volume_mounts: Some(vec![VolumeMount {
mount_path: "/var/lib/localstack".to_owned(),
mount_path: "/persisted-data".to_owned(),
name: "localstack-data".to_owned(),
..Default::default()
}]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Request {
"spec": {
"containers": [
{
"image": "localstack/localstack@sha256:539f4145f9b3610d11b292457e657b7fd6ad0f7c93e206620056424faacf68b5",
"image": "gresau/localstack-persist:3",
"imagePullPolicy": "IfNotPresent",
"name": "localstack",
"ports": [
Expand All @@ -54,7 +54,7 @@ Request {
},
"volumeMounts": [
{
"mountPath": "/var/lib/localstack",
"mountPath": "/persisted-data",
"name": "localstack-data"
}
]
Expand Down

0 comments on commit 12c778c

Please sign in to comment.