7 Commits
0.0.2 ... main

Author SHA1 Message Date
655eccde8c for cron 2026-02-19 22:06:32 +01:00
df7adde1fb fix cfg
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2026-02-19 21:48:57 +01:00
f16f10cab4 add cluster ip service
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2026-02-19 21:40:26 +01:00
12b3ac5560 fix loadbalanecer external policy
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2026-02-19 13:41:07 +01:00
bac1e65d99 fix
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2026-02-19 13:34:27 +01:00
e2eb993042 fix ci script 2
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
2026-02-19 12:51:21 +01:00
8867aa39a4 fix ci script
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
2026-02-19 12:47:32 +01:00
6 changed files with 23 additions and 13 deletions

View File

@@ -1,3 +1,6 @@
when:
event: [tag]
steps:
build:
image: plugins/kaniko
@@ -11,8 +14,6 @@ steps:
password:
from_secret: container_registry_password
dockerfile: Dockerfile
when:
- event: tag
deploy:
image: quay.io/wollud1969/k8s-admin-helper:0.3.4
@@ -23,7 +24,5 @@ steps:
- export IMAGE_TAG=$CI_COMMIT_SHA
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig
- ./deployment/deploy.sh
when:
- event: tag
- ./deploy.sh

View File

@@ -1,4 +1,4 @@
FROM alpine:3.22.2
FROM alpine:3.23.3
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName=""
@@ -14,4 +14,3 @@ EXPOSE 514/udp
CMD [ "/usr/sbin/syslog-ng", "-f", "/etc/syslog-ng/syslog-ng.conf", "-F" ]

View File

@@ -46,6 +46,21 @@ metadata:
name: syslog
spec:
type: LoadBalancer
externalTrafficPolicy: Local
selector:
app: syslog-ng
ports:
- name: syslog
port: 514
targetPort: 514
protocol: UDP
---
apiVersion: v1
kind: Service
metadata:
name: syslog-internal
spec:
type: ClusterIP
selector:
app: syslog-ng
ports:

View File

@@ -8,9 +8,6 @@ fi
IMAGE_NAME=gitea.hottis.de/deployments/syslog-ng-server
NAMESPACE=syslog-ng
DEPLOYMENT_DIR=$PWD/deployment
pushd $DEPLOYMENT_DIR > /dev/null
kubectl create namespace $NAMESPACE \
--dry-run=client \
@@ -18,9 +15,8 @@ kubectl create namespace $NAMESPACE \
kubectl -f - apply
cat $DEPLOYMENT_DIR/deploy-yml.tmpl | \
cat deploy-yml.tmpl | \
sed -e 's,%IMAGE%,'$IMAGE_NAME':'$IMAGE_TAG','g | \
kubectl apply -f - -n $NAMESPACE
popd > /dev/null

1
for-cron Normal file
View File

@@ -0,0 +1 @@
/usr/bin/find /var/log/remote -mtime +30 -delete

View File

@@ -106,7 +106,7 @@ log {
# -----------------------------------------------------------------
filter f_firewall {
host("172.20.0.1")
host("172.23.1.1")
};
destination d_firewall {