aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/bitlbee-purple/bitlbee-deployment.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-11-14 16:16:18 +0000
committerterminaldweller <thabogre@gmail.com>2021-11-14 16:16:18 +0000
commitdd8231dc44b7ba9a2b505f56969d33ef41ff6724 (patch)
treea927d1162a296f739ca518a8a5adc2e17c8f13f4 /kubernetes/bitlbee-purple/bitlbee-deployment.yaml
parentupdates (diff)
downloadscripts-dd8231dc44b7ba9a2b505f56969d33ef41ff6724.tar.gz
scripts-dd8231dc44b7ba9a2b505f56969d33ef41ff6724.zip
moved bitlbee to kubernetes. using bitlbee-libpurple now
Diffstat (limited to 'kubernetes/bitlbee-purple/bitlbee-deployment.yaml')
-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