feat: hosting on k3s
This commit is contained in:
1
nexcloud/.gitignore
vendored
Normal file
1
nexcloud/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
**.local**.yaml
|
||||
5
nexcloud/helm-up.sh
Executable file
5
nexcloud/helm-up.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
helm upgrade --install nextcloud nextcloud/nextcloud \
|
||||
--values ./values.yaml \
|
||||
--values ./values.local.yaml \
|
||||
--namespace=cloud-limbosolutions-com
|
||||
73
nexcloud/values.yaml
Normal file
73
nexcloud/values.yaml
Normal file
@@ -0,0 +1,73 @@
|
||||
image:
|
||||
repository: nextcloud
|
||||
flavor: apache
|
||||
tag:
|
||||
pullPolicy: Always
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
|
||||
internalDatabase:
|
||||
enabled: false
|
||||
|
||||
externalDatabase:
|
||||
enabled: type
|
||||
type: mysql
|
||||
|
||||
|
||||
mariadb:
|
||||
enabled: true
|
||||
architecture: standalone
|
||||
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
existingClaim: ""
|
||||
storageClass: ""
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
loadBalancerIP: ""
|
||||
nodePort:
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
nextcloudData:
|
||||
enabled: true
|
||||
subPath:
|
||||
annotations: {}
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
#limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
#requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: traefik
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik
|
||||
hosts:
|
||||
- host: cloud.limbosolutions.com
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- secretName: cloud-limbosolutions-com-secret-tls
|
||||
hosts:
|
||||
- "cloud.limbosolutions.com"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user