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

@@ -28,7 +28,7 @@ spec:
keepHistory: false
dependsOn:
- name: lldap
- name: redis
- name: authelia-redis
- name: smtp-relay
values:
initContainers:
@@ -76,8 +76,7 @@ spec:
AUTHELIA_SERVER_PORT: &port 8888
AUTHELIA_SESSION_DOMAIN: ${SECRET_CLUSTER_DOMAIN}
AUTHELIA_SESSION_NAME: authelia-home-ops
AUTHELIA_SESSION_REDIS_DATABASE_INDEX: 14
AUTHELIA_SESSION_REDIS_HOST: redis-master.default.svc.cluster.local.
AUTHELIA_SESSION_REDIS_HOST: authelia-redis.default.svc.cluster.local.
AUTHELIA_SESSION_REDIS_PORT: 6379
AUTHELIA_STORAGE_POSTGRES_DATABASE: authelia
AUTHELIA_STORAGE_POSTGRES_HOST: ${POSTGRES_HOST}

View File

@@ -9,6 +9,7 @@ metadata:
substitution.flux.home.arpa/enabled: "true"
spec:
dependsOn:
- name: cluster-apps-authelia-redis
- name: cluster-apps-cloudnative-pg-cluster
- name: cluster-apps-external-secrets-stores
path: ./kubernetes/apps/default/authelia/app
@@ -24,3 +25,18 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 3m
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-authelia-redis
namespace: flux-system
spec:
interval: 10m
path: ./kubernetes/apps/default/authelia/redis
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false # no flux ks dependents

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: authelia-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

@@ -4,11 +4,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: default
resources:
- ./gatus.yaml
- ./helmrelease.yaml
configMapGenerator:
- name: nitter
files:
- ./config/config.yml
generatorOptions:
disableNameSuffixHash: true
commonLabels:
app.kubernetes.io/name: authelia-redis
app.kubernetes.io/instance: authelia

View File

@@ -26,6 +26,8 @@ spec:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: ghostfolio-redis
values:
controller:
strategy: RollingUpdate
@@ -43,7 +45,7 @@ spec:
tag: 2.2.0
env:
NODE_ENV: production
REDIS_HOST: redis-master.default.svc.cluster.local
REDIS_HOST: ghostfolio-redis.default.svc.cluster.local
REDIS_PORT: 6379
envFrom: *envFrom
service:

View File

@@ -16,6 +16,7 @@ spec:
dependsOn:
- name: cluster-apps-cloudnative-pg-cluster
- name: cluster-apps-external-secrets-stores
- name: cluster-apps-ghostfolio-redis
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
@@ -24,3 +25,18 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 3m
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-ghostfolio-redis
namespace: flux-system
spec:
interval: 10m
path: ./kubernetes/apps/default/ghostfolio/redis
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false # no flux ks dependents

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

View File

@@ -35,7 +35,6 @@ resources:
- ./media-browser/ks.yaml
- ./music-transcode/ks.yaml
- ./navidrome/ks.yaml
- ./nitter/ks.yaml
- ./opnsense/ks.yaml
- ./outline/ks.yaml
- ./paperless/ks.yaml
@@ -46,7 +45,6 @@ resources:
- ./qbittorrent/ks.yaml
- ./radarr/ks.yaml
- ./recyclarr/ks.yaml
- ./redis/ks.yaml
- ./resilio-sync/ks.yaml
- ./sabnzbd/ks.yaml
- ./semaphore/ks.yaml

View File

@@ -26,6 +26,8 @@ spec:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: lychee-redis
values:
initContainers:
01-init-db:
@@ -44,7 +46,7 @@ spec:
TIMEZONE: ${TIMEZONE}
APP_NAME: Lychee
DB_CONNECTION: pgsql
REDIS_HOST: redis-master.default.svc.cluster.local.
REDIS_HOST: lychee-redis.default.svc.cluster.local.
REDIS_PORT: 6379
envFrom:
- secretRef:

View File

@@ -16,6 +16,7 @@ spec:
dependsOn:
- name: cluster-apps-cloudnative-pg-cluster
- name: cluster-apps-external-secrets-stores
- name: cluster-apps-lychee-redis
- name: cluster-apps-rook-ceph-cluster
- name: cluster-apps-volsync-app
healthChecks:
@@ -26,3 +27,18 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 3m
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-lychee-redis
namespace: flux-system
spec:
interval: 10m
path: ./kubernetes/apps/default/lychee/redis
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false # no flux ks dependents

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: lychee-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

@@ -5,3 +5,6 @@ kind: Kustomization
namespace: default
resources:
- ./helmrelease.yaml
commonLabels:
app.kubernetes.io/name: lychee-redis
app.kubernetes.io/instance: lychee

View File

@@ -1,45 +0,0 @@
[Server]
address = "0.0.0.0"
port = 8080
https = false # disable to enable cookies when not using https
httpMaxConnections = 100
staticDir = "./public"
title = "nitter"
hostname = "nitter.${SECRET_CLUSTER_DOMAIN}"
[Cache]
listMinutes = 240 # how long to cache list info (not the tweets, so keep it high)
rssMinutes = 10 # how long to cache rss queries
redisHost = "redis-master.default.svc.cluster.local." # Change to "nitter-redis" if using docker-compose
redisPort = 6379
redisPassword = ""
redisConnections = 20 # connection pool size
redisMaxConnections = 30
# max, new connections are opened when none are available, but if the pool size
# goes above this, they're closed when released. don't worry about this unless
# you receive tons of requests per second
[Config]
hmacKey = "${SECRET_NITTER_HMAC}" # random key for cryptographic signing of video urls
base64Media = false # use base64 encoding for proxied media urls
enableRSS = true # set this to false to disable RSS feeds
enableDebug = false # enable request logs and debug endpoints
#proxy = "" # http/https url, SOCKS proxies are not supported
#proxyAuth = ""
#tokenCount = 10
# minimum amount of usable tokens. tokens are used to authorize API requests,
# but they expire after ~1 hour, and have a limit of 187 requests.
# the limit gets reset every 15 minutes, and the pool is filled up so there's
# always at least $tokenCount usable tokens. again, only increase this if
# you receive major bursts all the time
# Change default preferences here, see src/prefs_impl.nim for a complete list
[Preferences]
theme = "Nitter"
replaceTwitter = "nitter.${SECRET_CLUSTER_DOMAIN}"
replaceYouTube = "invidious.${SECRET_CLUSTER_DOMAIN}"
replaceReddit = "libreddit.${SECRET_CLUSTER_DOMAIN}"
replaceInstagram = ""
proxyVideos = true
hlsPlayback = false
infiniteScroll = true

View File

@@ -1,22 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nitter-gatus-ep
namespace: default
labels:
gatus.io/enabled: "true"
data:
config.yaml: |
endpoints:
- name: nitter
group: external
url: https://nitter.${SECRET_CLUSTER_DOMAIN}
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
insecure: true
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover

View File

@@ -1,84 +0,0 @@
---
# 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: &app nitter
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 1.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controller:
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
image:
repository: docker.io/zedeus/nitter
tag: latest@sha256:c0275459df4de2331a1ceac61c42be30a8731e168f582851134b5ec25af75171
service:
main:
ports:
http:
port: &port 8080
probes:
liveness: &probes
enabled: false
# custom: true
# spec:
# httpGet:
# path: /Jack/status/20
# port: *port
# initialDelaySeconds: 0
# periodSeconds: 10
# timeoutSeconds: 1
# failureThreshold: 3
readiness: *probes
startup:
enabled: false
ingress:
main:
enabled: true
ingressClassName: "nginx"
annotations:
auth.home.arpa/enabled: "true"
external-dns.home.arpa/enabled: "true"
hajimari.io/icon: mdi:web
hosts:
- host: &host "nitter.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
persistence:
config:
enabled: true
type: configMap
name: *app
subPath: config.yml
mountPath: /src/nitter.conf
readOnly: false
resources:
requests:
cpu: 50m
memory: 256Mi

View File

@@ -1,23 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-nitter
namespace: flux-system
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./kubernetes/apps/default/nitter/app
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
name: nitter
namespace: default
interval: 30m
retryInterval: 1m
timeout: 3m

View File

@@ -26,6 +26,8 @@ spec:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: outline-redis
values:
initContainers:
01-init-db:
@@ -60,7 +62,7 @@ spec:
OIDC_USERNAME_CLAIM: email
PGSSLMODE: disable
PORT: 8080
REDIS_URL: redis://redis-master.default.svc.cluster.local.:6379
REDIS_URL: redis://outline-redis.default.svc.cluster.local.:6379
SMTP_HOST: smtp-relay.default.svc.cluster.local.
SMTP_PORT: 2525
SMTP_FROM_EMAIL: "outline@${SECRET_DOMAIN}"

View File

@@ -16,6 +16,7 @@ spec:
dependsOn:
- name: cluster-apps-cloudnative-pg-cluster
- name: cluster-apps-external-secrets-stores
- name: cluster-apps-outline-redis
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
@@ -24,3 +25,18 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 3m
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-outline-redis
namespace: flux-system
spec:
interval: 10m
path: ./kubernetes/apps/default/outline/redis
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false # no flux ks dependents

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: outline-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: outline-redis
app.kubernetes.io/instance: outline

View File

@@ -26,6 +26,8 @@ spec:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: paperless-redis
values:
initContainers:
01-init-db:
@@ -48,7 +50,7 @@ spec:
PAPERLESS_OCR_LANGUAGE: fra
PAPERLESS_PORT: 8000
PAPERLESS_DBNAME: paperless
PAPERLESS_REDIS: redis://redis-master.default.svc.cluster.local:6379
PAPERLESS_REDIS: redis://paperless-redis.default.svc.cluster.local:6379
PAPERLESS_TASK_WORKERS: 2
PAPERLESS_TIME_ZONE: "Europe/Paris"
PAPERLESS_URL: https://paperless.${SECRET_CLUSTER_DOMAIN}

View File

@@ -16,6 +16,7 @@ spec:
dependsOn:
- name: cluster-apps-cloudnative-pg-cluster
- name: cluster-apps-external-secrets-stores
- name: cluster-apps-paperless-redis
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
@@ -24,3 +25,18 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 3m
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-paperless-redis
namespace: flux-system
spec:
interval: 10m
path: ./kubernetes/apps/default/paperless/redis
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false # no flux ks dependents

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: paperless-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: paperless-redis
app.kubernetes.io/instance: paperless

View File

@@ -1,44 +0,0 @@
---
# 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: &app redis
namespace: default
spec:
interval: 30m
chart:
spec:
chart: redis
version: 18.0.4
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
auth:
enabled: false
sentinel: false
master:
persistence:
enabled: false
replica:
persistence:
enabled: false
architecture: standalone
metrics:
enabled: true
serviceMonitor:
enabled: true
interval: 1m

View File

@@ -1,25 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-redis
namespace: flux-system
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
dependsOn:
- name: cluster-apps-rook-ceph-cluster
path: ./kubernetes/apps/default/redis/app
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
name: redis
namespace: default
interval: 30m
retryInterval: 1m
timeout: 3m

View File

@@ -26,6 +26,8 @@ spec:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: wallabag-redis
values:
controller:
annotations:
@@ -48,7 +50,7 @@ spec:
SYMFONY__ENV__FROM_EMAIL: wallabag@${SECRET_DOMAIN}
SYMFONY__ENV__MAILER_HOST: smtp-relay.default.svc.cluster.local.
SYMFONY__ENV__MAILER_PORT: "2525"
SYMFONY__ENV__REDIS_HOST: redis-master.default.svc.cluster.local.
SYMFONY__ENV__REDIS_HOST: wallabag-redis.default.svc.cluster.local.
SYMFONY__ENV__SERVER_NAME: Wallabag
command:
- /var/www/wallabag/bin/console

View File

@@ -18,6 +18,7 @@ spec:
- name: cluster-apps-external-secrets-stores
- name: cluster-apps-rook-ceph-cluster
- name: cluster-apps-volsync-app
- name: cluster-apps-wallabag-redis
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
@@ -26,3 +27,18 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 3m
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-wallabag-redis
namespace: flux-system
spec:
interval: 10m
path: ./kubernetes/apps/default/wallabag/redis
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false # no flux ks dependents

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: wallabag-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: wallabag-redis
app.kubernetes.io/instance: wallabag