Skip to content

Commit 0c63878

Browse files
committed
fix: use helm v4.2.0 to generate snapshot
1 parent ad0dbd7 commit 0c63878

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

helm/snapshots/alpha-1.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
- ports:
2727
- port: 9001
2828
- port: 9000
29+
2930
---
3031
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/provisioning-networkpolicy.yaml
3132
kind: NetworkPolicy
@@ -49,6 +50,7 @@ spec:
4950
egress:
5051
- {}
5152
ingress:
53+
5254
---
5355
# Source: ifrcgo-risk-module-helm/charts/app/charts/postgresql/templates/primary/networkpolicy.yaml
5456
kind: NetworkPolicy
@@ -77,6 +79,7 @@ spec:
7779
ingress:
7880
- ports:
7981
- port: 5432
82+
8083
---
8184
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/pdb.yaml
8285
apiVersion: policy/v1
@@ -96,6 +99,7 @@ spec:
9699
matchLabels:
97100
app.kubernetes.io/instance: release-name
98101
app.kubernetes.io/name: minio
102+
99103
---
100104
# Source: ifrcgo-risk-module-helm/charts/app/charts/postgresql/templates/primary/pdb.yaml
101105
apiVersion: policy/v1
@@ -117,6 +121,7 @@ spec:
117121
app.kubernetes.io/instance: release-name
118122
app.kubernetes.io/name: postgresql
119123
app.kubernetes.io/component: primary
124+
120125
---
121126
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/serviceaccount.yaml
122127
apiVersion: v1
@@ -133,6 +138,7 @@ metadata:
133138
automountServiceAccountToken: false
134139
secrets:
135140
- name: fircgo-risk-module-minio
141+
136142
---
137143
# Source: ifrcgo-risk-module-helm/charts/app/charts/postgresql/templates/serviceaccount.yaml
138144
apiVersion: v1
@@ -147,6 +153,7 @@ metadata:
147153
app.kubernetes.io/version: 17.2.0
148154
helm.sh/chart: postgresql-16.4.5
149155
automountServiceAccountToken: false
156+
150157
---
151158
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/secrets.yaml
152159
apiVersion: v1
@@ -164,6 +171,7 @@ type: Opaque
164171
data:
165172
root-user: "cmlzay1tb2R1bGU="
166173
root-password: "WFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFg="
174+
167175
---
168176
# Source: ifrcgo-risk-module-helm/charts/app/charts/postgresql/templates/secrets.yaml
169177
apiVersion: v1
@@ -182,6 +190,7 @@ data:
182190
postgres-password: "WFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFg="
183191
password: "WFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFg="
184192
# We don't auto-generate LDAP password when it's not provided as we do for other passwords
193+
185194
---
186195
# Source: ifrcgo-risk-module-helm/charts/app/templates/config/secret.yaml
187196
kind: Secret
@@ -215,6 +224,7 @@ stringData:
215224
PDC_USERNAME: "dummy-username"
216225
SENTRY_DSN: "https://xyz@sentry.local.example.com/14"
217226
USE_S3_BUCKET: "true"
227+
218228
---
219229
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/provisioning-configmap.yaml
220230
apiVersion: v1
@@ -230,6 +240,7 @@ metadata:
230240
helm.sh/chart: minio-14.10.5
231241
app.kubernetes.io/component: minio-provisioning
232242
data:
243+
233244
---
234245
# Source: ifrcgo-risk-module-helm/charts/app/charts/postgresql/templates/primary/initialization-configmap.yaml
235246
apiVersion: v1
@@ -251,6 +262,7 @@ data:
251262
/usr/lib/apt/apt-helper download-file -o "Acquire::https::Verify-Peer=false" "$DATABASE_DUMP_URL" /tmp/db.dump
252263
du -sh /tmp/db.dump
253264
PGPASSWORD="${POSTGRES_PASSWORD}" PGUSER=$POSTGRES_USER pg_restore -v --no-owner --no-privileges -d "$POSTGRES_DATABASE" < /tmp/db.dump
265+
254266
---
255267
# Source: ifrcgo-risk-module-helm/charts/app/templates/config/configmap.yaml
256268
kind: ConfigMap
@@ -273,6 +285,7 @@ data:
273285
SENTRY_PROFILE_SAMPLE_RATE: "0.8"
274286
SENTRY_TRACE_SAMPLE_RATE: "0.8"
275287
TIME_ZONE: "UTC"
288+
276289
---
277290
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/pvc.yaml
278291
kind: PersistentVolumeClaim
@@ -293,6 +306,7 @@ spec:
293306
requests:
294307
storage: "0.5Gi"
295308
storageClassName: local-path
309+
296310
---
297311
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/service.yaml
298312
apiVersion: v1
@@ -320,6 +334,7 @@ spec:
320334
selector:
321335
app.kubernetes.io/instance: release-name
322336
app.kubernetes.io/name: minio
337+
323338
---
324339
# Source: ifrcgo-risk-module-helm/charts/app/charts/postgresql/templates/primary/svc-headless.yaml
325340
apiVersion: v1
@@ -350,6 +365,7 @@ spec:
350365
app.kubernetes.io/instance: release-name
351366
app.kubernetes.io/name: postgresql
352367
app.kubernetes.io/component: primary
368+
353369
---
354370
# Source: ifrcgo-risk-module-helm/charts/app/charts/postgresql/templates/primary/svc.yaml
355371
apiVersion: v1
@@ -376,6 +392,7 @@ spec:
376392
app.kubernetes.io/instance: release-name
377393
app.kubernetes.io/name: postgresql
378394
app.kubernetes.io/component: primary
395+
379396
---
380397
# Source: ifrcgo-risk-module-helm/charts/app/templates/api/service.yaml
381398
apiVersion: v1
@@ -396,6 +413,7 @@ spec:
396413
- protocol: TCP
397414
port: 80
398415
targetPort: 80
416+
399417
---
400418
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/standalone/deployment.yaml
401419
apiVersion: apps/v1
@@ -548,6 +566,7 @@ spec:
548566
- name: data
549567
persistentVolumeClaim:
550568
claimName: fircgo-risk-module-minio
569+
551570
---
552571
# Source: ifrcgo-risk-module-helm/charts/app/templates/api/deployment.yaml
553572
apiVersion: apps/v1
@@ -609,6 +628,7 @@ spec:
609628
value: redis://risk-module-dragonfly:6379/0
610629
- name: CELERY_REDIS_URL
611630
value: redis://risk-module-dragonfly:6379/1
631+
612632
---
613633
# Source: ifrcgo-risk-module-helm/charts/app/templates/worker-beat/deployment.yaml
614634
apiVersion: apps/v1
@@ -668,6 +688,7 @@ spec:
668688
value: redis://risk-module-dragonfly:6379/0
669689
- name: CELERY_REDIS_URL
670690
value: redis://risk-module-dragonfly:6379/1
691+
671692
---
672693
# Source: ifrcgo-risk-module-helm/charts/app/templates/worker/deployment.yaml
673694
# Queue: default
@@ -731,6 +752,7 @@ spec:
731752
value: redis://risk-module-dragonfly:6379/0
732753
- name: CELERY_REDIS_URL
733754
value: redis://risk-module-dragonfly:6379/1
755+
734756
---
735757
# Source: ifrcgo-risk-module-helm/charts/app/charts/postgresql/templates/primary/statefulset.yaml
736758
apiVersion: apps/v1
@@ -929,6 +951,7 @@ spec:
929951
requests:
930952
storage: "2Gi"
931953
storageClassName: local-path
954+
932955
---
933956
# Source: ifrcgo-risk-module-helm/charts/app/templates/argo-hooks/hook-job.yaml
934957
# Hook: collect-static
@@ -1107,6 +1130,7 @@ spec:
11071130
value: redis://risk-module-dragonfly:6379/0
11081131
- name: CELERY_REDIS_URL
11091132
value: redis://risk-module-dragonfly:6379/1
1133+
11101134
---
11111135
# Source: ifrcgo-risk-module-helm/charts/app/charts/minio/templates/api-ingress.yaml
11121136
apiVersion: networking.k8s.io/v1
@@ -1135,6 +1159,7 @@ spec:
11351159
name: fircgo-risk-module-minio
11361160
port:
11371161
name: minio-api
1162+
11381163
---
11391164
# Source: ifrcgo-risk-module-helm/charts/app/templates/api/ingress.yaml
11401165
apiVersion: networking.k8s.io/v1
@@ -1159,6 +1184,7 @@ spec:
11591184
name: risk-1-api
11601185
port:
11611186
number: 80
1187+
11621188
---
11631189
# Source: ifrcgo-risk-module-helm/charts/app/templates/extraManifests.yaml
11641190
# Manifest: dragonflydb-cluster
@@ -1403,3 +1429,4 @@ spec:
14031429
- name: minio-provisioning
14041430
configMap:
14051431
name: fircgo-risk-module-minio-provisioning
1432+

helm/snapshots/staging.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ metadata:
1111

1212
azure.workload.identity/use: "true"
1313
automountServiceAccountToken: true
14+
1415
---
1516
# Source: ifrcgo-risk-module-helm/charts/app/templates/config/configmap.yaml
1617
kind: ConfigMap
@@ -39,6 +40,7 @@ data:
3940
SENTRY_TRACE_SAMPLE_RATE: "0.2"
4041
TIME_ZONE: "UTC"
4142
USE_AZURE_STORAGE: "true"
43+
4244
---
4345
# Source: ifrcgo-risk-module-helm/charts/app/templates/api/service.yaml
4446
apiVersion: v1
@@ -59,6 +61,7 @@ spec:
5961
- protocol: TCP
6062
port: 80
6163
targetPort: 80
64+
6265
---
6366
# Source: ifrcgo-risk-module-helm/charts/app/templates/api/deployment.yaml
6467
apiVersion: apps/v1
@@ -133,6 +136,7 @@ spec:
133136
- name: risk-module-secret
134137
mountPath: /mnt/secrets-store
135138
readOnly: true
139+
136140
---
137141
# Source: ifrcgo-risk-module-helm/charts/app/templates/worker-beat/deployment.yaml
138142
apiVersion: apps/v1
@@ -205,6 +209,7 @@ spec:
205209
- name: risk-module-secret
206210
mountPath: /mnt/secrets-store
207211
readOnly: true
212+
208213
---
209214
# Source: ifrcgo-risk-module-helm/charts/app/templates/worker/deployment.yaml
210215
# Queue: default
@@ -281,6 +286,7 @@ spec:
281286
- name: risk-module-secret
282287
mountPath: /mnt/secrets-store
283288
readOnly: true
289+
284290
---
285291
# Source: ifrcgo-risk-module-helm/charts/app/templates/argo-hooks/hook-job.yaml
286292
# Hook: collect-static
@@ -402,6 +408,7 @@ spec:
402408
- name: risk-module-secret
403409
mountPath: /mnt/secrets-store
404410
readOnly: true
411+
405412
---
406413
# Source: ifrcgo-risk-module-helm/charts/app/templates/api/ingress.yaml
407414
apiVersion: networking.k8s.io/v1
@@ -430,6 +437,7 @@ spec:
430437
- secretName: risk-helm-secret-cert
431438
hosts:
432439
- "go-risk-api-stage.ifrc.org"
440+
433441
---
434442
# Source: ifrcgo-risk-module-helm/charts/app/templates/extraManifests.yaml
435443
# Manifest: dragonflydb-cluster
@@ -458,6 +466,7 @@ spec:
458466
resources:
459467
requests:
460468
storage: 1Gi
469+
461470
---
462471
# Source: ifrcgo-risk-module-helm/charts/app/templates/api/secrets-provider-class.yaml
463472
apiVersion: secrets-store.csi.x-k8s.io/v1

0 commit comments

Comments
 (0)