Skip to content

Commit 7a3e5a6

Browse files
committed
Adjust secrets to use sealed. PG to 15.14, tag 2.60
1 parent bbd97fc commit 7a3e5a6

File tree

3 files changed

+26
-6
lines changed

3 files changed

+26
-6
lines changed

src/helm-chart/cron.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: batch/v1
2+
kind: CronJob
3+
metadata:
4+
name: onemin
5+
spec:
6+
concurrencyPolicy: Forbid
7+
schedule: "*/1 * * * *"
8+
jobTemplate:
9+
spec:
10+
template:
11+
spec:
12+
containers:
13+
- name: curlimage
14+
image: curlimages/curl
15+
imagePullPolicy: IfNotPresent
16+
command:
17+
- "curl"
18+
args:
19+
- "http://localhost:5000/api/internal/test"
20+
restartPolicy: OnFailure

src/helm-chart/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spec:
4848
value: paws
4949
envFrom:
5050
- secretRef:
51-
name: db-pass
51+
name: paws-secrets
5252
ports:
5353
- name: postgresql
5454
containerPort: 5432
@@ -64,9 +64,9 @@ spec:
6464
imagePullPolicy: {{ .image.pullPolicy }}
6565
envFrom:
6666
- secretRef:
67-
name: api-server-pws
67+
name: paws-salesforce
6868
- secretRef:
69-
name: db-pass
69+
name: paws-secrets
7070
ports:
7171
- containerPort: 5000
7272
protocol: TCP

src/helm-chart/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ server:
99
repository: ghcr.io/codeforphilly/paws-data-pipeline/server
1010
pullPolicy: Always
1111
# Overrides the image tag whose default is the chart appVersion.
12-
tag: "2.50"
12+
tag: "2.60"
1313

1414
client:
1515
image:
1616
repository: ghcr.io/codeforphilly/paws-data-pipeline/client
1717
pullPolicy: Always
1818
# Overrides the image tag whose default is the chart appVersion.
19-
tag: "2.50"
19+
tag: "2.60"
2020

2121
db:
2222
image:
2323
repository: postgres
2424
pullPolicy: IfNotPresent
2525
# Overrides the image tag whose default is the chart appVersion.
26-
tag: "15.4-alpine"
26+
tag: "15.14-alpine"
2727

2828

2929
storage:

0 commit comments

Comments
 (0)