diff --git a/scripts/gitops-render.mjs b/scripts/gitops-render.mjs index cdd13304..ff54b054 100644 --- a/scripts/gitops-render.mjs +++ b/scripts/gitops-render.mjs @@ -4266,22 +4266,22 @@ function contentType(filePath) { metadata: { labels: readLabels }, spec: { containers: [{ - name: "http", + name: "git-mirror", image: ciToolsRunnerImage, imagePullPolicy: "IfNotPresent", command: ["node"], - args: ["/script/http.mjs"], + args: ["/etc/git-mirror/http.mjs"], ports: [{ name: "http", containerPort: 8080 }], readinessProbe: { httpGet: { path: "/pikasTech/HWLAB.git/HEAD", port: "http" }, initialDelaySeconds: 5, periodSeconds: 10 }, livenessProbe: { httpGet: { path: "/", port: "http" }, initialDelaySeconds: 10, periodSeconds: 30 }, volumeMounts: [ { name: "cache", mountPath: "/cache" }, - { name: "script", mountPath: "/script", readOnly: true } + { name: "config", mountPath: "/etc/git-mirror", readOnly: true } ] }], volumes: [ cacheVolume, - { name: "script", configMap: { name: gitMirrorConfigMapName, defaultMode: 0o555 } } + { name: "config", configMap: { name: gitMirrorConfigMapName, defaultMode: 0o555 } } ] } }