63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
global:
|
|
fullnameOverride: postgis
|
|
defaultPodOptions:
|
|
annotations:
|
|
diun.enable: 'false'
|
|
diun.watch_repo: 'true'
|
|
diun.max_tags: '10'
|
|
diun.sort_tags: semver
|
|
diun.exclude_tags: ''
|
|
diun.include_tags: '^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$' #Revisado
|
|
controllers:
|
|
main:
|
|
enabled: true
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ivanlonel/postgis-with-extensions
|
|
tag: latest
|
|
pullPolicy: Always
|
|
env:
|
|
POSTGRES_DATABASE: postgisdb
|
|
POSTGRES_PASSWORD: tfmuocdfcarvajal
|
|
POSTGRES_USERNAME: postgis
|
|
POSTGRES_INITDB_ARGS: '--data-checksums'
|
|
DB_STORAGE_TYPE: 'HDD'
|
|
resources:
|
|
limits:
|
|
memory: 1024Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 512Mi
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
type: persistentVolumeClaim
|
|
name: data
|
|
accessMode: ReadWriteOnce
|
|
size: 5Gi
|
|
retain: yes
|
|
globalMounts:
|
|
- path: /var/lib/postgresql/data
|
|
subPath: postgres
|
|
readOnly: false
|
|
service:
|
|
main:
|
|
enabled: true
|
|
nameOverride: bbdd
|
|
controller: main
|
|
primary: true
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
annotations:
|
|
metallb.universe.tf/loadBalancerIPs: 10.10.5.32
|
|
ports:
|
|
bbdd:
|
|
enabled: true
|
|
primary: true
|
|
port: 5432
|
|
protocol: TCP
|
|
targetPort: 5432 |