Skip to content

Commit

Permalink
chore: deployment 2
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindis committed Mar 26, 2022
1 parent fd6775d commit 9fef1ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion env.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { validateEnv } from './utils/common';

const NAMESPACE = process.env.NAMESPACE! ?? 'dev';
const READING_BASE_URI = process.env.READING_BASE_URI! ?? 'https://www.oyvindis.com'
const READING_BASE_URI = process.env.NEXT_PUBLIC_READING_BASE_URI! ?? 'https://www.oyvindis.com'

const env = {
NAMESPACE,
Expand Down
2 changes: 1 addition & 1 deletion helm-sources/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- env:
- name: READING_BASE_URI
- name: NEXT_PUBLIC_READING_BASE_URI
valueFrom:
secretKeyRef:
name: climate-gui-{{ required "Missing value NAMESPACE" .Values.NAMESPACE }}
Expand Down
2 changes: 1 addition & 1 deletion helm-sources/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ spec:
selector:
app: climate-gui
ports:
- port: 5000
- port: 3000
status:
loadBalancer: {}

0 comments on commit 9fef1ea

Please sign in to comment.