Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update helm config #95

Merged
merged 2 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions helm_deploy/hmpps-learner-records-api/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
generic-service:
serviceAccountName: hmpps-learner-records
nameOverride: hmpps-learner-records-api
productId: "DPS121" # productId for the product that this belongs too, i.e. DPS001, see README.md for details

Expand All @@ -25,7 +24,6 @@ generic-service:
LRS_CONNECT_TIMEOUT: "20"
LRS_WRITE_TIMEOUT: "20"
LRS_READ_TIMEOUT: "20"
HMPPS_SQS_USE_WEB_TOKEN: "true"

volumeMounts:
- mountPath: "/certs"
Expand All @@ -49,12 +47,6 @@ generic-service:
PFX_FILE_PASSWORD: "PFX_FILE_PASSWORD"
UK_PRN: "UK_PRN"
VENDOR_ID: "VENDOR_ID"
HMPPS_SQS_QUEUES_AUDIT_QUEUE_NAME: "SQS_QUEUE_NAME"
rds-postgresql-instance-output:
RDS_INSTANCE_ENDPOINT: "rds_instance_endpoint"
DATABASE_NAME: "database_name"
DATABASE_USERNAME: "database_username"
DATABASE_PASSWORD: "database_password"

allowlist:
groups:
Expand Down
13 changes: 12 additions & 1 deletion helm_deploy/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

generic-service:
replicaCount: 2
serviceAccountName: hmpps-learner-records

ingress:
host: learner-records-api-dev.hmpps.service.justice.gov.uk
Expand All @@ -12,8 +13,18 @@ generic-service:
HMPPS_AUTH_URL: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth"
LRS_BASE_URL: "https://cmp-ws.dev.lrs.education.gov.uk"
LRS_PFX_PATH: "/certs/WebServiceClientCert.pfx"
HMPPS_SQS_USE_WEB_TOKEN: "true"

namespace_secrets:
app-config-variables:
HMPPS_SQS_QUEUES_AUDIT_QUEUE_NAME: "SQS_QUEUE_NAME"
rds-postgresql-instance-output:
RDS_INSTANCE_ENDPOINT: "rds_instance_endpoint"
DATABASE_NAME: "database_name"
DATABASE_USERNAME: "database_username"
DATABASE_PASSWORD: "database_password"

# CloudPlatform AlertManager receiver to route prometheus alerts to slack
# See https://user-guide.cloud-platform.service.justice.gov.uk/documentation/monitoring-an-app/how-to-create-alarms.html#creating-your-own-custom-alerts
generic-prometheus-alerts:
alertSeverity: digital-prison-service-dev
alertSeverity: education-alerts-non-prod
2 changes: 1 addition & 1 deletion helm_deploy/values-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ generic-service:
# CloudPlatform AlertManager receiver to route prometheus alerts to slack
# See https://user-guide.cloud-platform.service.justice.gov.uk/documentation/monitoring-an-app/how-to-create-alarms.html#creating-your-own-custom-alerts
generic-prometheus-alerts:
alertSeverity: digital-prison-service-dev
alertSeverity: education-alerts-non-prod
2 changes: 1 addition & 1 deletion helm_deploy/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ generic-service:
# CloudPlatform AlertManager receiver to route prometheus alerts to slack
# See https://user-guide.cloud-platform.service.justice.gov.uk/documentation/monitoring-an-app/how-to-create-alarms.html#creating-your-own-custom-alerts
generic-prometheus-alerts:
alertSeverity: digital-prison-service
alertSeverity: education-alerts
2 changes: 1 addition & 1 deletion helm_deploy/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ generic-service:
# CloudPlatform AlertManager receiver to route prometheus alerts to slack
# See https://user-guide.cloud-platform.service.justice.gov.uk/documentation/monitoring-an-app/how-to-create-alarms.html#creating-your-own-custom-alerts
generic-prometheus-alerts:
alertSeverity: digital-prison-service-dev
alertSeverity: education-alerts-non-prod