1
- # Default values for terminfinder-backend.
2
- # This is a YAML-formatted file.
3
- # Declare variables to be passed into your templates.
4
-
5
1
global :
6
2
postgresql :
7
3
auth :
8
- username : terminfinder
9
4
database : terminfinder
10
- existingSecret : " " # if not set, default: "{{ Release.Name }}-postgres"
5
+ username : terminfinder
6
+ existingSecret : postgresql-default-auth
11
7
secretKeys :
12
- userPasswordKey : " " # if not set, default: " password"
8
+ userPasswordKey : password
13
9
service :
14
- name : " " # if not set, default: "{{ Release.Name }}-postgres"
15
10
ports :
16
- postgresql : 5432 # Default port
11
+ postgresql : 5432
17
12
18
13
replicaCount : 1
19
14
@@ -22,17 +17,20 @@ image:
22
17
pullPolicy : IfNotPresent
23
18
tag : " 0.1.0"
24
19
20
+ application :
21
+ port : 8080
22
+ useCors : true
23
+ migrateDB : true
24
+
25
25
imagePullSecrets : [ ]
26
+
26
27
nameOverride : " "
28
+
27
29
fullnameOverride : " "
28
30
29
31
serviceAccount :
30
- # Specifies whether a service account should be created
31
32
create : true
32
- # Annotations to add to the service account
33
33
annotations : { }
34
- # The name of the service account to use.
35
- # If not set and create is true, a name is generated using the fullname template
36
34
name : " "
37
35
38
36
podAnnotations : { }
@@ -51,31 +49,24 @@ securityContext:
51
49
52
50
service :
53
51
type : ClusterIP
54
- port : 80
52
+ port : 8080
55
53
56
54
ingress :
57
- enabled : false
55
+ enabled : true
58
56
className : " nginx"
59
57
annotations :
60
- { }
61
- # kubernetes.io/ingress.class: nginx
62
- # nginx.ingress.kubernetes.io/rewrite-target: /
63
- # nginx.ingress.kubernetes.io/ssl-redirect: "true"
64
- # cert-manager.io/cluster-issuer: letsencrypt-production
58
+ nginx.ingress.kubernetes.io/use-regex : " true"
59
+ nginx.ingress.kubernetes.io/rewrite-target : /$2
60
+ nginx.ingress.kubernetes.io/enable-cors : " true"
65
61
hosts :
66
- - host : terminfinder.opencode.de
62
+ - host : localhost
63
+ port : 80
67
64
paths :
68
- - path : /api
69
- pathType : Prefix
65
+ - path : /api(/|$)(.*)
66
+ pathType : ImplementationSpecific
70
67
tls : [ ]
71
- # - secretName: cert-terminfinder.opencode.de
72
- # hosts:
73
- # - terminfinder.de
74
68
75
69
resources :
76
- # We recommend to not use limits, since workload spikes can hinder the application or cause crashes
77
- # due to OOM errors. Read more about it here:
78
- # https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-resource-requests-and-limits?hl=en
79
70
limits :
80
71
cpu : 500m
81
72
memory : 256Mi
@@ -99,27 +90,28 @@ affinity: { }
99
90
postgresql :
100
91
enabled : true
101
92
102
- serviceAccount :
103
- create : true
93
+ auth :
94
+ enablePostgresUser : false
104
95
105
- # # Set permissions for the data volume
106
- # # Only needed when volume has not correct permissions
107
- volumePermissions :
108
- enabled : true
96
+ primary :
97
+ persistence :
98
+ enabled : true
109
99
110
- image :
111
- registry : docker.io # Notice, may this is not allowed
112
- repository : bitnami/bitnami-shell
113
- # tag: 11-debian-11-r77
114
- # pullPolicy: Always
115
- # pullSecrets: []
100
+ resources :
101
+ requests :
102
+ memory : 256Mi
103
+ cpu : 250m
104
+ limits :
105
+ memory : 256Mi
106
+ cpu : 250m
116
107
117
108
initdb :
118
- # Enabling the UUID-OSSP
119
109
scripts :
120
110
99-enable-uuid.sql : |
121
111
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
122
112
ALTER EXTENSION "uuid-ossp" SET SCHEMA public;
123
113
124
- # More variables / parameters can be found here:
125
- # https://github.com/bitnami/charts/tree/main/bitnami/postgresql#parameters
114
+ readReplicas :
115
+ replicaCount : 0
116
+ persistence :
117
+ enabled : false
0 commit comments