2023-09-20 17:44:28 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Namespace
|
|
|
|
metadata:
|
|
|
|
name: dashboard
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
data:
|
2023-09-21 23:19:32 +02:00
|
|
|
apps.json: |
|
|
|
|
{
|
|
|
|
"categories": [
|
|
|
|
{
|
|
|
|
"name": "Monitoring",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"name": "Grafana",
|
|
|
|
"displayURL": "grafana.services.yolokube.de",
|
|
|
|
"url": "https://grafana.services.yolokube.de",
|
|
|
|
"icon": "e6e1",
|
|
|
|
"newTab": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Prometheus",
|
|
|
|
"displayURL": "prometheus.services.yolokube.de",
|
|
|
|
"url": "https://prometheus.services.yolokube.de",
|
|
|
|
"icon": "e876",
|
|
|
|
"newTab": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Alert Manager",
|
|
|
|
"displayURL": "alertmanager.services.yolokube.de",
|
|
|
|
"url": "https://alertmanager.services.yolokube.de",
|
|
|
|
"icon": "e7f4",
|
|
|
|
"newTab": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Storage",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"name": "Longhorn",
|
|
|
|
"displayURL": "longhorn.services.yolokube.de",
|
|
|
|
"url": "https://longhorn.services.yolokube.de",
|
|
|
|
"icon": "e161",
|
|
|
|
"newTab": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Deployment",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"name": "Argo",
|
|
|
|
"displayURL": "argo.services.yolokube.de",
|
|
|
|
"url": "https://argo.services.yolokube.de",
|
|
|
|
"icon": "e037",
|
|
|
|
"newTab": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-20 17:44:28 +02:00
|
|
|
greeter.json: |
|
|
|
|
{
|
|
|
|
"greeter": {
|
|
|
|
"months": [
|
|
|
|
"January",
|
|
|
|
"February",
|
|
|
|
"March",
|
|
|
|
"April",
|
|
|
|
"May",
|
|
|
|
"June",
|
|
|
|
"July",
|
|
|
|
"August",
|
|
|
|
"September",
|
|
|
|
"October",
|
|
|
|
"November",
|
|
|
|
"December"
|
|
|
|
],
|
|
|
|
"days": [
|
|
|
|
"Sunday",
|
|
|
|
"Monday",
|
|
|
|
"Tuesday",
|
|
|
|
"Wednesday",
|
|
|
|
"Thursday",
|
|
|
|
"Friday",
|
|
|
|
"Saturday"
|
|
|
|
],
|
|
|
|
"greetings": [
|
|
|
|
{
|
|
|
|
"greeting": "Good night!",
|
|
|
|
"start": 0,
|
|
|
|
"end": 6
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"greeting": "Good morning!",
|
|
|
|
"start": 6,
|
|
|
|
"end": 12
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"greeting": "Good afternoon!",
|
|
|
|
"start": 12,
|
|
|
|
"end": 18
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"greeting": "Good evening!",
|
|
|
|
"start": 18,
|
|
|
|
"end": 24
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"dateformat": "%wd, %m %d%e %y"
|
|
|
|
}
|
|
|
|
}
|
2023-09-21 23:19:32 +02:00
|
|
|
search.json: |
|
|
|
|
{
|
|
|
|
"placeholder": "",
|
|
|
|
"defaultProvider": "https://duckduckgo.com/?q=",
|
|
|
|
"autoFocus": false,
|
|
|
|
"providers": [
|
|
|
|
{
|
|
|
|
"name": "Allmusic",
|
|
|
|
"url": "https://www.allmusic.com/search/all/",
|
|
|
|
"prefix": "/a"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Discogs",
|
|
|
|
"url": "https://www.discogs.com/search/?q=",
|
|
|
|
"prefix": "/di"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "iMDB",
|
|
|
|
"url": "https://www.imdb.com/find?q=",
|
|
|
|
"prefix": "/i"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "TheMovieDB",
|
|
|
|
"url": "https://www.themoviedb.org/search?query=",
|
|
|
|
"prefix": "/m"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Reddit",
|
|
|
|
"url": "https://www.reddit.com/search?q=",
|
|
|
|
"prefix": "/r"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Soundcloud",
|
|
|
|
"url": "https://soundcloud.com/search?q=",
|
|
|
|
"prefix": "/so"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Spotify",
|
|
|
|
"url": "https://open.spotify.com/search/results/",
|
|
|
|
"prefix": "/s"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "TheTVDB",
|
|
|
|
"url": "https://www.thetvdb.com/search?q=",
|
|
|
|
"prefix": "/tv"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "YouTube",
|
|
|
|
"url": "https://youtube.com/results?search_query=",
|
|
|
|
"prefix": "/yt"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-20 17:44:28 +02:00
|
|
|
themes.json: |
|
|
|
|
{
|
|
|
|
"themes": [
|
|
|
|
{
|
|
|
|
"label": "Classic",
|
|
|
|
"value": 0,
|
|
|
|
"mainColor": "#000000",
|
|
|
|
"accentColor": "#1e272e",
|
|
|
|
"backgroundColor": "#ffffff"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Dark",
|
|
|
|
"value": 1,
|
|
|
|
"mainColor": "#ffffff",
|
|
|
|
"accentColor": "#999999",
|
|
|
|
"backgroundColor": "#000000"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Raw",
|
|
|
|
"value": 2,
|
|
|
|
"mainColor": "",
|
|
|
|
"accentColor": "",
|
|
|
|
"backgroundColor": "#ffffff"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Blackboard",
|
|
|
|
"value": 3,
|
|
|
|
"mainColor": "#fffdea",
|
|
|
|
"accentColor": "#5c5c5c",
|
|
|
|
"backgroundColor": "#1a1a1a"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Gazette",
|
|
|
|
"value": 4,
|
|
|
|
"mainColor": "#000000",
|
|
|
|
"accentColor": "#5c5c5c",
|
|
|
|
"backgroundColor": "#F2F7FF"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Espresso",
|
|
|
|
"value": 5,
|
|
|
|
"mainColor": "#d1b59a",
|
|
|
|
"accentColor": "#4e4e4e",
|
|
|
|
"backgroundColor": "#21211f"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Cab",
|
|
|
|
"value": 6,
|
|
|
|
"mainColor": "#1f1f1f",
|
|
|
|
"accentColor": "#424242",
|
|
|
|
"backgroundColor": "#f6d305"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Cloud",
|
|
|
|
"value": 7,
|
|
|
|
"mainColor": "#35342f",
|
|
|
|
"accentColor": "#37bbe4",
|
|
|
|
"backgroundColor": "#f1f2f0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Lime",
|
|
|
|
"value": 8,
|
|
|
|
"mainColor": "#aabbc3",
|
|
|
|
"accentColor": "#aeea00",
|
|
|
|
"backgroundColor": "#263238"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "White",
|
|
|
|
"value": 9,
|
|
|
|
"mainColor": "#222222",
|
|
|
|
"accentColor": "#dddddd",
|
|
|
|
"backgroundColor": "#ffffff"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Tron",
|
|
|
|
"value": 10,
|
|
|
|
"mainColor": "#effbff",
|
|
|
|
"accentColor": "#6ee2ff",
|
|
|
|
"backgroundColor": "#242b33"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Blues",
|
|
|
|
"value": 11,
|
|
|
|
"mainColor": "#eff1fc",
|
|
|
|
"accentColor": "#6677eb",
|
|
|
|
"backgroundColor": "#2b2c56"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Passion",
|
|
|
|
"value": 12,
|
|
|
|
"mainColor": "#12005e",
|
|
|
|
"accentColor": "#8e24aa",
|
|
|
|
"backgroundColor": "#f5f5f5"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Chalk",
|
|
|
|
"value": 13,
|
|
|
|
"mainColor": "#aabbc3",
|
|
|
|
"accentColor": "#ff869a",
|
|
|
|
"backgroundColor": "#263238"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Paper",
|
|
|
|
"value": 14,
|
|
|
|
"mainColor": "#4c432e",
|
|
|
|
"accentColor": "#aa9a73",
|
|
|
|
"backgroundColor": "#f8f6f1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-21 23:19:32 +02:00
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: dashboard-data
|
|
|
|
namespace: dashboard
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: dashboard-service
|
|
|
|
namespace: dashboard
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: 8080
|
|
|
|
selector:
|
|
|
|
app: dashboard
|
2023-09-20 17:44:28 +02:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: dashboard
|
2023-09-21 23:19:32 +02:00
|
|
|
name: dashboard-deployment
|
|
|
|
namespace: dashboard
|
2023-09-20 17:44:28 +02:00
|
|
|
spec:
|
|
|
|
replicas: 3
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: dashboard
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: dashboard
|
|
|
|
spec:
|
|
|
|
containers:
|
2023-09-21 23:19:32 +02:00
|
|
|
- image: yolokube/dashboard:236
|
2023-09-21 21:08:44 +02:00
|
|
|
imagePullPolicy: Always
|
2023-09-21 23:19:32 +02:00
|
|
|
name: dashboard
|
2023-09-20 17:44:28 +02:00
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
|
|
|
volumeMounts:
|
2023-09-21 23:19:32 +02:00
|
|
|
- mountPath: /app/data
|
2023-09-20 17:44:28 +02:00
|
|
|
name: dashboard-data
|
2023-09-21 23:19:32 +02:00
|
|
|
volumes:
|
|
|
|
- configMap:
|
|
|
|
defaultMode: 438
|
|
|
|
name: dashboard-data
|
|
|
|
name: dashboard-data
|
2023-09-20 18:02:01 +02:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: dashboard-ingress
|
|
|
|
namespace: dashboard
|
|
|
|
spec:
|
|
|
|
rules:
|
2023-09-21 23:19:32 +02:00
|
|
|
- host: dashboard.services.yolokube.de
|
2023-09-20 18:02:01 +02:00
|
|
|
http:
|
|
|
|
paths:
|
2023-09-21 23:19:32 +02:00
|
|
|
- backend:
|
2023-09-20 18:02:01 +02:00
|
|
|
service:
|
|
|
|
name: dashboard-service
|
|
|
|
port:
|
2023-09-20 20:36:53 +02:00
|
|
|
number: 80
|
2023-09-21 23:19:32 +02:00
|
|
|
path: /
|
|
|
|
pathType: Prefix
|