Standardize config.
This commit is contained in:
@@ -14,13 +14,11 @@ spec:
|
||||
app: redis
|
||||
spec:
|
||||
containers:
|
||||
- image: "{{ .image }}"
|
||||
- image: "redis:alpine"
|
||||
name: redis
|
||||
ports:
|
||||
- containerPort: {{ .port }}
|
||||
- containerPort: 6379
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .timezone }}"
|
||||
- name: REDIS_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
name: redis
|
||||
is: redis
|
||||
description: Redis is an open source, in-memory data structure store, used as a database, cache and message broker.
|
||||
version: 1.0.0
|
||||
version: 1.0.0-1
|
||||
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.svg
|
||||
defaultConfig:
|
||||
namespace: redis
|
||||
image: redis:alpine
|
||||
timezone: UTC
|
||||
host: redis.redis.svc.cluster.local
|
||||
port: 6379
|
||||
uri: redis://{{ .app.host }}:{{ .app.port }}/0
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app: redis
|
||||
spec:
|
||||
ports:
|
||||
- port: {{ .port }}
|
||||
targetPort: {{ .port }}
|
||||
- port: 6379
|
||||
targetPort: 6379
|
||||
selector:
|
||||
app: redis
|
||||
|
||||
Reference in New Issue
Block a user