re-add apps for PV fixes
This commit is contained in:
12
infrastructures/minio/env/k3s-cluster/config.json
vendored
Normal file
12
infrastructures/minio/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "minio",
|
||||
"userGivenName": "minio",
|
||||
"namespace": "minio",
|
||||
"destNamespace": "minio",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "infrastructures/minio/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
8
infrastructures/minio/env/k3s-cluster/kustomization.yaml
vendored
Normal file
8
infrastructures/minio/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: minio
|
||||
repo: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 14.6.24
|
||||
releaseName: minio
|
||||
valuesFile: values.yaml
|
||||
27
infrastructures/minio/env/k3s-cluster/values.yaml
vendored
Normal file
27
infrastructures/minio/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
namespaceOverride: "minio"
|
||||
clusterDomain: minio.cluster.edward.sydney
|
||||
auth:
|
||||
existingSecret: "minio-secrets"
|
||||
rootUserSecretKey: "root_user"
|
||||
rootPasswordSecretKey: "root_password"
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: k3s-cluster-node-2
|
||||
service:
|
||||
ports:
|
||||
api: 19000
|
||||
console: 19001
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
hostname: "minio.cluster.edward.sydney"
|
||||
apiIngress:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
hostname: "api.minio.cluster.edward.sydney"
|
||||
persistence:
|
||||
existingClaim: "minio-pvc"
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
podSecurityContext:
|
||||
fsGroup: 1000
|
||||
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
|
||||
31
infrastructures/mongodb/env/k3s-cluster/values.yaml
vendored
Normal file
31
infrastructures/mongodb/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
global:
|
||||
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
|
||||
service:
|
||||
type: LoadBalancer
|
||||
persistence:
|
||||
existingClaim: "mongodb-pvc"
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: true
|
||||
serviceAccount:
|
||||
create: true
|
||||
name: mongodb
|
||||
rbac:
|
||||
create: true
|
||||
12
infrastructures/postgresql/env/k3s-cluster/config.json
vendored
Normal file
12
infrastructures/postgresql/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "postgresql",
|
||||
"userGivenName": "postgresql",
|
||||
"namespace": "postgresql",
|
||||
"destNamespace": "postgresql",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "infrastructures/postgresql/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
8
infrastructures/postgresql/env/k3s-cluster/kustomization.yaml
vendored
Normal file
8
infrastructures/postgresql/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: postgresql
|
||||
repo: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 15.5.17
|
||||
releaseName: postgresql
|
||||
valuesFile: values.yaml
|
||||
50
infrastructures/postgresql/env/k3s-cluster/values.yaml
vendored
Normal file
50
infrastructures/postgresql/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
auth:
|
||||
username: edward
|
||||
database: edwarddb
|
||||
existingSecret: "postgresql-secrets"
|
||||
secretKeys:
|
||||
adminPasswordKey: postgres_password
|
||||
userPasswordKey: password
|
||||
replicationPasswordKey: replication_password
|
||||
architecture: "replication"
|
||||
replication:
|
||||
synchronousCommit: "on"
|
||||
numSynchronousReplicas: 1
|
||||
applicationName: "postgres_repl"
|
||||
primary:
|
||||
podSecurityContext:
|
||||
fsGroup: 1000
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
podLabels:
|
||||
name: "postgresql-primary"
|
||||
service:
|
||||
type: "LoadBalancer"
|
||||
persistence:
|
||||
existingClaim: postgresql-primary-pvc
|
||||
selector:
|
||||
matchLabels:
|
||||
name: postgresql-primary-pvc
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: true
|
||||
readReplicas:
|
||||
name: "replica"
|
||||
podSecurityContext:
|
||||
fsGroup: 1000
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
podLabels:
|
||||
name: "postgresql-replica"
|
||||
service:
|
||||
type: "LoadBalancer"
|
||||
ports:
|
||||
postgresql: 5433
|
||||
persistence:
|
||||
existingClaim: postgresql-replica-pvc
|
||||
selector:
|
||||
matchLabels:
|
||||
name: postgresql-replica-pvc
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user