diff options
| author | Max Resnick <max@ofmax.li> | 2024-08-17 22:48:53 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2024-08-17 22:48:53 -0700 |
| commit | e54477d5863bcc5a9ccfeb9af6c1e25138d63f8a (patch) | |
| tree | d640cae02065086f4be10488d15324deec50746b /manifests | |
| parent | 64c63e4a17e0420aee0a44dbdcd1edf80ad50508 (diff) | |
| download | go-git-server-e54477d5863bcc5a9ccfeb9af6c1e25138d63f8a.tar.gz | |
chore: update cgit config and images
Diffstat (limited to 'manifests')
| -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 |