Compare commits
1
Commits
main
..
2e46f23ece
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e46f23ece
|
No files matched your search
@@ -24,5 +24,5 @@ appVersion: "1.0"
|
|||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: authentik
|
- name: authentik
|
||||||
version: 2026.8.7
|
version: 2026.8.5
|
||||||
repository: https://charts.goauthentik.io
|
repository: https://charts.goauthentik.io
|
||||||
+1
-1
@@ -24,5 +24,5 @@ appVersion: "1.0"
|
|||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
version: 12.8.4
|
version: 12.8.2
|
||||||
repository: https://weyma-s3.infra.dubyatp.xyz/helm-bucket-ea34bc44-ef19-480d-a16a-1e583991f123/charts/
|
repository: https://weyma-s3.infra.dubyatp.xyz/helm-bucket-ea34bc44-ef19-480d-a16a-1e583991f123/charts/
|
||||||
+1
-1
@@ -24,5 +24,5 @@ appVersion: "1.0"
|
|||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: jellyfin
|
- name: jellyfin
|
||||||
version: 3.7.0
|
version: 3.5.0
|
||||||
repository: https://jellyfin.github.io/jellyfin-helm
|
repository: https://jellyfin.github.io/jellyfin-helm
|
||||||
@@ -54,7 +54,7 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: netmaker-config
|
name: netmaker-config
|
||||||
image: gravitl/netmaker:v1.8.0
|
image: gravitl/netmaker:v1.6.0
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: netmaker
|
name: netmaker
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: netmaker-ui
|
- name: netmaker-ui
|
||||||
image: gravitl/netmaker-ui:v1.8.0
|
image: gravitl/netmaker-ui:v1.6.0
|
||||||
env:
|
env:
|
||||||
- name: BACKEND_URL
|
- name: BACKEND_URL
|
||||||
value: 'https://api.netmaker.infra.dubyatp.xyz'
|
value: 'https://api.netmaker.infra.dubyatp.xyz'
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: nextcloud
|
|
||||||
description: A Helm chart for Kubernetes
|
|
||||||
|
|
||||||
type: application
|
|
||||||
|
|
||||||
version: 0.1.0
|
|
||||||
|
|
||||||
appVersion: "1.0"
|
|
||||||
|
|
||||||
dependencies:
|
|
||||||
- name: nextcloud
|
|
||||||
version: 9.4.6
|
|
||||||
repository: https://nextcloud.github.io/helm/
|
|
||||||
File renamed without changes.
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: batch/v1
|
||||||
|
kind: CronJob
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-cron
|
||||||
|
spec:
|
||||||
|
schedule: "0 * * * *"
|
||||||
|
jobTemplate:
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: nextcloud
|
||||||
|
image: nextcloud:28.0.3-apache
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
command:
|
||||||
|
- /bin/sh
|
||||||
|
- -c
|
||||||
|
- curl https://nextcloud.dubyatp.xyz/cron.php
|
||||||
|
restartPolicy: OnFailure
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: StatefulSet
|
||||||
|
metadata:
|
||||||
|
name: mariadb
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: mariadb
|
||||||
|
serviceName: mariadb
|
||||||
|
replicas: 1
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
backup.velero.io/backup-volumes: mariadb-data
|
||||||
|
labels:
|
||||||
|
app: mariadb
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: mariadb
|
||||||
|
image: mariadb:10.11.11-jammy
|
||||||
|
env:
|
||||||
|
- name: MARIADB_ROOT_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
key: MYSQL_ROOT_PASSWORD
|
||||||
|
name: nextcloud-secret
|
||||||
|
- name: MARIADB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
key: MYSQL_PASSWORD
|
||||||
|
name: nextcloud-secret
|
||||||
|
- name: MARIADB_USER
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
key: MYSQL_USER
|
||||||
|
name: nextcloud-secret
|
||||||
|
- name: MARIADB_DATABASE
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
key: MYSQL_DATABASE
|
||||||
|
name: nextcloud-secret
|
||||||
|
volumeMounts:
|
||||||
|
- name: mariadb-data
|
||||||
|
mountPath: /var/lib/mysql
|
||||||
|
readinessProbe:
|
||||||
|
exec:
|
||||||
|
command: ["healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command: ["healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 5
|
||||||
|
volumeClaimTemplates:
|
||||||
|
- metadata:
|
||||||
|
name: mariadb-data
|
||||||
|
spec:
|
||||||
|
accessModes: [ "ReadWriteOnce" ]
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: mariadb
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: mariadb
|
||||||
|
ports:
|
||||||
|
- port: 3306
|
||||||
|
targetPort: 3306
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: nextcloud
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: nextcloud
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: nextcloud
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: nextcloud
|
||||||
|
image: nextcloud:28.0.3-apache
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: nextcloud-secret
|
||||||
|
env:
|
||||||
|
- name: NEXTCLOUD_TRUSTED_DOMAINS
|
||||||
|
value: nextcloud.dubyatp.xyz
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/www/html
|
||||||
|
name: nextcloud-data
|
||||||
|
readOnly: false
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: "1Gi"
|
||||||
|
cpu: "1000m"
|
||||||
|
requests:
|
||||||
|
memory: "500Mi"
|
||||||
|
cpu: "500m"
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /status.php
|
||||||
|
port: 80
|
||||||
|
httpHeaders:
|
||||||
|
- name: Host
|
||||||
|
value: nextcloud.dubyatp.xyz
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
successThreshold: 1
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /status.php
|
||||||
|
port: 80
|
||||||
|
httpHeaders:
|
||||||
|
- name: Host
|
||||||
|
value: nextcloud.dubyatp.xyz
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
successThreshold: 1
|
||||||
|
startupProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /status.php
|
||||||
|
port: 80
|
||||||
|
httpHeaders:
|
||||||
|
- name: Host
|
||||||
|
value: nextcloud.dubyatp.xyz
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 30
|
||||||
|
successThreshold: 1
|
||||||
|
volumes:
|
||||||
|
- name: nextcloud-data
|
||||||
|
nfs:
|
||||||
|
server: 10.105.15.20
|
||||||
|
path: /mnt/hdd-pool/nextcloud-files
|
||||||
File renamed without changes.
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: nextcloud
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
- name: traefik
|
||||||
|
sectionName: https
|
||||||
|
kind: Gateway
|
||||||
|
hostnames:
|
||||||
|
- nextcloud.dubyatp.xyz
|
||||||
|
rules:
|
||||||
|
- matches:
|
||||||
|
- path:
|
||||||
|
type: PathPrefix
|
||||||
|
value: /
|
||||||
|
backendRefs:
|
||||||
|
- name: nextcloud
|
||||||
|
port: 80
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-headers
|
||||||
|
spec:
|
||||||
|
headers:
|
||||||
|
frameDeny: true
|
||||||
|
browserXssFilter: true
|
||||||
|
customResponseHeaders:
|
||||||
|
Strict-Transport-Security: "15552000"
|
||||||
|
X-Frame-Options: SAMEORIGIN
|
||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-redirectregex
|
||||||
|
spec:
|
||||||
|
redirectRegex:
|
||||||
|
permanent: true
|
||||||
|
regex: https://(.*)/.well-known/(?:card|cal)dav
|
||||||
|
replacement: https://${1}/remote.php/dav
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-root
|
||||||
|
spec:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-secret
|
||||||
|
spec:
|
||||||
|
data:
|
||||||
|
- remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: nextcloud
|
||||||
|
metadataPolicy: None
|
||||||
|
property: MYSQL_DATABASE
|
||||||
|
secretKey: MYSQL_DATABASE
|
||||||
|
- remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: nextcloud
|
||||||
|
metadataPolicy: None
|
||||||
|
property: MYSQL_PASSWORD
|
||||||
|
secretKey: MYSQL_PASSWORD
|
||||||
|
- remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: nextcloud
|
||||||
|
metadataPolicy: None
|
||||||
|
property: MYSQL_ROOT_PASSWORD
|
||||||
|
secretKey: MYSQL_ROOT_PASSWORD
|
||||||
|
- remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: nextcloud
|
||||||
|
metadataPolicy: None
|
||||||
|
property: MYSQL_USER
|
||||||
|
secretKey: MYSQL_USER
|
||||||
|
- remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: nextcloud
|
||||||
|
metadataPolicy: None
|
||||||
|
property: REDIS_PASSWORD
|
||||||
|
secretKey: REDIS_PASSWORD
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: weyma-vault
|
||||||
|
target:
|
||||||
|
creationPolicy: Owner
|
||||||
|
deletionPolicy: Retain
|
||||||
|
name: nextcloud-secret
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: nextcloud
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: nextcloud
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
{{- if .Values.externalSecret.admin.create }}
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: nextcloud-admin
|
|
||||||
spec:
|
|
||||||
data:
|
|
||||||
- remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: nextcloud
|
|
||||||
metadataPolicy: None
|
|
||||||
property: nextcloud-username
|
|
||||||
secretKey: nextcloud-username
|
|
||||||
- remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: nextcloud
|
|
||||||
metadataPolicy: None
|
|
||||||
property: nextcloud-password
|
|
||||||
secretKey: nextcloud-password
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: weyma-vault
|
|
||||||
target:
|
|
||||||
creationPolicy: Owner
|
|
||||||
deletionPolicy: Retain
|
|
||||||
name: nextcloud-admin
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
{{- if .Values.dataVolume.create }}
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.dataVolume.name }}
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: 1Ti
|
|
||||||
accessModes: [ReadWriteMany]
|
|
||||||
persistentVolumeReclaimPolicy: Retain
|
|
||||||
storageClassName: ""
|
|
||||||
nfs:
|
|
||||||
server: 10.105.15.20
|
|
||||||
path: {{ .Values.dataVolume.nfsPath }}
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.dataVolume.name }}
|
|
||||||
spec:
|
|
||||||
accessModes: [ReadWriteMany]
|
|
||||||
storageClassName: ""
|
|
||||||
volumeName: {{ .Values.dataVolume.name }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1Ti
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
{{- if .Values.externalSecret.db.create }}
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: nextcloud-db
|
|
||||||
spec:
|
|
||||||
data:
|
|
||||||
- remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: cloudnativepg
|
|
||||||
metadataPolicy: None
|
|
||||||
property: {{ .Values.externalSecret.db.cnpgPropertyName }}
|
|
||||||
secretKey: password
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: weyma-vault
|
|
||||||
target:
|
|
||||||
template:
|
|
||||||
data:
|
|
||||||
username: {{ .Values.externalSecret.db.username }}
|
|
||||||
password: "{{`{{ .password }}`}}"
|
|
||||||
creationPolicy: Owner
|
|
||||||
deletionPolicy: Retain
|
|
||||||
name: nextcloud-db
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,99 +0,0 @@
|
|||||||
dataVolume:
|
|
||||||
create: true
|
|
||||||
name: nextcloud-data
|
|
||||||
nfsPath: /mnt/hdd-pool/nextcloud-files
|
|
||||||
externalSecret:
|
|
||||||
db:
|
|
||||||
create: true
|
|
||||||
username: nextcloud
|
|
||||||
cnpgPropertyName: nextcloud_pw
|
|
||||||
admin:
|
|
||||||
create: true
|
|
||||||
nextcloud:
|
|
||||||
podAnnotations:
|
|
||||||
backup.velero.io/backup-volumes: nextcloud-main
|
|
||||||
replicaCount: 1
|
|
||||||
httpRoute:
|
|
||||||
enabled: true
|
|
||||||
hostnames:
|
|
||||||
- nextcloud.dubyatp.xyz
|
|
||||||
parentRefs:
|
|
||||||
- name: traefik
|
|
||||||
sectionName: https
|
|
||||||
kind: Gateway
|
|
||||||
rules:
|
|
||||||
- matches:
|
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /
|
|
||||||
filters:
|
|
||||||
- type: ResponseHeaderModifier
|
|
||||||
responseHeaderModifier:
|
|
||||||
set:
|
|
||||||
- name: Strict-Transport-Security
|
|
||||||
value: "max-age=15552000; includeSubDomains"
|
|
||||||
nextcloud:
|
|
||||||
host: nextcloud.dubyatp.xyz
|
|
||||||
existingSecret:
|
|
||||||
enabled: true
|
|
||||||
secretName: nextcloud-admin
|
|
||||||
configs:
|
|
||||||
domains.config.php: |-
|
|
||||||
<?php
|
|
||||||
$CONFIG = array (
|
|
||||||
'trusted_domains' => array (
|
|
||||||
0 => 'localhost',
|
|
||||||
1 => 'nextcloud.dubyatp.xyz',
|
|
||||||
),
|
|
||||||
'overwrite.cli.url' => 'https://nextcloud.dubyatp.xyz',
|
|
||||||
'overwriteprotocol' => 'https',
|
|
||||||
'trusted_proxies' => array ('127.0.0.1', '10.0.0.0/8'),
|
|
||||||
'forwarded_for_headers' => array ('HTTP_X_FORWARDED_FOR'),
|
|
||||||
'default_phone_region' => 'US',
|
|
||||||
'maintenance_window_start' => 1,
|
|
||||||
);
|
|
||||||
db.config.php: |-
|
|
||||||
<?php
|
|
||||||
$CONFIG = array (
|
|
||||||
'dbtype' => 'pgsql',
|
|
||||||
'dbhost' => getenv('POSTGRES_HOST'),
|
|
||||||
'dbport' => '5432',
|
|
||||||
'dbname' => getenv('POSTGRES_DB'),
|
|
||||||
'dbuser' => getenv('POSTGRES_USER'),
|
|
||||||
'dbpassword' => getenv('POSTGRES_PASSWORD'),
|
|
||||||
);
|
|
||||||
internalDatabase:
|
|
||||||
enabled: false
|
|
||||||
externalDatabase:
|
|
||||||
enabled: true
|
|
||||||
type: postgresql
|
|
||||||
host: pooler-weyma-rw.cloudnativepg.svc.cluster.local
|
|
||||||
database: nextcloud
|
|
||||||
existingSecret:
|
|
||||||
enabled: true
|
|
||||||
secretName: nextcloud-db
|
|
||||||
usernameKey: username
|
|
||||||
passwordKey: password
|
|
||||||
redis:
|
|
||||||
enabled: true
|
|
||||||
architecture: standalone
|
|
||||||
auth:
|
|
||||||
enabled: false
|
|
||||||
master:
|
|
||||||
persistence:
|
|
||||||
enabled: false
|
|
||||||
commonConfiguration: |-
|
|
||||||
appendonly no
|
|
||||||
save ""
|
|
||||||
persistence:
|
|
||||||
enabled: true
|
|
||||||
nextcloudData:
|
|
||||||
enabled: true
|
|
||||||
existingClaim: nextcloud-data
|
|
||||||
accessMode: ReadWriteMany
|
|
||||||
cronjob:
|
|
||||||
enabled: true
|
|
||||||
type: sidecar
|
|
||||||
startupProbe:
|
|
||||||
enabled: true
|
|
||||||
failureThreshold: 90
|
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: yt-dlp-bot
|
- name: yt-dlp-bot
|
||||||
image: 'git.dubyatp.xyz/williamp/yt-dlp-bot:d8eff2d'
|
image: 'git.dubyatp.xyz/williamp/yt-dlp-bot:1060228'
|
||||||
env:
|
env:
|
||||||
- name: OUT_PATH
|
- name: OUT_PATH
|
||||||
value: /data/youtube-vids
|
value: /data/youtube-vids
|
||||||
|
|||||||
Reference in new issue
Block a user