diff options
author | terminaldweller <thabogre@gmail.com> | 2022-10-08 08:25:21 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-10-08 08:25:21 +0000 |
commit | f9e8deec17ea1784b45e7ea620ed0fef49170359 (patch) | |
tree | 8c342caff8b39c58b1c91ca9426841e55e743357 /kubernetes/bitlbee-purple/bitlbee-deployment.yaml | |
parent | update (diff) | |
download | scripts-f9e8deec17ea1784b45e7ea620ed0fef49170359.tar.gz scripts-f9e8deec17ea1784b45e7ea620ed0fef49170359.zip |
update
Diffstat (limited to '')
-rw-r--r-- | kubernetes/bitlbee-purple/bitlbee-deployment.yaml | 40 |
1 files changed, 32 insertions, 8 deletions
diff --git a/kubernetes/bitlbee-purple/bitlbee-deployment.yaml b/kubernetes/bitlbee-purple/bitlbee-deployment.yaml index 642794a..a8971fa 100644 --- a/kubernetes/bitlbee-purple/bitlbee-deployment.yaml +++ b/kubernetes/bitlbee-purple/bitlbee-deployment.yaml @@ -17,16 +17,40 @@ spec: containers: - name: bitlbee-libpurple image: ezkrg/bitlbee-libpurple:debian-20220408145536 + imagePullPolicy: IfNotPresent + command: + - /usr/sbin/bitlbee + - -F + - -n + - -u + - bitlbee + - -c + - /var/lib/bitlbee/bitlbee.conf + - -d + - /bitlbee-user-data/ ports: - containerPort: 6667 - # volumeMounts: - # - name: bitlbee-libpurple-conf - # mountPath: /var/lib/bitlbee - # readOnly: true - # volumes: - # - name: bitlbee-conf - # configMap: - # name: bitlbee-config-file + volumeMounts: + - name: bitlbee-conf + mountPath: /var/lib/bitlbee/bitlbee.conf + subPath: bitlbee.conf + readOnly: true + - name: bitlbee-data + mountPath: /bitlbee-user-data/ + env: + - name: HTTPS_PROXY + value: socks5://192.168.1.103:9995 + - name: HTTP_PROXY + value: socks5://192.168.1.103:9995 + - name: NO_PROXY + value: localhost, 127.0.0.1, 10.0.0.0/24 + volumes: + - name: bitlbee-conf + configMap: + name: bitlbee-config-file + - name: bitlbee-data + persistentVolumeClaim: + claimName: bitlbee-data --- apiVersion: v1 kind: Service |