Merge pull request #21829 from axisofentropy/uffizzi-update-2023q4
CI/CD: Correct `postgres` mount point on Uffizzi Virtual Clusters
This commit is contained in:
@@ -35,3 +35,10 @@ spec:
|
||||
value: 'postgres.default.svc.cluster.local'
|
||||
- name: NODE_ENV
|
||||
value: production
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 384Mi
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 160Mi
|
||||
|
||||
@@ -19,11 +19,21 @@ spec:
|
||||
imagePullPolicy: 'IfNotPresent'
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
env:
|
||||
- name: PGDATA
|
||||
value: '/data/pgdata'
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: postgres-secrets
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 256Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 96Mi
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/postgresql
|
||||
- mountPath: /data
|
||||
name: postgresdb
|
||||
volumes:
|
||||
- name: postgresdb
|
||||
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
|
||||
- name: Generate UUID image name
|
||||
id: uuid
|
||||
run: echo "UUID_TAG_APP=$(uuidgen)" >> $GITHUB_ENV
|
||||
run: echo "UUID_TAG_APP=backstage-$(uuidgen --time)" >> $GITHUB_ENV
|
||||
|
||||
- name: Docker metadata
|
||||
id: meta
|
||||
|
||||
Reference in New Issue
Block a user