use raw resources for postgresql
All checks were successful
Build and Publish / build-release (push) Successful in 1m21s
All checks were successful
Build and Publish / build-release (push) Successful in 1m21s
This commit is contained in:
@@ -87,18 +87,35 @@ ingress:
|
||||
identifier: main
|
||||
port: http
|
||||
|
||||
postgresql:
|
||||
enabled: true
|
||||
image: ghcr.io/cloudnative-pg/container-image:1.23.1
|
||||
instances: 1
|
||||
database: policy_service
|
||||
owner: policy_service
|
||||
appUsername: policy_service
|
||||
storageSize: 1Gi
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
# PostgreSQL Cluster - managed externally via CNPG operator
|
||||
# The secret policy-service-pg-app will be created by CNPG
|
||||
rawResources:
|
||||
postgresql:
|
||||
enabled: true
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
labels:
|
||||
app.kubernetes.io/name: policy-service
|
||||
app.kubernetes.io/instance: policy-service
|
||||
spec:
|
||||
description: "PostgreSQL cluster for policy-service"
|
||||
imageName: ghcr.io/cloudnative-pg/container-image:1.23.1
|
||||
instances: 1
|
||||
bootstrap:
|
||||
initdb:
|
||||
database: policy_service
|
||||
owner: policy_service
|
||||
users:
|
||||
- name: policy_service
|
||||
database: policy_service
|
||||
storage:
|
||||
size: 1Gi
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
monitoring:
|
||||
enablePodMonitoring: true
|
||||
|
||||
Reference in New Issue
Block a user