Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(redis) Add to blocky for #785 #1403

Merged
merged 1 commit into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cluster/apps/networking/blocky/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ spec:
# - 192.168.178.29
caching:
prefetching: true
redis:
address: blocky-redis-master.networking:6379
password: ${BLOCKY_REDIS_PASSWORD}
database: 2
required: true
prometheus:
enable: true
path: /metrics
Expand Down
1 change: 1 addition & 0 deletions cluster/apps/networking/blocky/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- redis
- helm-release.yaml
- dashboard
namespace: networking
Expand Down
61 changes: 61 additions & 0 deletions cluster/apps/networking/blocky/redis/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: blocky-redis
namespace: home
spec:
interval: 10m
chart:
spec:
chart: redis
version: 16.13.2
sourceRef:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
interval: 10m
install:
remediation:
retries: 3
upgrade:
remediation:
remediateLastFailure: true
values:
global:
redis:
password: ${BLOCKY_REDIS_PASSWORD}
architecture: standalone
auth:
enabled: true
master:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- amd64
- i386
- i686
- x86
persistence:
enabled: false
replica:
replicaCount: 1
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- amd64
- i386
- i686
- x86
persistence:
enabled: false
5 changes: 5 additions & 0 deletions cluster/apps/networking/blocky/redis/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
Loading