restructure templates
This commit is contained in:
parent
3b3f862a9c
commit
d83b384504
4 changed files with 3 additions and 3 deletions
33
manifests/tor/templates/deployment.yaml
Normal file
33
manifests/tor/templates/deployment.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
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_SHA}
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8118
|
||||
volumeMounts:
|
||||
- name: tor-config
|
||||
mountPath: /etc/tor/torrc
|
||||
subPath: torrc
|
||||
volumes:
|
||||
- name: tor-config
|
||||
configMap:
|
||||
name: tor-config
|
||||
---
|
||||
Loading…
Add table
Add a link
Reference in a new issue