Standardize config.
This commit is contained in:
@@ -4,7 +4,7 @@ metadata:
|
||||
name: lemmy-backend
|
||||
namespace: {{ .namespace }}
|
||||
spec:
|
||||
replicas: {{ .backendReplicas }}
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
component: backend
|
||||
@@ -65,7 +65,7 @@ spec:
|
||||
mountPath: /config
|
||||
containers:
|
||||
- name: backend
|
||||
image: {{ .backendImage }}
|
||||
image: dessalines/lemmy:0.19.15
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
@@ -75,9 +75,9 @@ spec:
|
||||
- name: LEMMY_CONFIG_LOCATION
|
||||
value: /config/lemmy.hjson
|
||||
- name: TZ
|
||||
value: "{{ .timezone }}"
|
||||
value: "UTC"
|
||||
ports:
|
||||
- containerPort: {{ .backendPort }}
|
||||
- containerPort: 8536
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: config
|
||||
@@ -85,13 +85,13 @@ spec:
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/v3/site
|
||||
port: {{ .backendPort }}
|
||||
port: 8536
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/v3/site
|
||||
port: {{ .backendPort }}
|
||||
port: 8536
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user