Skip to content

Commit bef73b1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5109816 commit bef73b1

12 files changed

+35
-34
lines changed

charts/drone-tm/Chart.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: Drone Tasking Manager - coordinated drone mapping
44
version: "0.1.0"
55
appVersion: "2025.3.2"
66
maintainers:
7-
8-
name: HOTOSM
7+
8+
name: HOTOSM
99
home: https://github.com/hotosm/drone-tm
1010
icon: https://dronetm.hotosm.org/favicon.png
1111
dependencies:
@@ -24,4 +24,3 @@ dependencies:
2424
repository: oci://registry-1.docker.io/bitnamicharts
2525
condition: redis.enabled
2626
alias: redis
27-

charts/drone-tm/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ This Helm chart deploys the Drone Task Manager application and its dependencies.
55
## Values Files
66

77
### `values.yaml`
8+
89
Default values for the chart. Contains all configurable parameters with sensible defaults.
910

1011
### `values-local.yaml`
12+
1113
Development environment configuration:
14+
1215
- **Purpose**: Local development and testing
1316
- **Usage**: `helm install drone-tm ./charts/drone-tm -f values-local.yaml`
14-
- **Features**:
17+
- **Features**:
1518
- Minimal resource allocation
1619
- Ingress disabled (uses port-forward)
1720
- ODM processing enabled for testing
@@ -29,6 +32,7 @@ Environment-specific configurations (staging, production) are managed in the k8s
2932
## Usage Examples
3033

3134
### Local Development
35+
3236
```bash
3337
# Install with development values
3438
helm install drone-tm ./charts/drone-tm -f values-local.yaml
@@ -38,23 +42,27 @@ helm upgrade drone-tm ./charts/drone-tm -f values-local.yaml
3842
```
3943

4044
### Staging/Production Deployment
45+
4146
Staging and production deployments are managed through ArgoCD applications in the k8s-infra repository. The environment-specific configurations are embedded directly in the ArgoCD Application manifests, eliminating the need for separate values files.
4247

4348
To modify environment-specific settings:
49+
4450
1. Edit the ArgoCD Application manifest in k8s-infra repository
4551
2. Update the `values` section in the `helm` configuration
4652
3. ArgoCD will automatically sync the changes to the cluster
4753

4854
## Dependencies
4955

5056
This chart includes the following subcharts:
57+
5158
- **PostgreSQL**: Database with PostGIS extension
5259
- **MinIO**: S3-compatible object storage
5360
- **Redis**: Caching and task queue
5461

5562
## Configuration
5663

5764
Key configuration areas:
65+
5866
- **Global**: Domain, storage class, ingress class
5967
- **Backend**: API server configuration
6068
- **Frontend**: Web application configuration
@@ -67,17 +75,20 @@ Key configuration areas:
6775
## Secrets
6876

6977
Secrets are managed through Kubernetes secrets and should be created separately:
78+
7079
- `drone-tm-secrets`: Contains database, S3, Redis, and application secrets
7180

7281
## Monitoring
7382

7483
Health checks are configured for all services:
84+
7585
- **Liveness Probe**: Ensures containers are running
7686
- **Readiness Probe**: Ensures containers are ready to serve traffic
7787

7888
## Resources
7989

8090
Resource limits and requests are configured per environment:
91+
8192
- **Development**: Minimal resources for local testing
8293
- **Staging**: Moderate resources for testing
8394
- **Production**: High resources with autoscaling

charts/drone-tm/templates/_helpers.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,3 @@ Create the name of the ODM services
9696
{{- define "drone-tm.odm.worker.fullname" -}}
9797
{{- printf "%s-odm-worker" (include "drone-tm.fullname" .) }}
9898
{{- end }}
99-

charts/drone-tm/templates/backend-ingress.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ spec:
5858
{{- end }}
5959
{{- end }}
6060
{{- end }}
61-

charts/drone-tm/templates/backend-service.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ spec:
1717
{{- include "drone-tm.selectorLabels" . | nindent 4 }}
1818
app.kubernetes.io/component: backend
1919
{{- end }}
20-

charts/drone-tm/templates/frontend-deployment.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,3 @@ spec:
6868
{{- toYaml . | nindent 8 }}
6969
{{- end }}
7070
{{- end }}
71-

charts/drone-tm/templates/frontend-ingress.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ spec:
5858
{{- end }}
5959
{{- end }}
6060
{{- end }}
61-

charts/drone-tm/templates/frontend-service.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ spec:
1717
{{- include "drone-tm.selectorLabels" . | nindent 4 }}
1818
app.kubernetes.io/component: frontend
1919
{{- end }}
20-

charts/drone-tm/templates/odm-nodeodm-deployment.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ spec:
5858
{{- toYaml . | nindent 8 }}
5959
{{- end }}
6060
{{- end }}
61-

charts/drone-tm/templates/serviceaccount.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ metadata:
1010
{{- toYaml . | nindent 4 }}
1111
{{- end }}
1212
{{- end }}
13-

0 commit comments

Comments
 (0)