Fix: git
This commit is contained in:
parent
cbd2ea2871
commit
8e24b3cf92
2 changed files with 14 additions and 12 deletions
|
@ -26,16 +26,16 @@ spec:
|
|||
mountPath: /data
|
||||
subPath: forgejo-instance
|
||||
env:
|
||||
# - name: FORGEJO_ADMIN_USER
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: forgejo-secrets
|
||||
# key: admin-user
|
||||
# - name: FORGEJO_ADMIN_PASSWORD
|
||||
# valueFrom:
|
||||
# secretKeyRef:
|
||||
# name: forgejo-secrets
|
||||
# key: admin-password
|
||||
- name: FORGEJO_ADMIN_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: forgejo-secrets
|
||||
key: admin-user
|
||||
- name: FORGEJO_ADMIN_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: forgejo-secrets
|
||||
key: admin-password
|
||||
- name: FORGEJO_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
@ -90,6 +90,9 @@ spec:
|
|||
value: "1000"
|
||||
image: postgres:15.2
|
||||
name: forgejo-db
|
||||
securityContext:
|
||||
runAsUser: 999
|
||||
runAsGroup: 999
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/postgresql
|
||||
name: git
|
||||
|
@ -100,3 +103,4 @@ spec:
|
|||
persistentVolumeClaim:
|
||||
claimName: nfs-git-claim
|
||||
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ spec:
|
|||
volumeAttributes:
|
||||
server: 192.168.0.100
|
||||
share: /git
|
||||
uid: "1000"
|
||||
gid: "1000"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
|
|
Loading…
Reference in a new issue