Skip to content

Commit

Permalink
Veidemann dashboard docs (#173)
Browse files Browse the repository at this point in the history
* Kustomization for veidemann-dashboard-docs

* Use latest release of veidemann-dashboard
  • Loading branch information
andrbo authored May 6, 2022
1 parent 8c13f84 commit 92c2734
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 1 deletion.
28 changes: 28 additions & 0 deletions bases/veidemann-dashboard-docs/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: veidemann-dashboard-docs
labels:
app.kubernetes.io/name: veidemann-dashboard-docs
app.kubernetes.io/component: dashboard-docs
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: veidemann-dashboard-docs
app.kubernetes.io/component: dashboard-docs
template:
metadata:
labels:
app.kubernetes.io/name: veidemann-dashboard-docs
app.kubernetes.io/component: dashboard-docs
annotations:
linkerd.io/inject: enabled
spec:
containers:
- name: veidemann-dashboard-docs
image: ghcr.io/nlnwa/veidemann-dashboard-docs:0.19.1
ports:
- containerPort: 80
name: http
protocol: TCP
9 changes: 9 additions & 0 deletions bases/veidemann-dashboard-docs/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- service.yaml
- deployment.yaml

commonLabels:
app.kubernetes.io/instance: veidemann-dashboard-docs
app.kubernetes.io/part-of: veidemann
17 changes: 17 additions & 0 deletions bases/veidemann-dashboard-docs/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: veidemann-dashboard-docs
labels:
app.kubernetes.io/name: veidemann-dashboard-docs
app.kubernetes.io/component: dashboard-docs
spec:
type: ClusterIP
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
selector:
app.kubernetes.io/name: veidemann-dashboard-docs
app.kubernetes.io/component: dashboard-docs
2 changes: 1 addition & 1 deletion bases/veidemann-dashboard/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
path: config.json
containers:
- name: veidemann-dashboard
image: ghcr.io/nlnwa/veidemann-dashboard:0.19.0
image: ghcr.io/nlnwa/veidemann-dashboard:0.19.1
ports:
- containerPort: 80
name: http
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: veidemann-dashboard-docs
spec:
entryPoints:
- web
- websecure
routes:
- match: PathPrefix(`/veidemann/docs`)
kind: Rule
services:
- name: veidemann-dashboard-docs
port: 80
tls: {}
8 changes: 8 additions & 0 deletions dev/veidemann/veidemann-dashboard-docs/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: veidemann

resources:
- ../../../bases/veidemann-dashboard-docs
- dashboard_docs_ingressroute.yaml
1 change: 1 addition & 0 deletions dev/veidemann/veidemann/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ resources:
- ../veidemann-contentwriter
- ../veidemann-controller
- ../veidemann-dashboard
- ../veidemann-dashboard-docs
- ../veidemann-db-initializer
- ../veidemann-dns-resolver
- ../veidemann-frontier
Expand Down

0 comments on commit 92c2734

Please sign in to comment.