Skip to content

Commit 50f2ef1

Browse files
committed
chore: improved validate ci
1 parent 4f50788 commit 50f2ef1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/manifest.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,11 @@ metadata:
4545
labels:
4646
app: postgres
4747
spec:
48+
ports:
49+
- port: 5432
4850
selector:
4951
app: postgres
50-
type: NodePort
51-
ports:
52-
- name: postgres
53-
port: 5432
54-
targetPort: 5432
55-
nodePort: 30000
52+
clusterIP: None
5653
---
5754
apiVersion: networking.k8s.io/v1
5855
kind: NetworkPolicy
@@ -157,6 +154,7 @@ spec:
157154
labels:
158155
app: controller
159156
spec:
157+
serviceAccountName: controller
160158
containers:
161159
- name: controller
162160
image: ext-cardano-dbsync:1.0
@@ -166,11 +164,13 @@ spec:
166164
- name: ADDR
167165
value: "0.0.0.0:80"
168166
- name: DB_URL_MAINNET
169-
value: "postgres://user:password@app.postgres.svc.cluster.local:5432/postgres?sslmode=disable"
167+
value: "postgres://user:password@app.project.svc.cluster.local:5432/postgres?sslmode=disable"
170168
- name: DB_URL_PREPROD
171-
value: "postgres://user:password@app.postgres.svc.cluster.local:5432/postgres?sslmode=disable"
169+
value: "postgres://user:password@app.project.svc.cluster.local:5432/postgres?sslmode=disable"
172170
- name: DB_URL_PREVIEW
173-
value: "postgres://user:[email protected]:5432/postgres?sslmode=disable"
171+
value: "postgres://user:[email protected]:5432/postgres?sslmode=disable"
172+
- name: RUST_LOG
173+
value: info,kube=debug,controller=debug
174174
---
175175
apiVersion: v1
176176
kind: Service

0 commit comments

Comments
 (0)