@@ -18,13 +18,17 @@ fullnameOverride: ""
1818#  Directory path where the configuration files should be mounted
1919configDir : " /home/gitjobs/.config/gitjobs" 
2020
21+ #  Check database readiness init container configuration
22+ checkDbIsReadyInitContainer :
23+   securityContext : {} 
24+ 
2125#  Database configuration
2226db :
2327  host : " " 
2428  port : 5432 
2529  dbname : gitjobs 
26-   user : postgres 
27-   password : postgres 
30+   user : gitjobs 
31+   password : gitjobs 
2832
2933#  Email configuration
3034email :
5155#  Database migrator configuration
5256dbmigrator :
5357  job :
58+     containerSecurityContext : {} 
5459    image :
5560      #  Database migrator image repository (without the tag)
5661      repository : gitjobs/dbmigrator 
62+     podSecurityContext : {} 
5763
5864#  Server configuration
5965server :
@@ -138,41 +144,65 @@ server:
138144    enabled : true 
139145    annotations :
140146      kubernetes.io/ingress.class : nginx 
147+     backendServicePort : 80 
141148    rules : [] 
142149    tls : [] 
143150
144151  #  Service configuration
145152  service :
153+     allocateLoadBalancerNodePorts : true 
154+     annotations : {} 
155+     ports :
156+       - name : http 
157+         port : 80 
158+         protocol : TCP 
159+         targetPort : 9000 
146160    type : NodePort 
147-     port : 80 
148161
149162  #  Deployment configuration
150163  deploy :
151-     replicaCount :  1 
164+     containerSecurityContext :  {} 
152165    image :
153-       #  Database migrator  image repository (without the tag)
166+       #  Server  image repository (without the tag)
154167      repository : gitjobs/server 
168+     podSecurityContext : {} 
169+     readinessProbe :
170+       httpGet :
171+         path : /health-check 
172+         port : 9000 
173+     replicaCount : 1 
155174    resources : {} 
156175
157176#  Syncer configuration
158177syncer :
159178  cronjob :
179+     containerSecurityContext : {} 
160180    image :
161181      #  Syncer image repository (without the tag)
162182      repository : gitjobs/syncer 
183+     podSecurityContext : {} 
163184    resources : {} 
164185
165186#  PostgreSQL configuration
166187postgresql :
167188  enabled : true 
168189  auth :
169-     username : postgres 
170-     password : postgres 
190+     username : gitjobs 
191+     password : gitjobs 
171192    database : gitjobs 
193+   global :
194+     security :
195+       allowInsecureImages : true 
172196  image :
173-     repository : bitnamilegacy/postgresql 
174-     tag : 17.2.0-debian-12-r3 
175-   postgresqlDataDir : /data/pgdata 
197+     registry : docker.io 
198+     repository : artifacthub/postgres 
199+     tag : latest 
200+   persistence :
201+     mountPath : /data 
176202  primary :
177-     persistence :
178-       mountPath : /data 
203+     extraVolumes :
204+       - name : run 
205+         emptyDir : {} 
206+     extraVolumeMounts :
207+       - name : run 
208+         mountPath : /var/run/postgresql 
0 commit comments