Skip to content

Commit f2c4e7a

Browse files
author
David Ragot
committed
feat: move regions chart
1 parent d5170e5 commit f2c4e7a

File tree

9 files changed

+634
-1
lines changed

9 files changed

+634
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
| [Demo](./charts/demo/README.md) | 2.0.0 |latest | Formance Private Regions Demo | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/demo)](https://artifacthub.io/packages/search?repo=demo) |
1212
| [Membership](./charts/membership/README.md) | v1.0.0-beta.1 |v0.35.3 | Formance Membership API. Manage stacks, organizations, regions, invitations, users, roles, and permissions. | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/membership)](https://artifacthub.io/packages/search?repo=membership) |
1313
| [Portal](./charts/portal/README.md) | v1.0.0-beta.1 |764bb7e199e1d2882e4d5cd205eada0ef0abc283 | Formance Portal | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/portal)](https://artifacthub.io/packages/search?repo=portal) |
14+
| [Regions](./charts/regions/README.md) | v2.1.0 |latest | Formance Private Regions Helm Chart | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/regions)](https://artifacthub.io/packages/search?repo=regions) |
1415
| [Stargate](./charts/stargate/README.md) | 0.3.0 |latest | Formance Stargate gRPC Gateway | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/stargate)](https://artifacthub.io/packages/search?repo=stargate) |
1516

1617
## How to contribute

charts/agent/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

charts/regions/Chart.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
dependencies:
2+
- name: agent
3+
repository: file://../agent
4+
version: v2.1.0
5+
- name: operator
6+
repository: oci://ghcr.io/formancehq/helm
7+
version: v2.0.19
8+
digest: sha256:49f9c10fd891c344637f7f54a911e6b111b91cc4255ec6e95d3c74a1463b1df8
9+
generated: "2024-10-14T10:52:32.636937553Z"

charts/regions/Chart.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
apiVersion: v2
2+
name: regions
3+
description: Formance Private Regions Helm Chart
4+
home: "https://formance.com"
5+
sources:
6+
- "https://github.com/formancehq/operator"
7+
- "https://github.com/formancehq/agent"
8+
maintainers:
9+
- name: "Formance Team"
10+
11+
icon: "https://avatars.githubusercontent.com/u/84325077?s=200&v=4"
12+
13+
type: application
14+
version: "v2.1.0"
15+
appVersion: "latest"
16+
17+
dependencies:
18+
- name: agent
19+
version: v2.1.0
20+
repository: "file://../agent"
21+
condition: agent.enabled
22+
- name: operator
23+
version: v2.0.19
24+
repository: "oci://ghcr.io/formancehq/helm"
25+
condition: operator.enabled

charts/regions/Earthfile

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
VERSION --wildcard-builds --wildcard-copy 0.8
2+
3+
IMPORT ../ AS charts
4+
IMPORT ../agent AS agent
5+
6+
schema:
7+
FROM charts+schema-base
8+
WORKDIR /src
9+
DO --pass-args charts+SCHEMA
10+
11+
readme:
12+
FROM charts+readme-base
13+
WORKDIR /src/agent/
14+
COPY --dir (agent+dependencies/*) .
15+
WORKDIR /src/regions
16+
COPY --dir (+sources/*) .
17+
DO --pass-args charts+README_GENERATOR
18+
19+
sources:
20+
DO --pass-args charts+BASE
21+
WORKDIR /src/regions
22+
COPY (+schema/*) .
23+
DO --pass-args charts+SOURCES
24+
25+
dependencies:
26+
FROM +sources
27+
WORKDIR /src/agent/
28+
COPY --dir (agent+dependencies/*) .
29+
WORKDIR /src/regions
30+
DO --pass-args charts+DEPENDENCIES
31+
32+
validate:
33+
FROM +dependencies
34+
WORKDIR /src/regions
35+
COPY (+readme/*) .
36+
DO --pass-args charts+VALIDATE
37+
38+
package:
39+
FROM +validate
40+
WORKDIR /src/regions
41+
DO --pass-args charts+PACKAGE

charts/regions/README.md

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# regions
2+
3+
![Version: v2.1.0](https://img.shields.io/badge/Version-v2.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
4+
5+
Formance Private Regions Helm Chart
6+
7+
**Homepage:** <https://formance.com>
8+
9+
## Maintainers
10+
11+
| Name | Email | Url |
12+
| ---- | ------ | --- |
13+
| Formance Team | <[email protected]> | |
14+
15+
## Source Code
16+
17+
* <https://github.com/formancehq/operator>
18+
* <https://github.com/formancehq/agent>
19+
20+
## Requirements
21+
22+
| Repository | Name | Version |
23+
|------------|------|---------|
24+
| file://../agent | agent | v2.1.0 |
25+
| oci://ghcr.io/formancehq/helm | operator | v2.0.19 |
26+
27+
## Values
28+
29+
| Key | Type | Default | Description |
30+
|-----|------|---------|-------------|
31+
| global.monitoring.logs.format | string | `"json"` | |
32+
| global.serviceName | string | `"agent"` | |
33+
| agent.agent.authentication.clientID | string | `"REGION_ID"` | |
34+
| agent.agent.authentication.clientSecret | string | `""` | |
35+
| agent.agent.authentication.issuer | string | `"https://app.formance.cloud/api"` | |
36+
| agent.agent.authentication.mode | string | `"bearer"` | |
37+
| agent.agent.baseUrl | string | `"https://sandbox.formance.cloud"` | |
38+
| agent.agent.id | string | `"aws-eu-west-1-sandbox"` | |
39+
| agent.enabled | bool | `false` | |
40+
| agent.image.tag | string | `""` | |
41+
| agent.server.address | string | `"app.formance.cloud:443"` | |
42+
| agent.server.tls.enabled | bool | `true` | |
43+
| agent.server.tls.insecureSkipVerify | bool | `true` | |
44+
| operator.enabled | bool | `true` | |
45+
| operator.fullnameOverride | string | `"operator"` | |
46+
| operator.image.repository | string | `"ghcr.io/formancehq/operator"` | |
47+
| operator.image.tag | string | `""` | |
48+
| operator.nameOverride | string | `"operator"` | |
49+
| operator.operator-crds.create | bool | `true` | |
50+
| operator.operator.disableWebhooks | bool | `false` | |
51+
| operator.operator.enableLeaderElection | bool | `true` | |
52+
| operator.operator.env | string | `"private"` | |
53+
| operator.operator.licence.create | bool | `true` | |
54+
| operator.operator.licence.issuer | string | `""` | |
55+
| operator.operator.licence.secretName | string | `""` | |
56+
| operator.operator.licence.token | string | `""` | |
57+
| operator.operator.metricsAddr | string | `":8080"` | |
58+
| operator.operator.probeAddr | string | `":8081"` | |
59+
| operator.operator.region | string | `"private"` | |
60+
| versions.create | bool | `true` | |
61+
| versions.files."v1.0".auth | string | `"v0.4.4"` | |
62+
| versions.files."v1.0".gateway | string | `"v2.0.17"` | |
63+
| versions.files."v1.0".ledger | string | `"v1.10.14"` | |
64+
| versions.files."v1.0".operator-utils | string | `"v2.0.17"` | |
65+
| versions.files."v1.0".orchestration | string | `"v0.2.1"` | |
66+
| versions.files."v1.0".payments | string | `"v1.0.0-rc.5"` | |
67+
| versions.files."v1.0".reconciliation | string | `"v0.1.0"` | |
68+
| versions.files."v1.0".search | string | `"v0.10.0"` | |
69+
| versions.files."v1.0".stargate | string | `"v0.1.10"` | |
70+
| versions.files."v1.0".wallets | string | `"v0.4.6"` | |
71+
| versions.files."v1.0".webhooks | string | `"v2.0.17"` | |
72+
| versions.files."v2.0".auth | string | `"v2.0.17"` | |
73+
| versions.files."v2.0".gateway | string | `"v2.0.17"` | |
74+
| versions.files."v2.0".ledger | string | `"v2.0.17"` | |
75+
| versions.files."v2.0".operator-utils | string | `"v2.0.17"` | |
76+
| versions.files."v2.0".orchestration | string | `"v2.0.17"` | |
77+
| versions.files."v2.0".payments | string | `"v2.0.17"` | |
78+
| versions.files."v2.0".reconciliation | string | `"v2.0.17"` | |
79+
| versions.files."v2.0".search | string | `"v2.0.17"` | |
80+
| versions.files."v2.0".stargate | string | `"v2.0.17"` | |
81+
| versions.files."v2.0".wallets | string | `"v2.0.17"` | |
82+
| versions.files."v2.0".webhooks | string | `"v2.0.17"` | |
83+
| versions.files."v2.1".auth | string | `"v2.1.0-beta.1"` | |
84+
| versions.files."v2.1".gateway | string | `"v2.1.0-beta.1"` | |
85+
| versions.files."v2.1".ledger | string | `"v2.1.0-beta.1"` | |
86+
| versions.files."v2.1".operator-utils | string | `"v2.1.0-beta.1"` | |
87+
| versions.files."v2.1".orchestration | string | `"v2.1.0-beta.1"` | |
88+
| versions.files."v2.1".payments | string | `"v2.1.0-beta.1"` | |
89+
| versions.files."v2.1".reconciliation | string | `"v2.1.0-beta.1"` | |
90+
| versions.files."v2.1".search | string | `"v2.1.0-beta.1"` | |
91+
| versions.files."v2.1".stargate | string | `"v2.1.0-beta.1"` | |
92+
| versions.files."v2.1".wallets | string | `"v2.1.0-beta.1"` | |
93+
| versions.files."v2.1".webhooks | string | `"v2.1.0-beta.1"` | |
94+
| versions.files.default.auth | string | `"v0.4.4"` | |
95+
| versions.files.default.gateway | string | `"v2.0.17"` | |
96+
| versions.files.default.ledger | string | `"v1.10.14"` | |
97+
| versions.files.default.operator-utils | string | `"v2.0.17"` | |
98+
| versions.files.default.orchestration | string | `"v0.2.1"` | |
99+
| versions.files.default.payments | string | `"v1.0.0-rc.5"` | |
100+
| versions.files.default.reconciliation | string | `"v0.1.0"` | |
101+
| versions.files.default.search | string | `"v0.10.0"` | |
102+
| versions.files.default.stargate | string | `"v0.1.10"` | |
103+
| versions.files.default.wallets | string | `"v0.4.6"` | |
104+
| versions.files.default.webhooks | string | `"v2.0.17"` | |
105+
| agent.affinity | object | `{}` | |
106+
| agent.agent.authentication.clientID | string | `""` | |
107+
| agent.agent.authentication.clientSecret | string | `""` | |
108+
| agent.agent.authentication.issuer | string | `"https://app.formance.cloud/api"` | |
109+
| agent.agent.authentication.mode | string | `"bearer"` | |
110+
| agent.agent.baseUrl | string | `""` | |
111+
| agent.agent.id | string | `"b7549a16-f74a-4815-ab1e-bb8ef1c3833b"` | |
112+
| agent.agent.production | bool | `false` | |
113+
| agent.config.monitoring.serviceName | string | `"agent"` | |
114+
| agent.debug | bool | `false` | |
115+
| agent.fullnameOverride | string | `""` | |
116+
| agent.image.pullPolicy | string | `"IfNotPresent"` | |
117+
| agent.image.repository | string | `"ghcr.io/formancehq/agent"` | |
118+
| agent.image.tag | string | `""` | |
119+
| agent.imagePullSecrets | list | `[]` | |
120+
| agent.nameOverride | string | `""` | |
121+
| agent.nodeSelector | object | `{}` | |
122+
| agent.podAnnotations | object | `{}` | |
123+
| agent.podSecurityContext | object | `{}` | |
124+
| agent.resources.limits.cpu | string | `"100m"` | |
125+
| agent.resources.limits.memory | string | `"128Mi"` | |
126+
| agent.resources.requests.cpu | string | `"100m"` | |
127+
| agent.resources.requests.memory | string | `"128Mi"` | |
128+
| agent.securityContext | object | `{}` | |
129+
| agent.server.address | string | `"app.formance.cloud:443"` | |
130+
| agent.server.tls.enabled | bool | `true` | |
131+
| agent.server.tls.insecureSkipVerify | bool | `true` | |
132+
| agent.serviceAccount.annotations | object | `{}` | |
133+
| agent.tolerations | list | `[]` | |
134+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{ if and .Values.versions.create }}
2+
{{- range $key, $version := .Values.versions.files }}
3+
apiVersion: formance.com/v1beta1
4+
kind: Versions
5+
metadata:
6+
name: {{ $key }}
7+
spec:
8+
{{- range $k, $v := $version }}
9+
{{ $k }}: {{ $v }}
10+
{{- end }}
11+
---
12+
{{- end }}
13+
{{- end }}

0 commit comments

Comments
 (0)