Despliegue imágenes inicial
This commit is contained in:
59
mongodb/values.yaml
Normal file
59
mongodb/values.yaml
Normal 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
|
||||
Reference in New Issue
Block a user