WIP gitea
This commit is contained in:
parent
7670dfe469
commit
3dc27886cb
12 changed files with 218 additions and 45 deletions
|
|
@ -40,7 +40,7 @@ spec:
|
|||
name: git-ssh
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: git-data
|
||||
name: gitea-data
|
||||
- name: gitea-config
|
||||
mountPath: /data/gitea/conf
|
||||
resources:
|
||||
|
|
@ -51,13 +51,10 @@ spec:
|
|||
cpu: 1
|
||||
memory: 200Mi
|
||||
volumes:
|
||||
- name: git-data
|
||||
# hostPath:
|
||||
# path: /mnt/kube-data/gitea
|
||||
# type: Directory
|
||||
# persistentVolumeClaim:
|
||||
# claimName: gitea
|
||||
emptyDir: {}
|
||||
- name: gitea-data
|
||||
persistentVolumeClaim:
|
||||
claimName: gitea
|
||||
# emptyDir: {}
|
||||
- name: gitea-config
|
||||
configMap:
|
||||
name: gitea
|
||||
|
|
@ -4,7 +4,7 @@ metadata:
|
|||
name: gitea
|
||||
namespace: gitea
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
kubernetes.io/ingress.class: traefik
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||
spec:
|
||||
tls:
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: gitea
|
||||
namespace: gitea
|
||||
annotations:
|
||||
volume.beta.kubernetes.io/storage-class: "managed-nfs-storage"
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
Loading…
Add table
Add a link
Reference in a new issue