pleroma/manifests/tor/deployment.yaml.template

33 lines
677 B
Text

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: tor
namespace: darkdork-dev
spec:
replicas: 1
selector:
matchLabels:
app: tor
template:
metadata:
labels:
app: tor
spec:
imagePullSecrets:
- name: registry-credentials
containers:
- name: tor
image: cr.forge.lan/darkdork-dev/tor:${CI_COMMIT_HASH}
imagePullPolicy: Always
ports:
- containerPort: 8118
volumeMounts:
- name: tor-config
mountPath: /etc/tor/torrc
subPath: torrc
volumes:
- name: tor-config
configMap:
name: tor-config
---