Add redis-operator.
This commit is contained in:
parent
c87a32da74
commit
ca3dad863d
4 changed files with 60 additions and 0 deletions
|
@ -7,3 +7,4 @@ resources:
|
||||||
- ./namespace.yaml
|
- ./namespace.yaml
|
||||||
# Flux-Kustomizations
|
# Flux-Kustomizations
|
||||||
- ./crunchy-postgres/ks.yaml
|
- ./crunchy-postgres/ks.yaml
|
||||||
|
- ./redis-operator/ks.yaml
|
||||||
|
|
35
kubernetes/apps/database/redis-operator/app/helmrelease.yaml
Normal file
35
kubernetes/apps/database/redis-operator/app/helmrelease.yaml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta1.json
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: redis-operator
|
||||||
|
namespace: database
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: redis-operator
|
||||||
|
version: 3.3.0
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: redis-operator
|
||||||
|
namespace: flux-system
|
||||||
|
maxHistory: 2
|
||||||
|
install:
|
||||||
|
crds: CreateReplace
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
cleanupOnFail: true
|
||||||
|
crds: CreateReplace
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
uninstall:
|
||||||
|
keepHistory: false
|
||||||
|
values:
|
||||||
|
monitoring:
|
||||||
|
enabled: true
|
||||||
|
serviceMonitor: true
|
||||||
|
prometheus:
|
||||||
|
name: default
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: database
|
||||||
|
resources:
|
||||||
|
- ./helmrelease.yaml
|
17
kubernetes/apps/database/redis-operator/ks.yaml
Normal file
17
kubernetes/apps/database/redis-operator/ks.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: cluster-apps-redis-operator
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
path: ./kubernetes/apps/database/redis-operator/app
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: valinor
|
||||||
|
wait: true
|
||||||
|
interval: 30m
|
||||||
|
retryInterval: 1m
|
||||||
|
timeout: 5m
|
Reference in a new issue