Skip to content

Commit 39f3085

Browse files
committed
Add acasainsiguranta
1 parent 19f6347 commit 39f3085

File tree

4 files changed

+113
-125
lines changed

4 files changed

+113
-125
lines changed

apps/acasainsiguranta/domain-mapping.yaml

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

apps/acasainsiguranta/service.yaml

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

apps/acasainsiguranta/values.yaml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
fullnameOverride: acasainsiguranta
2+
3+
image:
4+
repository: code4romania/website-factory
5+
tag: 1.10.5
6+
7+
ingress:
8+
enabled: true
9+
hosts:
10+
- host: acasainsiguranta.ro
11+
paths:
12+
- path: /
13+
pathType: ImplementationSpecific
14+
tls:
15+
- secretName: acasainsiguranta-tls
16+
hosts:
17+
- acasainsiguranta.ro
18+
19+
resources:
20+
requests:
21+
cpu: 10m
22+
memory: 60M
23+
limits:
24+
cpu: 200m
25+
memory: 256M
26+
27+
env:
28+
- name: WEBSITE_FACTORY_EDITION
29+
value: "internal"
30+
- name: WEBSITE_FACTORY_HIDE_BANNER
31+
value: "false"
32+
- name: APP_URL
33+
value: "https://acasainsiguranta.ro"
34+
- name: APP_KEY
35+
valueFrom:
36+
secretKeyRef:
37+
name: acasainsiguranta-secret
38+
key: APP_KEY
39+
- name: DB_HOST
40+
valueFrom:
41+
secretKeyRef:
42+
name: acasainsiguranta-secret
43+
key: DB_HOST
44+
- name: DB_DATABASE
45+
valueFrom:
46+
secretKeyRef:
47+
name: acasainsiguranta-secret
48+
key: DB_DATABASE
49+
- name: DB_USERNAME
50+
valueFrom:
51+
secretKeyRef:
52+
name: acasainsiguranta-secret
53+
key: DB_USERNAME
54+
- name: DB_PASSWORD
55+
valueFrom:
56+
secretKeyRef:
57+
name: acasainsiguranta-secret
58+
key: DB_PASSWORD
59+
- name: MAIL_HOST
60+
valueFrom:
61+
secretKeyRef:
62+
name: acasainsiguranta-secret
63+
key: MAIL_HOST
64+
- name: MAIL_USERNAME
65+
valueFrom:
66+
secretKeyRef:
67+
name: acasainsiguranta-secret
68+
key: MAIL_USERNAME
69+
- name: MAIL_PASSWORD
70+
valueFrom:
71+
secretKeyRef:
72+
name: acasainsiguranta-secret
73+
key: MAIL_PASSWORD
74+
- name: MAIL_FROM_ADDRESS
75+
valueFrom:
76+
secretKeyRef:
77+
name: acasainsiguranta-secret
78+
key: MAIL_FROM_ADDRESS
79+
- name: FILESYSTEM_DRIVER
80+
value: "s3"
81+
- name: FILESYSTEM_CLOUD
82+
value: "s3"
83+
- name: AWS_ACCESS_KEY_ID
84+
valueFrom:
85+
secretKeyRef:
86+
name: acasainsiguranta-secret
87+
key: AWS_ACCESS_KEY_ID
88+
- name: AWS_SECRET_ACCESS_KEY
89+
valueFrom:
90+
secretKeyRef:
91+
name: acasainsiguranta-secret
92+
key: AWS_SECRET_ACCESS_KEY
93+
- name: AWS_DEFAULT_REGION
94+
valueFrom:
95+
secretKeyRef:
96+
name: acasainsiguranta-secret
97+
key: AWS_DEFAULT_REGION
98+
- name: AWS_BUCKET
99+
valueFrom:
100+
secretKeyRef:
101+
name: acasainsiguranta-secret
102+
key: AWS_BUCKET

apps/argo-apps/apps.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,20 @@ spec:
1616
name: "{{ .path.basename }}"
1717
spec:
1818
project: default
19-
source:
20-
path: apps/{{ .path.basename }}
21-
repoURL: https://github.com/code4romania/code4ro-k8s.git
22-
targetRevision: HEAD
19+
sources:
20+
- path: apps/{{ .path.basename }}
21+
repoURL: https://github.com/code4romania/code4ro-k8s.git
22+
targetRevision: HEAD
23+
- path: charts/universal-app
24+
repoURL: https://github.com/code4romania/code4ro-k8s.git
25+
targetRevision: HEAD
26+
helm:
27+
valueFiles:
28+
- apps/{{ .path.basename }}/values.yaml
2329
destination:
2430
namespace: "{{ .path.basename }}"
2531
server: https://kubernetes.default.svc
2632
syncPolicy:
27-
automated: {}
33+
# automated: {}
2834
syncOptions:
2935
- CreateNamespace=true

0 commit comments

Comments
 (0)