Skip to content

Commit a3841d4

Browse files
committed
Chore update examples
1 parent 4feaca1 commit a3841d4

File tree

2 files changed

+44
-106
lines changed

2 files changed

+44
-106
lines changed

examples/full-example.yaml

+44-45
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,32 @@ metadata:
1111
app.kubernetes.io/part-of: flais
1212
fintlabs.no/team: flais
1313
spec:
14-
port: 80
1514
org-id: rogfk.no
15+
16+
replicas: 1
17+
port: 80
1618
image: docker/getting-started
17-
prometheus:
18-
enabled: true
19-
port: "80"
20-
path: /prometheus
19+
resources:
20+
limits:
21+
memory: "1024Mi"
22+
cpu: "1"
23+
requests:
24+
memory: "128Mi"
25+
cpu: "100m"
26+
27+
strategy:
28+
type: RollingUpdate
29+
rollingUpdate:
30+
maxSurge: 1
31+
maxUnavailable: 0
32+
33+
observability:
34+
metrics:
35+
path: /metrics
36+
port: 8080
37+
logging:
38+
loki: true
39+
2140
env:
2241
- name: ENV1
2342
value: test
@@ -28,50 +47,30 @@ spec:
2847
envFrom:
2948
- secretRef:
3049
name: flais-test-application-secret
50+
- configMapRef:
51+
name: flais-test-application-configmap
3152
onePassword:
3253
itemPath: "vaults/aks-alpha-vault/items/azurerator"
33-
storage:
34-
container-blob: true
35-
file-share: true
3654
database:
37-
enabled: true
38-
auth:
39-
application:
40-
enabled: true
41-
allowedUsers:
42-
43-
service:
44-
enabled: true
45-
fint:
46-
adapter:
47-
shortDescription: Test adapter
48-
components:
49-
- administrasjon_kodeverk
50-
- administrasjon_personal
51-
client:
52-
shortDescription: Test client
53-
components:
54-
- administrasjon_kodeverk
55-
- administrasjon_personal
56-
url:
57-
hostname: test.flais.io
58-
basePath: /alpha/fintlabs-no
59-
ingress:
60-
enabled: true
61-
#match: Host(`alpha.felleskomponent.no`) && PathPrefix(`/`)
55+
database: test
6256
kafka:
6357
acls:
6458
- topic: '*.test.topic'
6559
permission: read
66-
resources:
67-
limits:
68-
memory: "1024Mi"
69-
cpu: "1"
70-
requests:
71-
memory: "128Mi"
72-
cpu: "100m"
73-
restartPolicy: Always
74-
replicas: 2
75-
strategy:
76-
type: RollingUpdate
77-
rollingUpdate: { maxSurge: 1, maxUnavailable: 0 }
60+
61+
ingress:
62+
routes:
63+
- host: flais-test-application.example.com
64+
path: /test
65+
headers:
66+
x-forwarded: flais-test-application.example.com
67+
x-forwarded-path: re:^test(.*)$
68+
queries:
69+
showAll: false
70+
isRegex: re:.*
71+
- host: flais-test-application.example.com
72+
path: re:/test2(.*)$
73+
middlewares:
74+
- some-middleware
75+
middlewares:
76+
- another-middleware

examples/simple-example.yaml

-61
This file was deleted.

0 commit comments

Comments
 (0)