aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2024-07-31 22:21:17 -0700
committerMax Resnick <max@ofmax.li>2024-07-31 22:21:17 -0700
commitf15e57f847fd6709b2f1fc583e0aa70e1b34b4c6 (patch)
tree42151bcf40c1c4cabbaf6022966ae596e5e0917b /manifests
parentd2ee4229aaebded6c28fc53c98f410e150b08214 (diff)
downloadgo-git-server-f15e57f847fd6709b2f1fc583e0aa70e1b34b4c6.tar.gz
chore: cleanup image name and deploy settings
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base/deploy.yaml9
-rw-r--r--manifests/local/kustomization.yaml1
2 files changed, 5 insertions, 5 deletions
diff --git a/manifests/base/deploy.yaml b/manifests/base/deploy.yaml
index bf18317..92702c1 100644
--- a/manifests/base/deploy.yaml
+++ b/manifests/base/deploy.yaml
@@ -5,9 +5,7 @@ metadata:
app.kubernetes.io/name: go-git-server
name: go-git-server
spec:
- progressDeadlineSeconds: 600
replicas: 1
- revisionHistoryLimit: 10
selector:
matchLabels:
app.kubernetes.io/name: go-git-server
@@ -18,16 +16,19 @@ spec:
type: RollingUpdate
template:
metadata:
- creationTimestamp: null
labels:
app.kubernetes.io/name: go-git-server
spec:
containers:
- - image: go-git-registry:5000/go-git-server:latest
+ - image: go-git-server:latest
imagePullPolicy: Always
name: go-git-server
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
+ securityContext:
+ runAsUser: 0
+ runAsGroup: 3000
+ fsGroup: 2000
volumeMounts:
- mountPath: /tokens
name: go-git-server-tokens
diff --git a/manifests/local/kustomization.yaml b/manifests/local/kustomization.yaml
index a937a48..46f4112 100644
--- a/manifests/local/kustomization.yaml
+++ b/manifests/local/kustomization.yaml
@@ -15,4 +15,3 @@ resources:
images:
- name: public.ecr.aws/s0f9o2k5/go-git-server
newName: go-git-registry:5000/go-git-server
-