Skip to content

Commit

Permalink
Merge pull request #16 from bcgov/fix/image-pull-policy
Browse files Browse the repository at this point in the history
Add imagePullPolicy: Always
  • Loading branch information
hannah-macdonald1 authored Oct 22, 2024
2 parents d7ece5b + 51f0515 commit da83034
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ spec:
ports:
- containerPort: {{ .Values.service.containerPort }}
resources: {{- toYaml .Values.resources | nindent 12 }}
imagePullPolicy: Always
restartPolicy: Always
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ async function bootstrap() {
const app = await NestFactory.create<NestExpressApplication>(AppModule);
const port = process.env.PORT ?? 3000;
await app.listen(port);
console.log(`API is running on port ${port}`);
console.log(`API is running on port: ${port}`);
}
bootstrap();

0 comments on commit da83034

Please sign in to comment.