diff --git a/cdk/kittyhawk/.projenrc.js b/cdk/kittyhawk/.projenrc.js index 1ad4f333..b0c0478c 100644 --- a/cdk/kittyhawk/.projenrc.js +++ b/cdk/kittyhawk/.projenrc.js @@ -16,7 +16,7 @@ const project = new TypeScriptProject({ }, }); -project.addFields({ ["version"]: "1.1.9" }); +project.addFields({ ["version"]: "1.1.10" }); project.prettier?.ignoreFile?.addPatterns("src/imports"); project.testTask.steps.forEach((step) => { if (step.exec) { diff --git a/cdk/kittyhawk/package.json b/cdk/kittyhawk/package.json index ac1469ff..c25c114d 100644 --- a/cdk/kittyhawk/package.json +++ b/cdk/kittyhawk/package.json @@ -65,7 +65,7 @@ "main": "lib/index.js", "license": "MIT", "homepage": "https://kittyhawk.pennlabs.org", - "version": "1.1.9", + "version": "1.1.10", "jest": { "testMatch": [ "/src/**/__tests__/**/*.ts?(x)", diff --git a/cdk/kittyhawk/src/application/redis.ts b/cdk/kittyhawk/src/application/redis.ts index 5cfea2c4..1a4abbba 100644 --- a/cdk/kittyhawk/src/application/redis.ts +++ b/cdk/kittyhawk/src/application/redis.ts @@ -102,6 +102,9 @@ export class RedisApplication extends Application { deployment: { image: redisProps.deployment?.image ?? "redis", tag: redisProps.deployment?.tag ?? "6.0", + ...(redisProps.persistData + ? { cmd: ["redis-server", "/redis-master/redis.conf"] } + : {}), volumeMounts: [ ...(redisProps.persistData ? [