From 4786fd0bec0b56b6277a0baad64401dc644e1990 Mon Sep 17 00:00:00 2001 From: geir-waagboe Date: Mon, 11 Nov 2024 16:15:55 +0100 Subject: [PATCH] IS-2765: Bruke felles Aiven-cache --- .nais/naiserator-dev.yaml | 4 ---- .nais/naiserator-prod.yaml | 4 ---- README.md | 4 +--- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.nais/naiserator-dev.yaml b/.nais/naiserator-dev.yaml index 2ba2ab8..d91ea84 100644 --- a/.nais/naiserator-dev.yaml +++ b/.nais/naiserator-dev.yaml @@ -28,12 +28,9 @@ spec: access: readwrite envFrom: - secret: finnfastlege-session-key - - secret: finnfastlege-redis-password env: - name: NODE_ENV value: production - - name: REDIS_HOST - value: finnfastlege-redis - name: AUTH_REDIRECT_URI value: "https://finnfastlege.intern.dev.nav.no/oauth2/callback" - name: FASTLEGEREST_AAD_APP_CLIENT_ID @@ -66,7 +63,6 @@ spec: - application: fastlegerest - application: istilgangskontroll - application: syfoperson - - application: finnfastlege-redis - application: modiacontextholder namespace: personoversikt azure: diff --git a/.nais/naiserator-prod.yaml b/.nais/naiserator-prod.yaml index 939f9b5..559a20d 100644 --- a/.nais/naiserator-prod.yaml +++ b/.nais/naiserator-prod.yaml @@ -25,12 +25,9 @@ spec: timeout: 5 envFrom: - secret: finnfastlege-session-key - - secret: finnfastlege-redis-password env: - name: NODE_ENV value: production - - name: REDIS_HOST - value: finnfastlege-redis - name: AUTH_REDIRECT_URI value: "https://finnfastlege.intern.nav.no/oauth2/callback" - name: FASTLEGEREST_AAD_APP_CLIENT_ID @@ -63,7 +60,6 @@ spec: - application: fastlegerest - application: istilgangskontroll - application: syfoperson - - application: finnfastlege-redis - application: modiacontextholder namespace: personoversikt azure: diff --git a/README.md b/README.md index 6ca4668..e7f49de 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,4 @@ $ npm install --legacy-peer-deps # installerer avhengigheter ## Redis Cache -Brukes for å cache bruker-sessions. Nais-oppsettet ligger i `.nais/redis.yaml`. -Redis pod deployes automatisk ved endringer i workflow eller config i master, -men kan også deployes manuelt til NAIS ved å kjøre følgdende kommando: `kubectl apply -f .nais/redis.yaml`. +Bruker teamsykefravr sin felles Redis-cache på Aiven for å cache bruker-sessions.