Compare commits

..

1 Commits

Author SHA1 Message Date
Gitea Actions Bot adf4c7764b Auto-update README with current k8s applications
Terraform / Terraform (pull_request) Successful in 1m3s
Generated by CI/CD workflow on 2026-04-19 13:25:05

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-04-19 13:25:05 +00:00
4 changed files with 4 additions and 87 deletions
-2
View File
@@ -48,8 +48,6 @@ spec:
value: "true"
- name: GITEA__service__CAPTCHA_TYPE
value: "hcaptcha"
- name: GITEA__webhook__ALLOWED_HOST_LIST
value: "*"
envFrom:
- secretRef:
name: gitea-recapcha-creds
+4 -13
View File
@@ -15,8 +15,6 @@ spec:
labels:
app: wedding
spec:
nodeSelector:
kubernetes.io/hostname: spb.tail2fe2d.ts.net
initContainers:
- name: git-clone
image: alpine/git:latest
@@ -28,17 +26,11 @@ spec:
- name: source
mountPath: /src
- name: zola-build
image: ghcr.io/getzola/zola:v0.22.1
image: ghcr.io/getzola/zola:v0.19.2
command:
- /bin/zola
args:
- --root
- /src
- build
- --base-url
- https://wedding.hexor.cy/
- --output-dir
- /public/html
- sh
- -c
- cd /src && zola build --output-dir /public
volumeMounts:
- name: source
mountPath: /src
@@ -53,7 +45,6 @@ spec:
volumeMounts:
- name: public
mountPath: /usr/share/nginx/html
subPath: html
readOnly: true
resources:
requests:
-1
View File
@@ -7,4 +7,3 @@ resources:
- deployment.yaml
- service.yaml
- ingress.yaml
- webhook.yaml
-71
View File
@@ -1,71 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: webhook-script
data:
serve.sh: |
#!/bin/sh
echo "Webhook server listening on :8080"
while true; do
echo -e "HTTP/1.1 200 OK\r\nContent-Length: 2\r\nConnection: close\r\n\r\nok" \
| nc -l -p 8080 > /dev/null
echo "Received webhook, restarting deployment..."
kubectl rollout restart deployment/wedding
done
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: wedding-webhook
labels:
app: wedding-webhook
spec:
replicas: 1
selector:
matchLabels:
app: wedding-webhook
template:
metadata:
labels:
app: wedding-webhook
spec:
nodeSelector:
kubernetes.io/hostname: spb.tail2fe2d.ts.net
serviceAccountName: wedding-deployer
containers:
- name: webhook
image: alpine/k8s:1.32.3
command: ["sh", "/scripts/serve.sh"]
ports:
- containerPort: 8080
protocol: TCP
volumeMounts:
- name: script
mountPath: /scripts
readOnly: true
resources:
requests:
memory: 16Mi
cpu: 5m
limits:
memory: 32Mi
cpu: 50m
volumes:
- name: script
configMap:
name: webhook-script
---
apiVersion: v1
kind: Service
metadata:
name: wedding-webhook
spec:
selector:
app: wedding-webhook
ports:
- port: 8080
targetPort: 8080
protocol: TCP