add changes

This commit is contained in:
2026-08-17 09:46:57 +01:00
parent e6d2b11ea3
commit bc166eefcf
7 changed files with 30624 additions and 8 deletions
+59 -1
View File
@@ -106,7 +106,8 @@ spec:
- name: GITEA_INSTANCE_URL
value: "https://gitea.tryton.geeraert.eu/"
- name: GITEA_RUNNER_REGISTRATION_TOKEN
value: "2lLHg3Zt4mqjz04cBVIi6UI11cDOwIrwvNY6FMTH"
# value: "2lLHg3Zt4mqjz04cBVIi6UI11cDOwIrwvNY6FMTH"
value: "95NWFriTQnu910SpcbteDybyi9X5LffdLdaTK8lk"
- name: GITEA_RUNNER_NAME
value: "runner"
- name: GITEA_RUNNER_LABELS
@@ -134,6 +135,48 @@ spec:
name: gitea-runner-configfile
defaultMode: 0555
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: remote-buildkitd
namespace: gitea
spec:
replicas: 1
selector:
matchLabels:
app: remote-buildkitd
template:
metadata:
labels:
app: remote-buildkitd
spec:
nodeName: kube-master
containers:
- name: remote-buildkitd
image: moby/buildkit:latest
securityContext:
privileged: true
runAsUser: 0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 1234
name: buildkitd-port
volumeMounts:
- name: remote-buildkitd-data
mountPath: /etc/buildkit/certs
resources:
limits:
# cpu: 500m
memory: 1000Mi
volumes:
- name: gitea-var-docker-sock
hostPath:
path: /var/run/docker.sock
- name: remote-buildkitd-data
persistentVolumeClaim:
claimName: remote-buildkitd-data
---
apiVersion: v1
kind: Service
@@ -147,3 +190,18 @@ spec:
protocol: TCP
selector:
app: gitea-webserver
---
apiVersion: v1
kind: Service
metadata:
name: buildkitd
namespace: gitea
spec:
ports:
- port: 1234
targetPort: buildkitd-port
protocol: TCP
selector:
app: remote-buildkitd