Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Commit 89b28e6

Browse files
committed
Add pokertool chart
1 parent 18d7bda commit 89b28e6

File tree

8 files changed

+148
-0
lines changed

8 files changed

+148
-0
lines changed

charts/pokertool/Chart.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: "v2"
2+
name: "pokertool"
3+
version: "0.1.0"
4+
description: "A scrum poker tool made with Angular and Kotlin"
5+
keywords:
6+
- "angular"
7+
- "kotlin"
8+
- "scrum"
9+
- "poker"
10+
dependencies:
11+
- name: common
12+
version: 2.27.0
13+
repository: https://charts.bitnami.com/bitnami
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: {{ template "common.names.fullname" . }}-backend
5+
labels:
6+
{{- include "common.labels.standard" . | indent 4 }}
7+
app.kubernetes.io/component: backend
8+
spec:
9+
replicas: {{ .Values.backend.replicas }}
10+
selector:
11+
matchLabels:
12+
{{- include "common.labels.standard" . | indent 6 }}
13+
app.kubernetes.io/component: backend
14+
template:
15+
spec:
16+
containers:
17+
- image: "{{ .Values.backend.imageRegistry }}/{{ .Values.backend.imageName }}:{{ .Values.backend.imageTag }}"
18+
name: {{ template "common.names.fullname" . }}-backend
19+
ports:
20+
- containerPort: 8080
21+
metadata:
22+
labels:
23+
{{- include "common.labels.standard" . | indent 8 }}
24+
app.kubernetes.io/component: frontend
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: networking.k8s.io/v1
2+
kind: Ingress
3+
metadata:
4+
name: {{ template "common.names.fullname" . }}-backend
5+
labels:
6+
{{- include "common.labels.standard" . | indent 4 }}
7+
app.kubernetes.io/component: backend
8+
spec:
9+
rules:
10+
- host: {{ .Values.domain }}
11+
http:
12+
paths:
13+
- backend:
14+
service:
15+
name: {{ template "common.names.fullname" . }}-backend
16+
port:
17+
number: 80
18+
path: /api
19+
pathType: Prefix
20+
tls:
21+
- hosts:
22+
- {{ .Values.domain }}
23+
secretName: {{ template "common.names.fullname" . }}-backend-cert
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: {{ template "common.names.fullname" . }}-backend
5+
labels:
6+
{{- include "common.labels.standard" . | indent 4 }}
7+
app.kubernetes.io/component: backend
8+
spec:
9+
ports:
10+
- port: 80
11+
targetPort: 8080
12+
selector:
13+
{{- include "common.labels.standard" . | indent 4 }}
14+
app.kubernetes.io/component: backend
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: {{ template "common.names.fullname" . }}-frontend
5+
labels:
6+
{{- include "common.labels.standard" . | indent 4 }}
7+
app.kubernetes.io/component: frontend
8+
spec:
9+
replicas: {{ .Values.frontend.replicas }}
10+
selector:
11+
matchLabels:
12+
{{- include "common.labels.standard" . | indent 6 }}
13+
app.kubernetes.io/component: frontend
14+
template:
15+
spec:
16+
containers:
17+
- image: "{{ .Values.frontend.imageRegistry }}/{{ .Values.frontend.imageName }}:{{ .Values.frontend.imageTag }}"
18+
name: {{ template "common.names.fullname" . }}-frontend
19+
ports:
20+
- containerPort: 80
21+
metadata:
22+
labels:
23+
{{- include "common.labels.standard" . | indent 8 }}
24+
app.kubernetes.io/component: frontend
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: networking.k8s.io/v1
2+
kind: Ingress
3+
metadata:
4+
name: {{ template "common.names.fullname" . }}-frontend
5+
labels:
6+
{{- include "common.labels.standard" . | indent 4 }}
7+
app.kubernetes.io/component: frontend
8+
spec:
9+
rules:
10+
- host: {{ .Values.domain }}
11+
http:
12+
paths:
13+
- backend:
14+
service:
15+
name: {{ template "common.names.fullname" . }}-frontend
16+
port:
17+
number: 80
18+
path: /
19+
pathType: Prefix
20+
tls:
21+
- hosts:
22+
- {{ .Values.domain }}
23+
secretName: {{ template "common.names.fullname" . }}-frontend-cert
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: {{ template "common.names.fullname" . }}-frontend
5+
labels:
6+
{{- include "common.labels.standard" . | indent 4 }}
7+
app.kubernetes.io/component: frontend
8+
spec:
9+
ports:
10+
- port: 80
11+
targetPort: 80
12+
selector:
13+
{{- include "common.labels.standard" . | indent 4 }}
14+
app.kubernetes.io/component: frontend

charts/pokertool/values.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
domain: ""
2+
3+
frontend:
4+
imageRegistry: "ghcr.io/alliander-opensource"
5+
imageName: "pokertool-frontend"
6+
imageTag: "v1.0.0"
7+
replicas: 1
8+
9+
backend:
10+
imageRegistry: "ghcr.io/alliander-opensource"
11+
imageName: "pokertool-backend"
12+
imageTag: "v1.0.0"
13+
replicas: 1

0 commit comments

Comments
 (0)