diff options
| author | Max Resnick <max@ofmax.li> | 2021-10-09 23:07:53 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2021-10-09 23:28:41 -0700 |
| commit | bda8a1c25070678e6efd22003e398691404c832f (patch) | |
| tree | 6ad3711b08bf3f8f3ad3577e97243402bad64b79 /grumpy/cgit/cgit-deploy.yaml | |
| parent | b2630dfd176884f9b33be88f2033b84a1c4dd7cd (diff) | |
| download | grumpy-charts-bda8a1c25070678e6efd22003e398691404c832f.tar.gz | |
feat: switch to kustomize from helm
Diffstat (limited to 'grumpy/cgit/cgit-deploy.yaml')
| -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 |