Skip to content

Commit

Permalink
Fjernet appdynamics, lagt til import av srvuser fra google secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
albrektsson committed Nov 6, 2023
1 parent 802e366 commit a2e104b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 51 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
FROM ghcr.io/navikt/baseimages/temurin:17-appdynamics

ENV APPD_ENABLED=true
FROM gcr.io/distroless/java17-debian11:nonroot
LABEL org.opencontainers.image.source=https://github.com/navikt/k9-punsj

COPY docker-init-scripts/import-serviceuser-credentials.sh /init-scripts/21-import-serviceuser-credentials.sh
COPY docker-init-scripts/import-appdynamics-settings.sh /init-scripts/22-import-appdynamics-settings.sh


WORKDIR /app
COPY target/*.jar app.jar

CMD [ "app.jar" ]
27 changes: 0 additions & 27 deletions docker-init-scripts/import-appdynamics-settings.sh

This file was deleted.

15 changes: 0 additions & 15 deletions docker-init-scripts/import-serviceuser-credentials.sh

This file was deleted.

1 change: 0 additions & 1 deletion nais/dev-gcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
],
"database": {
"tier": "db-n1-standard-1",
"diskAutoresize": "true",
"highAvailability": "false"
},
"azureGrupper": [
Expand Down
4 changes: 3 additions & 1 deletion nais/naiserator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
gcp:
sqlInstances:
- type: POSTGRES_14
tier: db-f1-micro
tier: ${{ database.tier }}
diskAutoresize: true
highAvailability: {{ database.highAvailability }}
databases:
Expand Down Expand Up @@ -61,6 +61,8 @@ spec:
path: /internal/actuator/prometheus
kafka:
pool: nav-dev
envFrom:
- secret: k9-punsj-serviceuser
env:
{{#each env}}
- name: {{@key}}
Expand Down

0 comments on commit a2e104b

Please sign in to comment.