apiVersion: helm.cattle.io/v1 kind: HelmChart metadata: name: gitea-actions namespace: infra-gitops spec: repo: https://dl.gitea.com/charts chart: actions targetNamespace: infra-gitops version: 0.0.2 valuesContent: |- enabled: true statefulset: nodeSelector: dev-cm-runner/enabled: "true" actRunner: config: | log: level: info cache: enabled: true container: require_docker: true docker_timeout: 300s # 使用bridge网络模式,解决新建任务临时网络mtu与主机不一致的问题 network: bridge 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-gitops.svc.cluster.local:3000 existingSecret: gitea-actions existingSecretKey: token