Skip to content

Commit

Permalink
Merge pull request #54 from meisterplan/feature/KNUTH-108100-improve-…
Browse files Browse the repository at this point in the history
…identificationfilte

KNUTH-108100 Improve identification/filtering of DR alerts/issues
  • Loading branch information
itd-jsu authored Nov 22, 2024
2 parents 22b4325 + 32d925f commit 72a92b9
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# spring-service

## 3.17.0

- Remove outdated `CLUSTER_NAME` env which is replaced by `CLUSTER_ID`, `ENV_NAME`, and `DISASTER_RECOVERY_TEST`.
This is mainly relevant for updated Sentry configuration.

## 3.16.0

- Set default SIGKILL timeout to 5min to allow graceful shutdown of Spring server
Expand Down
2 changes: 1 addition & 1 deletion charts/spring-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
name: spring-service
description: A generalized deployment for Meisterplan Spring Boot services in Kubernetes.
version: 3.16.0
version: 3.17.0
9 changes: 7 additions & 2 deletions charts/spring-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,21 @@ spec:
- name: "SPRING_PROFILES_ACTIVE"
value: "prod,tracing"

- name: "CLUSTER_NAME" # Deprecated, should be removed in a later helm chart
- name: "CLUSTER_ID"
valueFrom:
configMapKeyRef:
name: region
key: cluster-name
key: cluster-id
- name: "ENV_NAME"
valueFrom:
configMapKeyRef:
name: region
key: env-name
- name: "DISASTER_RECOVERY_TEST"
valueFrom:
configMapKeyRef:
name: region
key: disaster-recovery-test

# Tracing environment configuration (Spring Boot 2.x)
- name: "SPRING_SLEUTH_ENABLED"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,21 @@ spec:
- name: "SPRING_PROFILES_ACTIVE"
value: "prod,tracing"

- name: "CLUSTER_NAME" # Deprecated, should be removed in a later helm chart
- name: "CLUSTER_ID"
valueFrom:
configMapKeyRef:
name: region
key: cluster-name
key: cluster-id
- name: "ENV_NAME"
valueFrom:
configMapKeyRef:
name: region
key: env-name
- name: "DISASTER_RECOVERY_TEST"
valueFrom:
configMapKeyRef:
name: region
key: disaster-recovery-test

# Tracing environment configuration (Spring Boot 2.x)
- name: "SPRING_SLEUTH_ENABLED"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,21 @@ spec:
- name: "SPRING_PROFILES_ACTIVE"
value: "prod,tracing"

- name: "CLUSTER_NAME" # Deprecated, should be removed in a later helm chart
- name: "CLUSTER_ID"
valueFrom:
configMapKeyRef:
name: region
key: cluster-name
key: cluster-id
- name: "ENV_NAME"
valueFrom:
configMapKeyRef:
name: region
key: env-name
- name: "DISASTER_RECOVERY_TEST"
valueFrom:
configMapKeyRef:
name: region
key: disaster-recovery-test

# Tracing environment configuration (Spring Boot 2.x)
- name: "SPRING_SLEUTH_ENABLED"
Expand Down

0 comments on commit 72a92b9

Please sign in to comment.