aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/bitlbee-purple/bitlbee-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kubernetes/bitlbee-purple/bitlbee-deployment.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/kubernetes/bitlbee-purple/bitlbee-deployment.yaml b/kubernetes/bitlbee-purple/bitlbee-deployment.yaml
new file mode 100644
index 0000000..5d4b4f4
--- /dev/null
+++ b/kubernetes/bitlbee-purple/bitlbee-deployment.yaml
@@ -0,0 +1,44 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: bitlbee-libpurple
+ labels:
+ app: bitlbee-libpurple
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: bitlbee-libpurple
+ template:
+ metadata:
+ labels:
+ app: bitlbee-libpurple
+ spec:
+ containers:
+ - name: bitlbee-libpurple
+ image: ezkrg/bitlbee-libpurple:debian-20210922235056
+ ports:
+ - containerPort: 6667
+ # volumeMounts:
+ # - name: bitlbee-libpurple-conf
+ # mountPath: /var/lib/bitlbee
+ # readOnly: true
+ # volumes:
+ # - name: bitlbee-conf
+ # configMap:
+ # name: bitlbee-config-file
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: bitlebee-libpurple-service
+spec:
+ selector:
+ app: bitlbee-libpurple
+ type: LoadBalancer
+ ports:
+ - protocol: TCP
+ name: "6667"
+ port: 6667
+ targetPort: 6667
+ nodePort: 30667