Skip to content

Commit 0159c25

Browse files
committed
replace custom kubernetes code with helmfile
1 parent cb4bb8b commit 0159c25

7 files changed

+65
-143
lines changed

helmfile/helmfile.yaml.gotmpl

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
environments:
3+
default:
4+
values:
5+
- ./environments/default.yaml
6+
---
7+
repositories:
8+
- name: prometheus-community
9+
url: https://prometheus-community.github.io/helm-charts
10+
- name: ocelot-social
11+
url: git+https://github.com/Ocelot-Social-Community/Ocelot-Social@deployment/hetzner/helmfile/ocelot-social?ref=hetzner
12+
13+
apiVersions:
14+
- monitoring.coreos.com/v1
15+
16+
releases:
17+
- name: prometheus
18+
namespace: monitoring
19+
chart: prometheus-community/kube-prometheus-stack
20+
21+
- name: reformer-ocelot
22+
namespace: {{ .StateValues.namespace }}
23+
chart: ocelot-social/ocelot-social
24+
values:
25+
- ./values/ocelot.yaml.gotmpl
26+
secrets:
27+
- ./secrets/ocelot.yaml

helmfile/values/ocelot.yaml.gotmpl

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
domain: {{ .StateValues.domain }}
2+
3+
cert_manager:
4+
issuer: reformer-network-letsencrypt-prod
5+
6+
cert_manager:
7+
issuer: {{ .Release.Name }}-letsencrypt-prod
8+
9+
underMaintenance: false
10+
11+
global:
12+
image:
13+
pullPolicy: Always
14+
tag: hetzner
15+
16+
backend:
17+
image:
18+
repository: ghcr.io/it4change/reformer.network/backend
19+
storage: "10Gi"
20+
env:
21+
PRODUCTION_DB_CLEAN_ALLOW: "true"
22+
PUBLIC_REGISTRATION: "true"
23+
INVITE_REGISTRATION: "true"
24+
CATEGORIES_ACTIVE:
25+
26+
webapp:
27+
image:
28+
repository: ghcr.io/it4change/reformer.network/webapp
29+
30+
maintenance:
31+
image:
32+
repository: ghcr.io/it4change/reformer.network/maintenance
33+
34+
neo4j:
35+
image:
36+
repository: ghcr.io/ocelot-social-community/ocelot-social/neo4j
37+
storage: "5Gi"
38+
storageBackups: "10Gi"

kubeconfig.yaml.enc

-1.48 KB
Binary file not shown.

kubernetes/dns.values.yaml.enc

-2
This file was deleted.

kubernetes/dns.values.yaml.template

-12
This file was deleted.

kubernetes/values.yaml.enc

-1.72 KB
Binary file not shown.

kubernetes/values.yaml.template

-129
This file was deleted.

0 commit comments

Comments
 (0)