@@ -18,13 +18,17 @@ fullnameOverride: ""
1818#  Directory path where the configuration files should be mounted
1919configDir : " /home/clowarden/.config/clowarden" 
2020
21+ #  Check database readiness init container configuration
22+ checkDbIsReadyInitContainer :
23+   securityContext : {} 
24+ 
2125#  Database configuration
2226db :
2327  host : " " 
2428  port : " 5432" 
2529  dbname : clowarden 
26-   user : postgres 
27-   password : postgres 
30+   user : clowarden 
31+   password : clowarden 
2832
2933#  Log configuration
3034log :
3438#  Database migrator configuration
3539dbmigrator :
3640  job :
41+     containerSecurityContext : {} 
3742    image :
3843      #  Database migrator image repository (without the tag)
3944      repository : ghcr.io/cncf/clowarden/dbmigrator 
45+     podSecurityContext : {} 
4046
4147#  CLOWarden server configuration
4248server :
@@ -66,24 +72,37 @@ server:
6672    #  GitHub application webhook secret fallback (handy for webhook secret rotation)
6773    webhookSecretFallback : null 
6874
75+   #  Service configuration
76+   service :
77+     allocateLoadBalancerNodePorts : true 
78+     annotations : {} 
79+     ports :
80+       - name : http 
81+         port : 80 
82+         protocol : TCP 
83+         targetPort : 9000 
84+     type : NodePort 
85+ 
6986  #  Ingress configuration
7087  ingress :
7188    enabled : true 
7289    annotations :
7390      kubernetes.io/ingress.class : nginx 
91+     backendServicePort : 80 
7492    rules : [] 
7593    tls : [] 
7694
77-   #  Service configuration
78-   service :
79-     type : NodePort 
80-     port : 80 
81- 
8295  #  Deployment configuration
8396  deploy :
84-     replicaCount :  1    #  Do not increase 
97+     containerSecurityContext :  {} 
8598    image :
8699      repository : ghcr.io/cncf/clowarden/server 
100+     podSecurityContext : {} 
101+     readinessProbe :
102+       httpGet :
103+         path : /health-check 
104+         port : 9000 
105+     replicaCount : 1   #  Do not increase
87106    resources : {} 
88107
89108#  Services CLOWarden will manage
@@ -112,12 +131,22 @@ organizations:
112131#  PostgreSQL configuration
113132postgresql :
114133  enabled : true 
134+   auth :
135+     database : clowarden 
136+     password : clowarden 
137+     username : clowarden 
138+   global :
139+     security :
140+       allowInsecureImages : true 
115141  image :
116142    repository : artifacthub/postgres 
117143    tag : latest 
118144  persistence :
119145    mountPath : /data 
120-   postgresqlUsername : postgres 
121-   postgresqlPassword : postgres 
122-   postgresqlDatabase : clowarden 
123-   postgresqlDataDir : /data/pgdata 
146+   primary :
147+     extraVolumes :
148+       - name : run 
149+         emptyDir : {} 
150+     extraVolumeMounts :
151+       - name : run 
152+         mountPath : /var/run/postgresql 
0 commit comments