remove unneeded setting

This commit is contained in:
Arlan Lloyd 2024-07-11 05:32:10 +00:00
parent 3cfd3ef3b0
commit 8e4bf1e1cd
4 changed files with 1884 additions and 5 deletions

129
chart/argotest.yaml Normal file
View File

@ -0,0 +1,129 @@
---
kind: Namespace
apiVersion: v1
metadata:
name: kyoo
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kyoo
namespace: argocd
spec:
destination:
namespace: kyoo
server: https://kubernetes.default.svc
project: homelab
source:
path: chart/
repoURL: https://github.com/acelinkio/Kyoo.git
targetRevision: feature/helmchart
helm:
valuesObject:
kyoo:
address: https://kyoo.acelink.io
meilisearch:
enabled: true
postgresql:
enabled: true
rabbitmq:
enabled: true
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: bigsecret
type: Opaque
stringData:
kyoo_apikeys: yHXWGsjfjE6sy6UxavqmTUYxgCFYek
tmdb_apikey: ""
MEILI_MASTER_KEY: barkLike8SuperDucks
postgres_user: kyoo_back
postgres_password: watchSomething4me
rabbitmq_user: kyoo_all
rabbitmq_password: youAreAmazing2
rabbitmq_cookie: mmmGoodCookie
- kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: back-storage
spec:
accessModes:
- "ReadWriteMany"
resources:
requests:
storage: "3Gi"
- kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: media
spec:
accessModes:
- "ReadWriteMany"
resources:
requests:
storage: "3Gi"
- kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: transcoder-storage
spec:
accessModes:
- "ReadWriteMany"
resources:
requests:
storage: "3Gi"
---
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: kyoo
namespace: kyoo
annotations:
external-dns.custom/type: private
spec:
endpoints:
- dnsName: kyoo.acelink.io
recordType: CNAME
targets:
- intgw.acelink.io
providerSpecific:
- name: external-dns.alpha.kubernetes.io/cloudflare-proxied
value: "false"
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: kyoo
namespace: kyoo
spec:
parentRefs:
- name: internal
namespace: gateway
sectionName: https
- name: external
namespace: gateway
sectionName: https
hostnames:
- "kyoo.acelink.io"
rules:
- matches:
- path:
type: PathPrefix
value: /api
backendRefs:
- name: kyoo-back
port: 5000
filters:
- type: URLRewrite
urlRewrite:
path:
type: ReplacePrefixMatch
replacePrefixMatch: /
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: kyoo-front
port: 8901

1694
chart/manualtest.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -58,11 +58,6 @@ spec:
value: http://{{ include "kyoo.back.fullname" . }}:5000 value: http://{{ include "kyoo.back.fullname" . }}:5000
- name: LIBRARY_LANGUAGES - name: LIBRARY_LANGUAGES
value: {{ .Values.kyoo.languages }} value: {{ .Values.kyoo.languages }}
- name: THEMOVIEDB_APIKEY
valueFrom:
secretKeyRef:
key: {{ .Values.contentdatabase.provider.tmdb.apikeyKey }}
name: {{ .Values.contentdatabase.provider.tmdb.existingSecret }}
- name: RABBITMQ_HOST - name: RABBITMQ_HOST
value: {{ .Values.global.rabbitmq.host }} value: {{ .Values.global.rabbitmq.host }}
- name: RABBITMQ_PORT - name: RABBITMQ_PORT

61
chart/test.yaml Normal file
View File

@ -0,0 +1,61 @@
kyoo:
address: https://kyoo.acelink.io
meilisearch:
enabled: true
postgresql:
enabled: true
rabbitmq:
enabled: true
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: bigsecret
type: Opaque
stringData:
#KYOO
# The following value should be set to a random sequence of characters.
# You MUST change it when installing kyoo (for security)
# You can input multiple api keys separated by a ,
kyoo_apikeys: yHXWGsjfjE6sy6UxavqmTUYxgCFYek
# Keep those empty to use kyoo's default api key. You can also specify a custom API key if you want.
# go to https://www.themoviedb.org/settings/api and copy the api key (not the read access token, the api key)
tmdb_apikey: ""
#RESOURCES
# meilisearch does not allow mapping their key in yet.
MEILI_MASTER_KEY: barkLike8SuperDucks
postgres_user: kyoo_back
postgres_password: watchSomething4me
rabbitmq_user: kyoo_all
rabbitmq_password: youAreAmazing2
rabbitmq_cookie: mmmGoodCookie
- kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: back-storage
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "3Gi"
- kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: media
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "3Gi"
- kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: transcoder-storage
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "3Gi"