File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,11 @@ metadata:
45
45
labels :
46
46
app : postgres
47
47
spec :
48
+ ports :
49
+ - port : 5432
48
50
selector :
49
51
app : postgres
50
- type : NodePort
51
- ports :
52
- - name : postgres
53
- port : 5432
54
- targetPort : 5432
55
- nodePort : 30000
52
+ clusterIP : None
56
53
---
57
54
apiVersion : networking.k8s.io/v1
58
55
kind : NetworkPolicy
@@ -157,6 +154,7 @@ spec:
157
154
labels :
158
155
app : controller
159
156
spec :
157
+ serviceAccountName : controller
160
158
containers :
161
159
- name : controller
162
160
image : ext-cardano-dbsync:1.0
@@ -166,11 +164,13 @@ spec:
166
164
- name : ADDR
167
165
value : " 0.0.0.0:80"
168
166
- 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"
170
168
- 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"
172
170
- 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
174
174
---
175
175
apiVersion : v1
176
176
kind : Service
You can’t perform that action at this time.
0 commit comments