2022-06-06 11:47:37 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: netflux-homepage
|
|
|
|
labels:
|
|
|
|
app: netflux-homepage
|
|
|
|
component: web
|
|
|
|
app.kubernetes.io/name: netflux-homepage
|
|
|
|
app.kubernetes.io/instance: netflux-homepage
|
2023-09-10 22:18:13 +00:00
|
|
|
annotations:
|
|
|
|
ignore-check.kube-linter.io/run-as-non-root: "Not yet implemented"
|
2022-06-06 11:47:37 +00:00
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: netflux-homepage
|
|
|
|
component: web
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: netflux-homepage
|
|
|
|
component: web
|
|
|
|
app.kubernetes.io/name: netflux-homepage
|
|
|
|
app.kubernetes.io/instance: netflux-homepage
|
|
|
|
spec:
|
|
|
|
containers:
|
2023-09-10 18:14:22 +00:00
|
|
|
- image: netfluxio/homepage@sha256:fc253db170fddf4c4cf60aa4e1cefd4f9becb1305aba0929034d2b7636b6aad1
|
2022-06-06 11:47:37 +00:00
|
|
|
imagePullPolicy: Always
|
|
|
|
name: netflux-homepage
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
protocol: TCP
|
|
|
|
containerPort: 9000
|
|
|
|
env:
|
|
|
|
- name: NETFLUX_MATRIX_HOSTNAME
|
|
|
|
value: synapse.netflux.io:443
|
|
|
|
- name: NETFLUX_MATRIX_BASE_URL
|
|
|
|
value: https://synapse.matrix.io
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: "16Mi"
|
|
|
|
cpu: "50m"
|
|
|
|
limits:
|
|
|
|
memory: "64Mi"
|
|
|
|
cpu: "100m"
|
|
|
|
livenessProbe:
|
|
|
|
failureThreshold: 10
|
|
|
|
httpGet:
|
|
|
|
path: /
|
|
|
|
port: 9000
|
|
|
|
scheme: HTTP
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
timeoutSeconds: 3
|
2023-09-10 21:54:06 +00:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: true
|