add infra app mongodb
This commit is contained in:
12
infrastructures/mongodb/env/k3s-cluster/config.json
vendored
Normal file
12
infrastructures/mongodb/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "mongodb",
|
||||
"userGivenName": "mongodb",
|
||||
"namespace": "mongodb",
|
||||
"destNamespace": "mongodb",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "infrastructures/mongodb/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
8
infrastructures/mongodb/env/k3s-cluster/kustomization.yaml
vendored
Normal file
8
infrastructures/mongodb/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: mongodb
|
||||
repo: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 15.6.14
|
||||
releaseName: mongodb
|
||||
valuesFile: values.yaml
|
||||
34
infrastructures/mongodb/env/k3s-cluster/values.yaml
vendored
Normal file
34
infrastructures/mongodb/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
namespaceOverride: "mongodb"
|
||||
auth:
|
||||
usernames:
|
||||
- edward
|
||||
- anysync
|
||||
databases:
|
||||
- edward
|
||||
- anysync
|
||||
existingSecret: "mongodb-secrets"
|
||||
automountServiceAccountToken: true
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
podSecurityContext:
|
||||
fsGroup: 1000
|
||||
startupProbe:
|
||||
enabled: true
|
||||
externalAccess:
|
||||
enabled: true
|
||||
service:
|
||||
type: LoadBalancer
|
||||
autoDiscovery:
|
||||
enabled: true
|
||||
persistence:
|
||||
existingClaim: "mongodb-pvc"
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: true
|
||||
serviceAccount:
|
||||
create: true
|
||||
name: mongodb
|
||||
rbac:
|
||||
create: true
|
||||
Reference in New Issue
Block a user