Also removes the now-stale flat CR files for searxng, outline and passbolt, which ArgoCD would otherwise recreate pointing at emptied folders.
41 lines
985 B
YAML
41 lines
985 B
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
namespace: passbolt
|
|
name: passbolt-mariadb
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: passbolt-mariadb
|
|
serviceName: passbolt-mariadb
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: passbolt-mariadb
|
|
spec:
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 10
|
|
containers:
|
|
- name: passbolt-mariadb
|
|
image: mariadb:10.11
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
volumeMounts:
|
|
- name: passbolt-mariadb-volume
|
|
mountPath: /var/lib/mysql
|
|
ports:
|
|
- containerPort: 3306
|
|
envFrom:
|
|
- secretRef:
|
|
name: passbolt-mariadb-secrets
|
|
volumes:
|
|
- name: passbolt-mariadb-volume
|
|
persistentVolumeClaim:
|
|
claimName: passbolt-mariadb-pvc
|