Despliegue imágenes inicial

This commit is contained in:
2025-12-01 23:04:37 +01:00
commit 91532adf02
32 changed files with 799 additions and 0 deletions

11
mongodb/Chart.yaml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: v2
appVersion: '4.4'
description: Mongodb Database.
name: mongodb
version: 2025.11.12
sources:
- https://mongodb.com/
dependencies:
- name: common
version: 4.1.2
repository: https://bjw-s-labs.github.io/helm-charts/

9
mongodb/fleet.yaml Normal file
View File

@@ -0,0 +1,9 @@
defaultNamespace: tfm
helm:
chart: .
repo: ""
version: 2025.11.12
releaseName: mongodb
valuesFiles:
- values.yaml

View File

@@ -0,0 +1,5 @@
---
{{/* Render the templates */}}
{{- include "bjw-s.common.loader.init" . }}
{{/* Render the templates */}}
{{ include "bjw-s.common.loader.generate" . }}

59
mongodb/values.yaml Normal file
View File

@@ -0,0 +1,59 @@
global:
fullnameOverride: mongodb
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: mongo
tag: "4.4"
pullPolicy: Always
env:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
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: /data/db
readOnly: false
service:
main:
enabled: true
nameOverride: bbdd
controller: main
primary: true
type: LoadBalancer
externalTrafficPolicy: Local
annotations:
metallb.universe.tf/loadBalancerIPs: 10.10.5.33
ports:
bbdd:
enabled: true
primary: true
port: 27017
protocol: TCP
targetPort: 27017