mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
- remove namespace, since it's best practice to use the cli to add it, @roschaefer points out - organize templates into directories - migrations should be ran after the backend has started... - should init really be ran every time??
27 lines
695 B
YAML
27 lines
695 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: {{ .Release.Name }}-maintenance
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
human-connection.org/selector: deployment-maintenance
|
|
template:
|
|
metadata:
|
|
labels:
|
|
human-connection.org/commit: {{ .Values.commit }}
|
|
human-connection.org/selector: deployment-maintenance
|
|
name: maintenance
|
|
spec:
|
|
containers:
|
|
- name: maintenance
|
|
env:
|
|
- name: HOST
|
|
value: 0.0.0.0
|
|
image: humanconnection/maintenance:latest
|
|
ports:
|
|
- containerPort: 80
|
|
imagePullPolicy: Always
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 30
|