add app mongodb
This commit is contained in:
66
kubernetes/infrastructure/mongodb/app/release.yaml
Normal file
66
kubernetes/infrastructure/mongodb/app/release.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: mongodb
|
||||
namespace: mongodb
|
||||
spec:
|
||||
releaseName: mongodb
|
||||
chart:
|
||||
spec:
|
||||
chart: mongodb
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bitnami
|
||||
namespace: flux-system
|
||||
interval: 1h
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
values:
|
||||
architecture: replicaset
|
||||
auth:
|
||||
rootPassword: ${root_password}
|
||||
usernames:
|
||||
- edward
|
||||
- anysync
|
||||
passwords:
|
||||
- ${edward_password}
|
||||
- ${anysync_password}
|
||||
databases:
|
||||
- edward
|
||||
- anysync
|
||||
replicaCount: 2
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
startupProbe:
|
||||
enabled: true
|
||||
externalAccess:
|
||||
enabled: true
|
||||
service:
|
||||
type: LoadBalancer
|
||||
autoDiscovery:
|
||||
enabled: true
|
||||
persistence:
|
||||
existingClaim: "mongodb-pvc"
|
||||
backup:
|
||||
enabled: true
|
||||
cronjob:
|
||||
schedule: "@daily"
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
storage:
|
||||
existingClaim: "mongodb-backup-pvc"
|
||||
serviceAccount:
|
||||
create: true
|
||||
name: mongodb
|
||||
automountServiceAccountToken: true
|
||||
rbac:
|
||||
create: true
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user