Merge pull request #554 from 3dwardch3ng/infra/redis
add infra app redis
This commit is contained in:
3
infrastructures/redis/base/kustomization.yaml
Normal file
3
infrastructures/redis/base/kustomization.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources: []
|
||||
12
infrastructures/redis/env/k3s-cluster/config.json
vendored
Normal file
12
infrastructures/redis/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "redis",
|
||||
"userGivenName": "redis",
|
||||
"namespace": "redis",
|
||||
"destNamespace": "redis",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "infrastructures/redis/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
8
infrastructures/redis/env/k3s-cluster/kustomization.yaml
vendored
Normal file
8
infrastructures/redis/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: redis
|
||||
repo: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 19.6.2
|
||||
releaseName: redis
|
||||
valuesFile: values.yaml
|
||||
23
infrastructures/redis/env/k3s-cluster/values.yaml
vendored
Normal file
23
infrastructures/redis/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
namespaceOverride: "redis"
|
||||
auth:
|
||||
existingSecret: "redis-secrets"
|
||||
existingSecretPasswordKey: "password"
|
||||
master:
|
||||
persistence:
|
||||
storageClass: local-path
|
||||
existingClaim: redis-master-pvc
|
||||
selector:
|
||||
matchLabels:
|
||||
name: redis-master-pvc
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: true
|
||||
replica:
|
||||
replicaCount: 1
|
||||
persistence:
|
||||
storageClass: local-path
|
||||
existingClaim: redis-replica-pvc
|
||||
selector:
|
||||
matchLabels:
|
||||
name: redis-replica-pvc
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user