DASHBOARD: update image tag to 236 (done automagically via Drone pipeline)

This commit is contained in:
Aaron Riedel 2023-09-21 21:19:32 +00:00 committed by Aaron Riedel
parent b61166bfe2
commit 645d4934f2
2 changed files with 140 additions and 140 deletions

View file

@ -5,4 +5,4 @@ kind: Kustomization
images: images:
- name: yolokube/dashboard - name: yolokube/dashboard
newName: yolokube/dashboard newName: yolokube/dashboard
newTag: "228" newTag: "236"

View file

@ -4,11 +4,62 @@ metadata:
name: dashboard name: dashboard
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap
metadata:
name: dashboard-data
namespace: dashboard
data: data:
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
}
]
}
]
}
greeter.json: | greeter.json: |
{ {
"greeter": { "greeter": {
@ -60,6 +111,59 @@ data:
"dateformat": "%wd, %m %d%e %y" "dateformat": "%wd, %m %d%e %y"
} }
} }
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"
}
]
}
themes.json: | themes.json: |
{ {
"themes": [ "themes": [
@ -170,122 +274,31 @@ data:
} }
] ]
} }
apps.json: | kind: ConfigMap
{ metadata:
"categories": [ name: dashboard-data
{ namespace: dashboard
"name": "Monitoring", ---
"items": [ apiVersion: v1
{ kind: Service
"name": "Grafana", metadata:
"displayURL": "grafana.services.yolokube.de", name: dashboard-service
"url": "https://grafana.services.yolokube.de", namespace: dashboard
"icon": "e6e1", spec:
"newTab": true ports:
}, - port: 80
{ protocol: TCP
"name": "Prometheus", targetPort: 8080
"displayURL": "prometheus.services.yolokube.de", selector:
"url": "https://prometheus.services.yolokube.de", app: dashboard
"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
}
]
}
]
}
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"
}
]
}
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: dashboard-deployment
namespace: dashboard
labels: labels:
app: dashboard app: dashboard
name: dashboard-deployment
namespace: dashboard
spec: spec:
replicas: 3 replicas: 3
selector: selector:
@ -296,33 +309,20 @@ spec:
labels: labels:
app: dashboard app: dashboard
spec: spec:
volumes:
- name: dashboard-data
configMap:
name: dashboard-data
defaultMode: 0666
containers: containers:
- name: dashboard - image: yolokube/dashboard:236
image: yolokube/dashboard:latest
imagePullPolicy: Always imagePullPolicy: Always
name: dashboard
ports: ports:
- containerPort: 8080 - containerPort: 8080
volumeMounts: volumeMounts:
- mountPath: "/app/data" - mountPath: /app/data
name: dashboard-data
volumes:
- configMap:
defaultMode: 438
name: dashboard-data
name: dashboard-data name: dashboard-data
---
apiVersion: v1
kind: Service
metadata:
name: dashboard-service
namespace: dashboard
spec:
selector:
app: dashboard
ports:
- protocol: TCP
port: 80
targetPort: 8080
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
@ -331,13 +331,13 @@ metadata:
namespace: dashboard namespace: dashboard
spec: spec:
rules: rules:
- host: "dashboard.services.yolokube.de" - host: dashboard.services.yolokube.de
http: http:
paths: paths:
- pathType: Prefix - backend:
path: "/"
backend:
service: service:
name: dashboard-service name: dashboard-service
port: port:
number: 80 number: 80
path: /
pathType: Prefix