mirror of
https://github.com/zoriya/snow.git
synced 2025-12-06 07:16:19 +00:00
Compare commits
4 Commits
b7af6435a0
...
c13e3b6cab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c13e3b6cab | ||
| f65d9c9570 | |||
| c9ee8eb1cd | |||
| d40c9b2d2e |
@@ -1,20 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: grafana
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: grafana
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: false
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
source:
|
|
||||||
repoURL: https://github.com/zoriya/snow
|
|
||||||
targetRevision: HEAD
|
|
||||||
path: apps/grafana
|
|
||||||
93
apps/kyoo-v5.yaml
Normal file
93
apps/kyoo-v5.yaml
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: kyoo-v5
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: kyoo-next
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
source:
|
||||||
|
repoURL: https://github.com/acelinkio/kyoo
|
||||||
|
path: chart
|
||||||
|
targetRevision: prepare_traefik
|
||||||
|
# repoURL: ghcr.io/zoriya/helm-charts
|
||||||
|
# chart: kyoo
|
||||||
|
# targetRevision: edge
|
||||||
|
helm:
|
||||||
|
valuesObject:
|
||||||
|
global:
|
||||||
|
image:
|
||||||
|
tag: edge
|
||||||
|
imagePullPolicy: Always
|
||||||
|
postgres:
|
||||||
|
kyoo_auth:
|
||||||
|
host: kyoo-v5-postgres
|
||||||
|
kyoo_api:
|
||||||
|
host: kyoo-v5-postgres
|
||||||
|
kyoo_scanner:
|
||||||
|
host: kyoo-v5-postgres
|
||||||
|
kyoo_transcoder:
|
||||||
|
host: kyoo-v5-postgres
|
||||||
|
postgres:
|
||||||
|
enabled: true
|
||||||
|
kyoo:
|
||||||
|
address: https://beta.sdg.moe
|
||||||
|
transcoderAcceleration: nvidia
|
||||||
|
transcoder:
|
||||||
|
runtimeClass: nvidia
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
host: beta.sdg.moe
|
||||||
|
ingressClassName: cilium
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||||
|
tls: true
|
||||||
|
tlsSecret: kyoo-tls
|
||||||
|
extraObjects:
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: bigsecret
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
postgres_user: kyoo_all
|
||||||
|
postgres_password: watchSomething4me
|
||||||
|
scanner_apikey: scanner-triquarter4u
|
||||||
|
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: kyoo-v5-medias
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
capacity:
|
||||||
|
storage: 200Ti
|
||||||
|
csi:
|
||||||
|
driver: zfs.csi.openebs.io
|
||||||
|
fsType: zfs
|
||||||
|
volumeAttributes:
|
||||||
|
openebs.io/poolname: ocean
|
||||||
|
volumeHandle: "medias"
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: media
|
||||||
|
spec:
|
||||||
|
storageClassName: ""
|
||||||
|
volumeName: kyoo-v5-medias
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 200Ti
|
||||||
28
apps/otel/clickhouse-datasource.yaml
Normal file
28
apps/otel/clickhouse-datasource.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: grafana.integreatly.org/v1beta1
|
||||||
|
kind: GrafanaDatasource
|
||||||
|
metadata:
|
||||||
|
name: clickhouse
|
||||||
|
spec:
|
||||||
|
valuesFrom:
|
||||||
|
- targetPath: "secureJsonData.password"
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: clickhouse-passwords
|
||||||
|
key: grafana
|
||||||
|
datasource:
|
||||||
|
name: clickhouse
|
||||||
|
type: grafana-clickhouse-datasource
|
||||||
|
jsonData:
|
||||||
|
host: clickhouse-otel-cluster.otel.svc.cluster.local
|
||||||
|
port: 9000
|
||||||
|
username: grafana
|
||||||
|
defaultDatabase: otel
|
||||||
|
protocol: native
|
||||||
|
secureJsonData:
|
||||||
|
password: ${grafana}
|
||||||
|
instanceSelector:
|
||||||
|
matchLabels:
|
||||||
|
dashboards: grafana
|
||||||
|
plugins:
|
||||||
|
- name: grafana-clickhouse-datasource
|
||||||
|
version: 4.11.2
|
||||||
@@ -7,6 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
config:
|
config:
|
||||||
log:
|
log:
|
||||||
|
level: debug
|
||||||
mode: "console"
|
mode: "console"
|
||||||
auth:
|
auth:
|
||||||
disable_login_form: "false"
|
disable_login_form: "false"
|
||||||
@@ -24,7 +25,8 @@ spec:
|
|||||||
auth_url: "https://authentik.sdg.moe/application/o/authorize/"
|
auth_url: "https://authentik.sdg.moe/application/o/authorize/"
|
||||||
token_url: "https://authentik.sdg.moe/application/o/token/"
|
token_url: "https://authentik.sdg.moe/application/o/token/"
|
||||||
api_url: "https://authentik.sdg.moe/application/o/userinfo/"
|
api_url: "https://authentik.sdg.moe/application/o/userinfo/"
|
||||||
role_attribute_path: 'Admin' #contains(groups, 'Grafana Admins') && 'Admin' || contains(groups, 'Grafana Editors') && 'Editor' || 'Viewer'
|
role_attribute_path: contains(groups[*], 'admins') && 'GrafanaAdmin' || 'Editor'
|
||||||
|
allow_assign_grafana_admin: "true"
|
||||||
|
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
spec:
|
spec:
|
||||||
@@ -17,7 +17,7 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: ghcr.io/telepresenceio
|
repoURL: ghcr.io/telepresenceio
|
||||||
chart: telepresence-oss
|
chart: telepresence-oss
|
||||||
targetRevision: 2.25.0
|
targetRevision: 2.25.1
|
||||||
helm:
|
helm:
|
||||||
releaseName: traffic-manager
|
releaseName: traffic-manager
|
||||||
valuesObject: {}
|
valuesObject: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user