Skip to content

Commit d28de52

Browse files
committed
refactor: Remove 'lago' namespace from Helm chart configurations
Eliminate the 'lago' namespace specification from the Postgres and Redis chart files, as well as from the Taskfile and GitHub Actions workflow. This change simplifies multiple parts of the github action and testing workflow
1 parent af1b5d7 commit d28de52

5 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/chart-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454

5555
- name: Run chart-testing (install)
5656
if: steps.list-changed.outputs.changed == 'true'
57-
run: ct install --config ct.yaml --namespace lago
57+
run: ct install --config ct.yaml

Taskfile.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ tasks:
3535
msg: "❌ chart-testing not found (see: https://github.com/helm/chart-testing)"
3636
cmds:
3737
- task: kind:up
38-
- kubectl create namespace lago
3938
- kubectl apply -f charts/lago/ci/postgres.yml
4039
- kubectl apply -f charts/lago/ci/redis.yml
41-
- ct install --config ct.yaml --namespace lago
40+
- ct install --config ct.yaml

charts/lago/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: "1.32.4"
33
description: the Lago open source billing app
44
name: lago
5-
version: 1.26.0
5+
version: 1.26.1
66
dependencies:
77
- name: minio
88
version: "5.2.0"

charts/lago/ci/postgres.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: postgres
5-
namespace: lago
65
spec:
76
replicas: 1
87
selector:
@@ -30,11 +29,10 @@ apiVersion: v1
3029
kind: Service
3130
metadata:
3231
name: postgres
33-
namespace: lago
3432
spec:
3533
type: ClusterIP
3634
selector:
3735
app: postgres
3836
ports:
3937
- port: 5432
40-
targetPort: 5432
38+
targetPort: 5432

charts/lago/ci/redis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: redis
5-
namespace: lago
65
spec:
76
replicas: 1
87
selector:
@@ -23,11 +22,10 @@ apiVersion: v1
2322
kind: Service
2423
metadata:
2524
name: redis
26-
namespace: lago
2725
spec:
2826
type: ClusterIP
2927
selector:
3028
app: redis
3129
ports:
3230
- port: 6379
33-
targetPort: 6379
31+
targetPort: 6379

0 commit comments

Comments
 (0)