diff options
Diffstat (limited to '')
| -rw-r--r-- | grumpy/cgit/cgit-deploy.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/grumpy/cgit/cgit-deploy.yaml b/grumpy/cgit/cgit-deploy.yaml new file mode 100644 index 0000000..3b12394 --- /dev/null +++ b/grumpy/cgit/cgit-deploy.yaml @@ -0,0 +1,40 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cgit +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/instance: cgit + app.kubernetes.io/name: cgit + template: + metadata: + labels: + app.kubernetes.io/instance: cgit + app.kubernetes.io/name: cgit + spec: + containers: + - env: + - name: CGIT_HOSTNAME + value: git.ofmax.li + - name: CGIT_PORT + value: "8080" + image: registry.gitlab.com/grumps/grumpy-containers/cgit:v0.0.5 + imagePullPolicy: Always + name: cgit + ports: + - containerPort: 8080 + name: http + protocol: TCP + volumeMounts: + - mountPath: /var/lib/git + name: gitolite-storage + readOnly: false + imagePullSecrets: + - name: regcred + serviceAccountName: cgit + volumes: + - name: gitolite-storage + persistentVolumeClaim: + claimName: gitolite-storage |