Despliegue imágenes inicial
This commit is contained in:
11
postgis/Chart.yaml
Normal file
11
postgis/Chart.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v2
|
||||
appVersion: '17-3.5-alpine'
|
||||
description: PostGIS Database.
|
||||
name: postGIS
|
||||
version: 2025.9.25
|
||||
sources:
|
||||
- https://postgis.net/
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 4.1.2
|
||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
||||
9
postgis/fleet.yaml
Normal file
9
postgis/fleet.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
defaultNamespace: tfm
|
||||
|
||||
helm:
|
||||
chart: .
|
||||
repo: ""
|
||||
version: 2025.9.25
|
||||
releaseName: postgis
|
||||
valuesFiles:
|
||||
- values.yaml
|
||||
5
postgis/templates/common.yaml
Normal file
5
postgis/templates/common.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
{{/* Render the templates */}}
|
||||
{{- include "bjw-s.common.loader.init" . }}
|
||||
{{/* Render the templates */}}
|
||||
{{ include "bjw-s.common.loader.generate" . }}
|
||||
63
postgis/values.yaml
Normal file
63
postgis/values.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
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
|
||||
Reference in New Issue
Block a user