Automated Manifest Update #4389
@@ -1,15 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: gitea-actions-act-runner-config
|
||||
name: gitea-gitea-actions-act-runner-config
|
||||
namespace: gitea
|
||||
labels:
|
||||
helm.sh/chart: gitea-actions-0.2.1
|
||||
helm.sh/chart: gitea-actions-0.0.3
|
||||
app: gitea-actions
|
||||
app.kubernetes.io/name: gitea-actions
|
||||
app.kubernetes.io/instance: gitea
|
||||
app.kubernetes.io/version: "0.2.13"
|
||||
version: "0.2.13"
|
||||
app.kubernetes.io/version: "0.261.3"
|
||||
version: "0.261.3"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
data:
|
||||
config.yaml: |
|
||||
@@ -2,15 +2,15 @@ apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
labels:
|
||||
helm.sh/chart: gitea-actions-0.2.1
|
||||
helm.sh/chart: gitea-actions-0.0.3
|
||||
app: gitea-actions-act-runner
|
||||
app.kubernetes.io/name: gitea-actions-act-runner
|
||||
app.kubernetes.io/instance: gitea
|
||||
app.kubernetes.io/version: "0.2.13"
|
||||
version: "0.2.13"
|
||||
app.kubernetes.io/version: "0.261.3"
|
||||
version: "0.261.3"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
annotations:
|
||||
name: gitea-actions-act-runner
|
||||
name: gitea-gitea-actions-act-runner
|
||||
namespace: gitea
|
||||
spec:
|
||||
replicas: 6
|
||||
@@ -20,15 +20,18 @@ spec:
|
||||
app.kubernetes.io/instance: gitea
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: 43a4fe1ea3555c21c050306bc0ba1a9bef4aa431a74f1e8ca5913ebbec4f8776
|
||||
labels:
|
||||
helm.sh/chart: gitea-actions-0.2.1
|
||||
helm.sh/chart: gitea-actions-0.0.3
|
||||
app: gitea-actions-act-runner
|
||||
app.kubernetes.io/name: gitea-actions-act-runner
|
||||
app.kubernetes.io/instance: gitea
|
||||
app.kubernetes.io/version: "0.2.13"
|
||||
version: "0.2.13"
|
||||
app.kubernetes.io/version: "0.261.3"
|
||||
version: "0.261.3"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
securityContext: {}
|
||||
initContainers:
|
||||
- name: init-gitea
|
||||
image: "busybox:1.37.0"
|
||||
@@ -36,21 +39,40 @@ spec:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
while ! nc -z gitea-http.gitea 3000; do
|
||||
sleep 5
|
||||
echo 'Trying to reach Gitea on http://gitea-http.gitea:3000'
|
||||
until timeout 10 wget --no-check-certificate --spider http://gitea-http.gitea:3000; do
|
||||
sleep 3
|
||||
echo "Trying again in 3 seconds..."
|
||||
done
|
||||
echo "Gitea has been reached!"
|
||||
- name: dind
|
||||
image: "docker:28.3.3-dind"
|
||||
imagePullPolicy: IfNotPresent
|
||||
restartPolicy: Always
|
||||
securityContext:
|
||||
privileged: true
|
||||
startupProbe:
|
||||
exec:
|
||||
command:
|
||||
- /usr/bin/test
|
||||
- -S
|
||||
- /var/run/docker.sock
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /usr/bin/test
|
||||
- -S
|
||||
- /var/run/docker.sock
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/
|
||||
name: docker-socket
|
||||
containers:
|
||||
- name: act-runner
|
||||
image: "gitea/act_runner:0.2.13"
|
||||
imagePullPolicy: IfNotPresent
|
||||
workingDir: /data
|
||||
env:
|
||||
- name: DOCKER_HOST
|
||||
value: tcp://127.0.0.1:2376
|
||||
- name: DOCKER_TLS_VERIFY
|
||||
value: "1"
|
||||
- name: DOCKER_CERT_PATH
|
||||
value: /certs/server
|
||||
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
@@ -60,43 +82,29 @@ spec:
|
||||
value: http://gitea-http.gitea:3000
|
||||
- name: CONFIG_FILE
|
||||
value: /actrunner/config.yaml
|
||||
- name: TZ
|
||||
value: America/Chicago
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /actrunner/config.yaml
|
||||
name: act-runner-config
|
||||
subPath: config.yaml
|
||||
- mountPath: /certs/server
|
||||
name: docker-certs
|
||||
- mountPath: /var/run/docker.sock
|
||||
name: docker-socket
|
||||
subPath: docker.sock
|
||||
- mountPath: /data
|
||||
name: data-act-runner
|
||||
- name: dind
|
||||
image: "docker:25.0.2-dind"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: DOCKER_HOST
|
||||
value: tcp://127.0.0.1:2376
|
||||
- name: DOCKER_TLS_VERIFY
|
||||
value: "1"
|
||||
- name: DOCKER_CERT_PATH
|
||||
value: /certs/server
|
||||
securityContext:
|
||||
privileged: true
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /certs/server
|
||||
name: docker-certs
|
||||
volumes:
|
||||
- name: act-runner-config
|
||||
configMap:
|
||||
name: gitea-actions-act-runner-config
|
||||
- name: docker-certs
|
||||
name: gitea-gitea-actions-act-runner-config
|
||||
- name: docker-socket
|
||||
emptyDir: {}
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: data-act-runner
|
||||
spec:
|
||||
accessModes: ["ReadWriteOnce"]
|
||||
storageClassName: "ceph-block"
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
Reference in New Issue
Block a user