feat(gitea): add ConfigMap for Docker-in-Docker configuration and rename helm chart file
这个提交包含在:
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: gitea-actions-dind-config
|
||||
namespace: infra-devops
|
||||
data:
|
||||
daemon.json: |-
|
||||
{
|
||||
"mtu": 1400
|
||||
}
|
||||
+11
-2
@@ -11,7 +11,6 @@ spec:
|
||||
valuesContent: |-
|
||||
enabled: true
|
||||
statefulset:
|
||||
affinity:
|
||||
nodeSelector:
|
||||
dev-cm-runner/enabled: "true"
|
||||
actRunner:
|
||||
@@ -23,10 +22,20 @@ spec:
|
||||
container:
|
||||
require_docker: true
|
||||
docker_timeout: 300s
|
||||
dind:
|
||||
# 挂载dind docker配置文件,解决mtu带来的网络问题
|
||||
extraVolumeMounts:
|
||||
- name: dind-config-volume
|
||||
mountPath: /etc/docker/daemon.json
|
||||
subPath: daemon.json
|
||||
extraVolumes:
|
||||
- name: dind-config-volume
|
||||
configMap:
|
||||
name: gitea-actions-dind-config
|
||||
persistence:
|
||||
size: 10Gi
|
||||
giteaRootURL: http://gitea-http.infra-devops.svc.cluster.local:3000
|
||||
existingSecret: gitea-runner
|
||||
existingSecret: gitea-actions
|
||||
existingSecretKey: token
|
||||
|
||||
|
||||
在新议题中引用
屏蔽一个用户