first commit

This commit is contained in:
titver968
2025-02-28 12:07:33 +01:00
parent 9df0c66ba9
commit 8e30301c30
7 changed files with 98 additions and 0 deletions

13
charts/index.yaml Normal file
View File

@@ -0,0 +1,13 @@
apiVersion: v1
entries:
tatort:
- apiVersion: v2
appVersion: 0.0.1
created: "2025-02-28T12:07:06.741679+01:00"
description: A helm chart for deploying tatort application
digest: 0e084311bd3585c92a63a236e512de307c8dc10f1735135524e4847e00deeb88
name: tatort
urls:
- https://gitea.innohub.local:3000/innohub/charts/tatort/raw/branch/main/tatort-0.1.0.tgz
version: 0.1.0
generated: "2025-02-28T12:07:06.741482+01:00"

BIN
charts/tatort-0.1.0.tgz Normal file

Binary file not shown.

5
charts/tatort/Chart.yaml Normal file
View File

@@ -0,0 +1,5 @@
apiVersion: v2
name: tatort
description: A helm chart for deploying tatort application
version: 0.1.0
appVersion: 0.0.1

View File

@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "tatort.fullname" . }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ include "tatort.name" . }}
template:
metadata:
labels:
app: {{ include "tatort.name" . }}
spec:
containers:
- name: tatort-container
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 80

View File

@@ -0,0 +1,28 @@
{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "tatort.fullname" . }}
annotation: {{- toYaml .Values.ingress.annotations | nindent 4 }}
spec:
ingressClassName: {{ .Values.ingress.className }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
pathType: {{ .pathType }}
backend:
service:
name: {{ include "tatort.fullname" $ }}
port:
number: {{ $.Values.service.port }}
{{- end }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- toYaml .Values.ingress.tls | nindent 4 }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "tatort.fullname" . }}
spec:
type: {{ .Values.service.type }}
selector:
app: {{ include "tatort.name" . }}
ports:
- port: {{ .Values.service.port }}
targetPort: 80
protocol: TCP
name: http

19
charts/tatort/values.yaml Normal file
View File

@@ -0,0 +1,19 @@
image:
repository: "gitea.innohub.local:3000/git/tatort"
tag: "0.0.1"
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 80
ingress:
enabled: false
className: ""
annotations: {}
hosts:
- host: tatort.local
paths:
- path: /
pathType: Prefix
tls: []