Rebase gitea
This commit is contained in:
parent
a90954368e
commit
f661cfce5f
@ -1,4 +1,4 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea
|
name: gitea-legacy
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: runner-config
|
name: runner-config
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
data:
|
data:
|
||||||
dind-config.yml: |
|
dind-config.yml: |
|
||||||
runner:
|
runner:
|
@ -4,7 +4,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: act-runner-dind-rootless
|
app: act-runner-dind-rootless
|
||||||
name: act-runner-dind-rootless
|
name: act-runner-dind-rootless
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
@ -4,7 +4,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: act-runner-dind
|
app: act-runner-dind
|
||||||
name: act-runner-dind
|
name: act-runner-dind
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
@ -2,7 +2,7 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea
|
name: gitea
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
labels:
|
labels:
|
||||||
app: gitea
|
app: gitea
|
||||||
spec:
|
spec:
|
||||||
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: DB_TYPE
|
- name: DB_TYPE
|
||||||
value: 'sqlite3'
|
value: 'sqlite3'
|
||||||
- name: ROOT_URL
|
- name: ROOT_URL
|
||||||
value: 'https://code.spamasaurus.com'
|
value: 'https://legacy.spamasaurus.com'
|
||||||
- name: USER_UID
|
- name: USER_UID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: USER_GID
|
- name: USER_GID
|
@ -2,12 +2,12 @@ apiVersion: traefik.containo.us/v1alpha1
|
|||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea
|
name: gitea
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`code.spamasaurus.com`)
|
- match: Host(`legacy.spamasaurus.com`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: gitea
|
- name: gitea
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: act-runner-dind-rootless
|
name: act-runner-dind-rootless
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: act-runner-dind
|
name: act-runner-dind
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: flexvolsmb-gitea-data
|
name: flexvolsmb-gitea-data
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: flexvolsmb-gitea-ssh
|
name: flexvolsmb-gitea-ssh
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: flexvolsmb-runner-output
|
name: flexvolsmb-runner-output
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: flexvolsmb-runner-scratch
|
name: flexvolsmb-runner-scratch
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: flexvolsmb-credentials
|
||||||
|
namespace: gitea-legacy
|
||||||
|
spec:
|
||||||
|
encryptedData:
|
||||||
|
password: AgBz0yUaVj9PenDGBroZ0Yw1PNXhRoHSeWagrdb6uujcESYz/zVpZhoQISoGwuWTDv2ylGCWFBT02iXopcgBf+IYHUnE3nML/fp5snz9ubEzWoYUvNr4xKRpBC+F9P9ZLTHHzcQjRcZRYgxBxXE1K0z5tx41jqOmZSxMwC7FACS+d+V1XBV5imo19tWBPcn9M1D9rAXwikUcW7EvCI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/PidLlllgUYjDC+kcsFUyxMHHkpqR1qo8JRC3a+sgGGgTKv0N7p8De0QJWU7MCZVLxSFRFy7Jx3+4jbtDYAo0UKEljkUvXSEJkq9G+VcZiVbZ6Mnn8XrQs8GkoQIIHl3vh63jhtTLOwqCAcKjFbgIsF8S0=
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: flexvolsmb-credentials
|
||||||
|
namespace: gitea-legacy
|
||||||
|
type: mount/smb
|
@ -4,5 +4,5 @@ data:
|
|||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: runner-secret
|
name: runner-secret
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
type: Opaque
|
type: Opaque
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea
|
name: gitea
|
||||||
namespace: gitea
|
namespace: gitea-legacy
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
@ -1,16 +0,0 @@
|
|||||||
apiVersion: bitnami.com/v1alpha1
|
|
||||||
kind: SealedSecret
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: flexvolsmb-credentials
|
|
||||||
namespace: gitea
|
|
||||||
spec:
|
|
||||||
encryptedData:
|
|
||||||
password: AgBXexS/ciX+5APi07J2Y/UtRfRlI+EIls9TAabPnVaRWjeAUVzTlJ9duv491QalcLEZaDzu4jWCXhcYJqLVax+FFJJxaewPYfingS/Foaw03p6tE70CF3Dddeu0oNK2jwldDHL5/NHvH1o5QF7WgMu9gdrYPnUEwJ5vAInf7FOn+K35ewomAN5BBV23a3faohRGMYNms/JdNip456GSiVqKXbUL04eSvqKHhxgwqdLHD7mijV2a2GGmC9QQ886NKh+EDTsqg6skTQ7oEMejAQQOt6LyTr8OP2Phy6kkD++MTkSH5y6z9UJE4214WVE1Evhse94q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0A3LYxF2Dnj6HyOhx8s2T2HcaC6D+TQ=
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: flexvolsmb-credentials
|
|
||||||
namespace: gitea
|
|
||||||
type: mount/smb
|
|
43
services/Gitea/values.yaml
Normal file
43
services/Gitea/values.yaml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
actions:
|
||||||
|
enabled: true
|
||||||
|
provisioning:
|
||||||
|
enabled: true
|
||||||
|
gitea:
|
||||||
|
admin:
|
||||||
|
username: djpbessems
|
||||||
|
email: danny@bessems.eu
|
||||||
|
config:
|
||||||
|
APP_NAME: "code.spamasaurus.com"
|
||||||
|
database:
|
||||||
|
DB_TYPE: sqlite3
|
||||||
|
session:
|
||||||
|
PROVIDER: memory
|
||||||
|
cache:
|
||||||
|
ADAPTER: memory
|
||||||
|
queue:
|
||||||
|
TYPE: level
|
||||||
|
server:
|
||||||
|
APP_DATA_PATH: /data/gitea
|
||||||
|
OFFLINE_MODE: true
|
||||||
|
PROTOCOL: http
|
||||||
|
ROOT_URL: https://code.spamasaurus.com/
|
||||||
|
image:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
debug:
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
hosts:
|
||||||
|
- host: code.spamasaurus.com
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
persistence:
|
||||||
|
storageClass: smb-csi
|
||||||
|
postgresql:
|
||||||
|
enabled: false
|
||||||
|
postgresql-ha:
|
||||||
|
enabled: false
|
||||||
|
redis-cluster:
|
||||||
|
enabled: false
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
Loading…
Reference in New Issue
Block a user