Add eggdrop test
This commit is contained in:
parent
d064cdd36e
commit
d39e16d206
2 changed files with 60 additions and 0 deletions
43
eggdrop/README.md
Normal file
43
eggdrop/README.md
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
## eggdrop
|
||||||
|
|
||||||
|
This is a application test for running on our kubernetes cluster
|
||||||
|
|
||||||
|
## Init
|
||||||
|
|
||||||
|
```
|
||||||
|
docker run -ti -e NICK=FooBot -e SERVER=irc.freenode.net -v
|
||||||
|
/path/for/host/data:/home/eggdrop/eggdrop/data eggdrop
|
||||||
|
```
|
||||||
|
|
||||||
|
## eggdrop help
|
||||||
|
|
||||||
|
```
|
||||||
|
/home/eggdrop/eggdrop # ./eggdrop -h
|
||||||
|
|
||||||
|
Eggdrop v1.8.4 (C) 1997 Robey Pointer (C) 2010-2018 Eggheads
|
||||||
|
|
||||||
|
Usage: ./eggdrop [options] [config-file]
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-n Don't background; send all log entries to console.
|
||||||
|
-nc Don't background; display channel stats every 10 seconds.
|
||||||
|
-nt Don't background; use terminal to simulate DCC chat.
|
||||||
|
-m Create userfile.
|
||||||
|
-h Show this help and exit.
|
||||||
|
-v Show version info and exit.
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
/home/eggdrop/eggdrop # su-exec eggdrop /home/eggdrop/eggdrop/eggdrop
|
||||||
|
|
||||||
|
Eggdrop v1.8.4 (C) 1997 Robey Pointer (C) 2010-2018 Eggheads
|
||||||
|
--- Loading eggdrop v1.8.4 (Tue Jun 8 2021)
|
||||||
|
* CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Final command
|
||||||
|
|
||||||
|
* Needs /home/eggdrop/eggdrop/eggdrop.conf
|
||||||
|
*
|
||||||
|
```
|
||||||
|
/sbin/su-exec eggdrop /home/eggdrop/eggdrop/eggdrop
|
17
eggdrop/eggdrop-pod.yaml
Normal file
17
eggdrop/eggdrop-pod.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: eggdrop-pod
|
||||||
|
labels:
|
||||||
|
app: eggdrop
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: eggdrop-container
|
||||||
|
image: ungleich/ungleich-eggdrop
|
||||||
|
command:
|
||||||
|
- /entrypoint.sh
|
||||||
|
env:
|
||||||
|
- name: NICK
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
Loading…
Reference in a new issue