decomission redis-master

This commit is contained in:
auricom
2023-09-17 17:12:12 +02:00
parent 3fc57046f3
commit 81e00559fb
31 changed files with 411 additions and 260 deletions

View 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

View 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