Skip to content

Commit

Permalink
percocet molly percocet
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander14121 committed Jul 10, 2024
1 parent 3c87314 commit 51836ef
Show file tree
Hide file tree
Showing 25 changed files with 68 additions and 214 deletions.
8 changes: 0 additions & 8 deletions kustomize/base/config-map.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions kustomize/base/db.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions kustomize/base/deployment.yaml

This file was deleted.

36 changes: 36 additions & 0 deletions kustomize/base/flais.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: fintlabs.no/v1alpha1
kind: Application
metadata:
name: fint-adapter-personvern-kodeverk
namespace: fintlabs-no
labels:
app.kubernetes.io/name: fint-adapter-personvern-kodeverk
app.kubernetes.io/instance: fint-adapter-personvern-kodeverk_fintlabs_no
app.kubernetes.io/version: latest
app.kubernetes.io/component: adapter
app.kubernetes.io/part-of: fint-core
fintlabs.no/team: core
fintlabs.no/org-id: fintlabs.no
spec:
port: 8080
orgId: fintlabs.no
image: ghcr.io/fintlabs/fint-adapter-personvern-kodeverk:latest
imagePullPolicy: Always
onePassword:
itemPath: aks-api-vault/fint-personvern-kodeverk-adapter
database:
database: fint-adapter-personvern-kodeverk
resources:
limits:
memory: 512Mi
cpu: 500m
requests:
memory: 256Mi
cpu: 250m
restartPolicy: Always
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
5 changes: 1 addition & 4 deletions kustomize/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- one-password.yaml
- config-map.yaml
- deployment.yaml
- db.yaml
- flais.yaml
6 changes: 0 additions & 6 deletions kustomize/base/one-password.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/alpha/fintlabs-no/config-map.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions kustomize/overlays/alpha/fintlabs-no/kustomization.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/alpha/fintlabs-no/one-password.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/api/fintlabs-no/config-map.yaml

This file was deleted.

22 changes: 15 additions & 7 deletions kustomize/overlays/api/fintlabs-no/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@ kind: Kustomization
namespace: fintlabs-no
resources:
- ../../../base
patchesStrategicMerge:
- config-map.yaml
- one-password.yaml
commonLabels:
app.kubernetes.io/name: fint-personvern-kodeverk-adapter
app.kubernetes.io/instance: fint-personvern-kodeverk-adapter_fintlabs-no
app.kubernetes.io/name: fint-adapter-personvern-kodeverk
app.kubernetes.io/instance: fint-adapter-personvern-kodeverk_fintlabs_no
app.kubernetes.io/version: latest
app.kubernetes.io/component: backend
app.kubernetes.io/component: adapter
app.kubernetes.io/part-of: fint-core
fintlabs.no/team: core
fintlabs.no/org-id: fintlabs.no
fintlabs.no/org-id: fintlabs.no
patches:
- patch: |-
- op: replace
path: "/metadata/labels/app.kubernetes.io~1instance"
value: "fint-adapter-personvern-kodeverk_fintlabs_no"
- op: replace
path: "/spec/orgId"
value: "fintlabs.no"
target:
kind: Application
name: fint-adapter-personvern-kodeverk
6 changes: 0 additions & 6 deletions kustomize/overlays/api/fintlabs-no/one-password.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/api/rogfk-no/config-map.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions kustomize/overlays/api/rogfk-no/kustomization.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/api/rogfk-no/one-password.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/api/viken-no/config-map.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions kustomize/overlays/api/viken-no/kustomization.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/api/viken-no/one-password.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/beta/fintlabs-no/config-map.yaml

This file was deleted.

22 changes: 15 additions & 7 deletions kustomize/overlays/beta/fintlabs-no/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@ kind: Kustomization
namespace: fintlabs-no
resources:
- ../../../base
patchesStrategicMerge:
- config-map.yaml
- one-password.yaml
commonLabels:
app.kubernetes.io/name: fint-personvern-kodeverk-adapter
app.kubernetes.io/instance: fint-personvern-kodeverk-adapter_fintlabs-no
app.kubernetes.io/name: fint-adapter-personvern-kodeverk
app.kubernetes.io/instance: fint-adapter-personvern-kodeverk_fintlabs_no
app.kubernetes.io/version: latest
app.kubernetes.io/component: backend
app.kubernetes.io/component: adapter
app.kubernetes.io/part-of: fint-core
fintlabs.no/team: core
fintlabs.no/org-id: fintlabs.no
fintlabs.no/org-id: fintlabs.no
patches:
- patch: |-
- op: replace
path: "/metadata/labels/app.kubernetes.io~1instance"
value: "fint-adapter-personvern-kodeverk_fintlabs_no"
- op: replace
path: "/spec/orgId"
value: "fintlabs.no"
target:
kind: Application
name: fint-adapter-personvern-kodeverk
6 changes: 0 additions & 6 deletions kustomize/overlays/beta/fintlabs-no/one-password.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/beta/rogfk-no/config-map.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions kustomize/overlays/beta/rogfk-no/kustomization.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kustomize/overlays/beta/rogfk-no/one-password.yaml

This file was deleted.

5 changes: 1 addition & 4 deletions src/main/resources/application-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,4 @@ spring:
url: ${fint.database.url}
password: ${fint.database.password}
hikari:
schema: ${fint.database.username}
# flyway:
# locations: classpath:db/migration/
# lock-retry-count: 300
schema: ${fint.database.username}

0 comments on commit 51836ef

Please sign in to comment.