Skip to content

Commit 7a17542

Browse files
authored
Merge pull request #23 from navikt/fjern-appd
MMA-7536 Sanert appdynamics
2 parents 1e603f2 + 9617b66 commit 7a17542

File tree

5 files changed

+6
-26
lines changed

5 files changed

+6
-26
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
FROM ghcr.io/navikt/baseimages/temurin:21-appdynamics
2-
ENV APPD_ENABLED=true
1+
FROM ghcr.io/navikt/baseimages/temurin:21
32

43
COPY target/app.jar app.jar
5-
COPY export-vault-secrets.sh /init-scripts/export-vault-secrets.sh
64

7-
ENV JAVA_OPTS="-Xmx1024m \
5+
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75 \
86
-Djava.security.egd=file:/dev/./urandom \
97
-Dspring.profiles.active=nais"

export-vault-secrets.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

nais/naiserator.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,12 @@ spec:
4848
namespace: traktor
4949
cluster: prod-fss
5050
webproxy: true
51-
vault:
52-
enabled: true
53-
paths:
54-
- kvPath: {{ APPDYNAMICS }}
55-
mountPath: /var/run/secrets/nais.io/appdynamics
5651
replicas:
5752
min: {{ MIN_REPLICAS }}
5853
max: {{ MAX_REPLICAS }}
5954
cpuThresholdPercentage: 50
6055
resources:
6156
requests:
62-
cpu: 250m
63-
memory: 256Mi
57+
memory: 128Mi
6458
limits:
65-
memory: 1024Mi
59+
memory: 512Mi

nais/p-config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616
"BILAG_AZURE_SCOPE": "api://prod-fss.teamdokumenthandtering.bilag/.default",
1717
"BILAG_BASE_URL": "https://bilag.intern.nav.no",
1818
"BILAG_ENDPOINTS_BREVSERVER_URL": "https://brevserver-nais.intern.nav.no/brevweb",
19-
"BILAG_ENDPOINTS_BREVSERVER_SCOPE": "api://prod-fss.teamdokumenthandtering.brevserver-nais/.default",
20-
"APPDYNAMICS": "/apikey/appdynamics/prod"
19+
"BILAG_ENDPOINTS_BREVSERVER_SCOPE": "api://prod-fss.teamdokumenthandtering.brevserver-nais/.default"
2120
}

nais/q1-config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616
"BILAG_AZURE_SCOPE": "api://dev-fss.teamdokumenthandtering.bilag-q1/.default",
1717
"BILAG_BASE_URL": "https://bilag-q1.dev.intern.nav.no",
1818
"BILAG_ENDPOINTS_BREVSERVER_URL": "https://brevserver-nais-q1.dev.intern.nav.no/brevweb",
19-
"BILAG_ENDPOINTS_BREVSERVER_SCOPE": "api://dev-fss.teamdokumenthandtering.brevserver-nais-q1/.default",
20-
"APPDYNAMICS": "/apikey/appdynamics/dev"
19+
"BILAG_ENDPOINTS_BREVSERVER_SCOPE": "api://dev-fss.teamdokumenthandtering.brevserver-nais-q1/.default"
2120
}

0 commit comments

Comments
 (0)