Restructure yaml, add CI/CD pipelines
This commit is contained in:
parent
fc1bf0bb9a
commit
fd7d99d29a
31 changed files with 771 additions and 543 deletions
|
|
@ -1,54 +0,0 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: tor
|
||||
namespace: darkdork-dev
|
||||
spec:
|
||||
ports:
|
||||
- port: 9050
|
||||
targetPort: 9050
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: tor
|
||||
---
|
||||
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
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8118
|
||||
volumeMounts:
|
||||
- name: tor-config
|
||||
mountPath: /etc/tor/torrc
|
||||
subPath: torrc
|
||||
volumes:
|
||||
- name: tor-config
|
||||
configMap:
|
||||
name: tor-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: tor-config
|
||||
namespace: darkdork-dev
|
||||
data:
|
||||
torrc: |
|
||||
SocksPort 0.0.0.0:9050
|
||||
Loading…
Add table
Add a link
Reference in a new issue