Automated Manifest Update (#4389)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: #4389 Co-authored-by: gitea-bot <gitea-bot@alexlebens.net> Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
This commit was merged in pull request #4389.
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea-actions-act-runner-config
|
name: gitea-gitea-actions-act-runner-config
|
||||||
namespace: gitea
|
namespace: gitea
|
||||||
labels:
|
labels:
|
||||||
helm.sh/chart: gitea-actions-0.2.1
|
helm.sh/chart: gitea-actions-0.0.3
|
||||||
app: gitea-actions
|
app: gitea-actions
|
||||||
app.kubernetes.io/name: gitea-actions
|
app.kubernetes.io/name: gitea-actions
|
||||||
app.kubernetes.io/instance: gitea
|
app.kubernetes.io/instance: gitea
|
||||||
app.kubernetes.io/version: "0.2.13"
|
app.kubernetes.io/version: "0.261.3"
|
||||||
version: "0.2.13"
|
version: "0.261.3"
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
data:
|
data:
|
||||||
config.yaml: |
|
config.yaml: |
|
||||||
@@ -2,15 +2,15 @@ apiVersion: apps/v1
|
|||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
helm.sh/chart: gitea-actions-0.2.1
|
helm.sh/chart: gitea-actions-0.0.3
|
||||||
app: gitea-actions-act-runner
|
app: gitea-actions-act-runner
|
||||||
app.kubernetes.io/name: gitea-actions-act-runner
|
app.kubernetes.io/name: gitea-actions-act-runner
|
||||||
app.kubernetes.io/instance: gitea
|
app.kubernetes.io/instance: gitea
|
||||||
app.kubernetes.io/version: "0.2.13"
|
app.kubernetes.io/version: "0.261.3"
|
||||||
version: "0.2.13"
|
version: "0.261.3"
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
annotations:
|
annotations:
|
||||||
name: gitea-actions-act-runner
|
name: gitea-gitea-actions-act-runner
|
||||||
namespace: gitea
|
namespace: gitea
|
||||||
spec:
|
spec:
|
||||||
replicas: 6
|
replicas: 6
|
||||||
@@ -20,15 +20,18 @@ spec:
|
|||||||
app.kubernetes.io/instance: gitea
|
app.kubernetes.io/instance: gitea
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
annotations:
|
||||||
|
checksum/config: 43a4fe1ea3555c21c050306bc0ba1a9bef4aa431a74f1e8ca5913ebbec4f8776
|
||||||
labels:
|
labels:
|
||||||
helm.sh/chart: gitea-actions-0.2.1
|
helm.sh/chart: gitea-actions-0.0.3
|
||||||
app: gitea-actions-act-runner
|
app: gitea-actions-act-runner
|
||||||
app.kubernetes.io/name: gitea-actions-act-runner
|
app.kubernetes.io/name: gitea-actions-act-runner
|
||||||
app.kubernetes.io/instance: gitea
|
app.kubernetes.io/instance: gitea
|
||||||
app.kubernetes.io/version: "0.2.13"
|
app.kubernetes.io/version: "0.261.3"
|
||||||
version: "0.2.13"
|
version: "0.261.3"
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
spec:
|
spec:
|
||||||
|
securityContext: {}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-gitea
|
- name: init-gitea
|
||||||
image: "busybox:1.37.0"
|
image: "busybox:1.37.0"
|
||||||
@@ -36,21 +39,40 @@ spec:
|
|||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
while ! nc -z gitea-http.gitea 3000; do
|
echo 'Trying to reach Gitea on http://gitea-http.gitea:3000'
|
||||||
sleep 5
|
until timeout 10 wget --no-check-certificate --spider http://gitea-http.gitea:3000; do
|
||||||
|
sleep 3
|
||||||
|
echo "Trying again in 3 seconds..."
|
||||||
done
|
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:
|
containers:
|
||||||
- name: act-runner
|
- name: act-runner
|
||||||
image: "gitea/act_runner:0.2.13"
|
image: "gitea/act_runner:0.2.13"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
workingDir: /data
|
workingDir: /data
|
||||||
env:
|
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
|
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -60,43 +82,29 @@ spec:
|
|||||||
value: http://gitea-http.gitea:3000
|
value: http://gitea-http.gitea:3000
|
||||||
- name: CONFIG_FILE
|
- name: CONFIG_FILE
|
||||||
value: /actrunner/config.yaml
|
value: /actrunner/config.yaml
|
||||||
|
- name: TZ
|
||||||
|
value: America/Chicago
|
||||||
resources: {}
|
resources: {}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /actrunner/config.yaml
|
- mountPath: /actrunner/config.yaml
|
||||||
name: act-runner-config
|
name: act-runner-config
|
||||||
subPath: config.yaml
|
subPath: config.yaml
|
||||||
- mountPath: /certs/server
|
- mountPath: /var/run/docker.sock
|
||||||
name: docker-certs
|
name: docker-socket
|
||||||
|
subPath: docker.sock
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: data-act-runner
|
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:
|
volumes:
|
||||||
- name: act-runner-config
|
- name: act-runner-config
|
||||||
configMap:
|
configMap:
|
||||||
name: gitea-actions-act-runner-config
|
name: gitea-gitea-actions-act-runner-config
|
||||||
- name: docker-certs
|
- name: docker-socket
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- metadata:
|
||||||
name: data-act-runner
|
name: data-act-runner
|
||||||
spec:
|
spec:
|
||||||
accessModes: ["ReadWriteOnce"]
|
accessModes: ["ReadWriteOnce"]
|
||||||
storageClassName: "ceph-block"
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 5Gi
|
storage: 5Gi
|
||||||
Reference in New Issue
Block a user