blob: 54446ad3cb36c99b31000b56d585b7e1d06a9908 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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:alpine3.12-20220408145536
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
|