Restructure yaml, add CI/CD pipelines
This commit is contained in:
parent
fc1bf0bb9a
commit
fd7d99d29a
31 changed files with 771 additions and 543 deletions
33
manifests/privoxy/deployment.template.yaml
Normal file
33
manifests/privoxy/deployment.template.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: privoxy
|
||||
namespace: darkdork-dev
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: privoxy
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: privoxy
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: registry-credentials
|
||||
containers:
|
||||
- name: privoxy
|
||||
image: cr.forge.lan/darkdork-dev/privoxy:${CI_COMMIT_HASH}
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8118
|
||||
volumeMounts:
|
||||
- name: privoxy-config
|
||||
mountPath: /etc/privoxy/config
|
||||
subPath: config
|
||||
volumes:
|
||||
- name: privoxy-config
|
||||
configMap:
|
||||
name: privoxy-config
|
||||
---
|
||||
Loading…
Add table
Add a link
Reference in a new issue