Skip to content

Commit 9de6b21

Browse files
committed
wip setting up helm charts
1 parent 23a53bd commit 9de6b21

File tree

2 files changed

+135
-1
lines changed

2 files changed

+135
-1
lines changed

helm-charts/catalogi/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: catalogi
33
description: A Helm chart for deploying the Catalogi open source software catalog.
44
type: application
5-
version: 0.1.1
5+
version: 2.0.0
66
appVersion: 1.50.2
77
dependencies:
88
- name: postgresql

helm-charts/catalogi/values.yaml

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# Default values for catalogi.
2+
# This is a YAML-formatted file.
3+
# Declare variables to be passed into your templates.
4+
5+
# -- A list of secrets to be used for pulling images from a private registry
6+
imagePullSecrets: []
7+
8+
# -- Service Account configuration
9+
serviceAccount:
10+
# Specifies whether a service account should be created
11+
create: true
12+
# Annotations to add to the service account
13+
annotations: {}
14+
# The name of the service account to use.
15+
# If not set and create is true, a name is generated using the fullname template
16+
name: ""
17+
18+
# -- Configuration for the 'web' frontend deployment
19+
web:
20+
replicaCount: 1
21+
image:
22+
repository: codegouvfr/catalogi-web
23+
tag: "" # Defaults to .Chart.AppVersion
24+
pullPolicy: IfNotPresent
25+
# -- Pod security context (runs commands as a non-root user)
26+
podSecurityContext: {}
27+
# runAsUser: 1001
28+
# fsGroup: 1001
29+
# -- Container security context (hardening options)
30+
securityContext: {}
31+
# allowPrivilegeEscalation: false
32+
# readOnlyRootFilesystem: true
33+
# capabilities:
34+
# drop:
35+
# - ALL
36+
# -- Resource requests and limits
37+
resources: {}
38+
# limits:
39+
# cpu: 200m
40+
# memory: 128Mi
41+
# requests:
42+
# cpu: 100m
43+
# memory: 64Mi
44+
# -- Advanced scheduling options
45+
nodeSelector: {}
46+
tolerations: []
47+
affinity: {}
48+
49+
# -- Configuration for the 'api' backend deployment
50+
api:
51+
replicaCount: 1
52+
image:
53+
repository: codegouvfr/catalogi-api
54+
tag: "" # Defaults to .Chart.AppVersion
55+
pullPolicy: IfNotPresent
56+
podSecurityContext: {}
57+
securityContext: {}
58+
resources: {}
59+
nodeSelector: {}
60+
tolerations: []
61+
affinity: {}
62+
63+
# -- Configuration for the 'update' background job
64+
update:
65+
schedule: "0 */4 * * *"
66+
image:
67+
repository: codegouvfr/catalogi-api
68+
tag: "" # Defaults to .Chart.AppVersion
69+
pullPolicy: IfNotPresent
70+
podSecurityContext: {}
71+
securityContext: {}
72+
resources: {}
73+
74+
# -- Ingress configuration. This replaces the nginx container.
75+
ingress:
76+
enabled: true
77+
className: "" # For Kubernetes v1.18+, you should specify an IngressClassName e.g., "nginx"
78+
annotations: {}
79+
# kubernetes.io/tls-acme: "true"
80+
hosts:
81+
- host: catalogi.local # IMPORTANT: Change this to your actual domain
82+
paths:
83+
- path: /
84+
pathType: ImplementationSpecific
85+
service:
86+
name: web
87+
port: 80
88+
- path: /api
89+
pathType: ImplementationSpecific
90+
service:
91+
name: api
92+
port: 3000
93+
tls: []
94+
# - secretName: catalogi-tls
95+
# hosts:
96+
# - catalogi.local
97+
98+
# -- Database configuration
99+
database:
100+
user: "catalogi_user"
101+
db: "catalogi_db"
102+
password: "change-this-in-production"
103+
existingSecret: ""
104+
externalHost: ""
105+
106+
# -- PostgreSQL sub-chart configuration.
107+
postgresql:g
108+
enabled: true
109+
auth:
110+
username: ""
111+
database: ""
112+
password: ""
113+
primary:
114+
persistence:
115+
enabled: true
116+
size: 8Gi
117+
118+
# -- Customization for the API (replaces the volume mount)
119+
customization:
120+
enabled: true
121+
uiConfig: |-
122+
{ "key": "value" }
123+
translations:
124+
en: |-
125+
{ "key": "hello" }
126+
fr: |-
127+
{ "key": "bonjour" }
128+
129+
# -- Configuration for Adminer (optional database UI)
130+
adminer:
131+
enabled: false
132+
image:
133+
repository: adminer
134+
tag: "latest"

0 commit comments

Comments
 (0)