Skip to content

Commit

Permalink
sonar and helm fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Jan 31, 2024
1 parent 29e752f commit 4fb6e25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/src/health.controller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller, Get, Res } from "@nestjs/common";
import { Controller, Get } from "@nestjs/common";
import { HealthCheckService, HealthCheck, PrismaHealthIndicator } from "@nestjs/terminus";
import { PrismaService } from "nestjs-prisma";
@Controller("health")
Expand Down
6 changes: 3 additions & 3 deletions charts/quickstart-openshift/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ backend:
nodeSelector: { }
tolerations: [ ]
affinity: { }
podAnnotations:
podAnnotations: |
prometheus.io/scrape: 'true'
prometheus.io/port: '3000'
prometheus.io/path: '/api/metrics'
Expand Down Expand Up @@ -312,11 +312,11 @@ frontend:
initialDelaySeconds: 15
periodSeconds: 30
timeoutSeconds: 5
#-- autoscaling for the component. it is optional and is an object.
podAnnotations:
podAnnotations: |
prometheus.io/scrape: 'true'
prometheus.io/port: '3003'
prometheus.io/path: '/metrics'
#-- autoscaling for the component. it is optional and is an object.
autoscaling:
#-- enable or disable autoscaling.
enabled: true
Expand Down

0 comments on commit 4fb6e25

Please sign in to comment.