mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 16:05:55 +02:00
✨ decomission redis-master
This commit is contained in:
42
kubernetes/apps/default/ghostfolio/redis/helmrelease.yaml
Normal file
42
kubernetes/apps/default/ghostfolio/redis/helmrelease.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: ghostfolio-redis
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: app-template
|
||||
version: 1.5.1
|
||||
interval: 30m
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bjw-s
|
||||
namespace: flux-system
|
||||
|
||||
values:
|
||||
image:
|
||||
repository: public.ecr.aws/docker/library/redis
|
||||
tag: 7.2.1@sha256:f92a0be0ba8c085e6a5e2d2bea386365443485bcd67ced5ca8ddcdacdd4656d2
|
||||
|
||||
env:
|
||||
REDIS_REPLICATION_MODE: master
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
enabled: false
|
||||
redis:
|
||||
enabled: true
|
||||
port: 6379
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 5m
|
||||
memory: 256M
|
||||
limits:
|
||||
memory: 256M
|
10
kubernetes/apps/default/ghostfolio/redis/kustomization.yaml
Normal file
10
kubernetes/apps/default/ghostfolio/redis/kustomization.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: default
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
||||
commonLabels:
|
||||
app.kubernetes.io/name: ghostfolio-redis
|
||||
app.kubernetes.io/instance: ghostfolio
|
Reference in New Issue
Block a user