diff options
| -rw-r--r-- | manifests/cgit/cgit-cm.yaml | 4 | ||||
| -rw-r--r-- | manifests/cgit/cgit-deploy.yaml | 11 | ||||
| -rw-r--r-- | manifests/cgit/kustomization.yaml | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/manifests/cgit/cgit-cm.yaml b/manifests/cgit/cgit-cm.yaml index e01a6b5..d1dd989 100644 --- a/manifests/cgit/cgit-cm.yaml +++ b/manifests/cgit/cgit-cm.yaml @@ -6,7 +6,7 @@ data: cgitrc: | # cgit config # see cgitrc(5) for details - root-title=git.ofmax.li + root-title=cgit.ofmax.li root-desc=grumpy software readme=:README.md @@ -25,9 +25,9 @@ data: snapshots=tar.gz css=/cgit.css logo=/cgit.png - virtual-root=/ robots=nofollow remove-suffix=1 + virtual-root=/ mimetype.html=text/html mimetype.jpg=image/jpeg diff --git a/manifests/cgit/cgit-deploy.yaml b/manifests/cgit/cgit-deploy.yaml index 59a8a72..6627710 100644 --- a/manifests/cgit/cgit-deploy.yaml +++ b/manifests/cgit/cgit-deploy.yaml @@ -20,7 +20,10 @@ spec: value: "8080" - name: CGIT_CONFIG value: /opt/etc/cgitrc - image: registry.gitlab.com/grumps/grumpy-containers/cgit:v0.0.5 + image: registry.gitlab.com/grumps/grumpy-containers/cgit:v0.0.6 + securityContext: + runAsUser: 0 + runAsGroup: 1000 imagePullPolicy: Always name: cgit ports: @@ -42,7 +45,7 @@ spec: persistentVolumeClaim: claimName: go-git-storage - name: cgitrc - configMap: - defaultMode: 420 + configMap: + defaultMode: 420 name: cgitrc - + diff --git a/manifests/cgit/kustomization.yaml b/manifests/cgit/kustomization.yaml index 145b0e8..26c634a 100644 --- a/manifests/cgit/kustomization.yaml +++ b/manifests/cgit/kustomization.yaml @@ -6,13 +6,13 @@ commonLabels: # creating patches. images: - name: registry.gitlab.com/grumps/grumpy-containers/cgit - newTag: latest + newName: public.ecr.aws/s0f9o2k5/cgit + newTag: v0.0.6 # List of resource files that kustomize reads, modifies # and emits as a YAML string resources: - cgit-deploy.yaml -- cgit-ing.yaml - cgit-sa.yaml - cgit-svc.yaml - cgit-cm.yaml |