From 8e30301c302484daf71d4f8b2de84a1525fd5153 Mon Sep 17 00:00:00 2001 From: titver968 Date: Fri, 28 Feb 2025 12:07:33 +0100 Subject: [PATCH] first commit --- charts/index.yaml | 13 +++++++++++ charts/tatort-0.1.0.tgz | Bin 0 -> 979 bytes charts/tatort/Chart.yaml | 5 +++++ charts/tatort/templates/deployment.yaml | 20 +++++++++++++++++ charts/tatort/templates/ingress.yaml | 28 ++++++++++++++++++++++++ charts/tatort/templates/service.yaml | 13 +++++++++++ charts/tatort/values.yaml | 19 ++++++++++++++++ 7 files changed, 98 insertions(+) create mode 100644 charts/index.yaml create mode 100644 charts/tatort-0.1.0.tgz create mode 100644 charts/tatort/Chart.yaml create mode 100644 charts/tatort/templates/deployment.yaml create mode 100644 charts/tatort/templates/ingress.yaml create mode 100644 charts/tatort/templates/service.yaml create mode 100644 charts/tatort/values.yaml diff --git a/charts/index.yaml b/charts/index.yaml new file mode 100644 index 0000000..5831556 --- /dev/null +++ b/charts/index.yaml @@ -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" diff --git a/charts/tatort-0.1.0.tgz b/charts/tatort-0.1.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..4d65b0fdb30d5c5d77e10c643bbea010610c5a65 GIT binary patch literal 979 zcmV;^11$U>iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PL9Gi{myB$MfvJVhHydN6ux}hu_NfWuY8_9tWlLL2)LISXmO% zByC9ZzZdyOEZcYN((YyHUFId0G#bg)d_S69;-oFjA9mbQeB`B^yuLBU*!^-@{W8Xe zzbr}FBw42S?0vFiX*yxa;x4(H0Q&}e8QINdw9^E$rz;pUvri-Ee(|dN)|20gMyud61uxPXsr0p?-X(0%CER@o_{W_L9 z=Q4ZG7@HS@=5@+UBLLz>2GfcYzG?PSuCx^SF@wkLM@=h>4i!a_LwgW;wGPnHUOJhutxucrIDP_ z&1<5Us9vuecuxOmnhf-RcfU+-`oD&S_dhqr%@0ZRB-AE@pD&3Jl}LQUiC1!|Z}rm& zgv#Z9gD`F6wcShU2d5Cj`5ZZec>@+-5x5MJ2*9DloV2Z#S8~dCzwkB6ixjyrUyL3^ z258f@i4txP0Aw%V3qu058}^oKMO-MfL6{kY1~xxe*mkMaoPKln`pgOmp^*O6_DQHBe)`~Ip*vhW)-!vocquBvi`@Iqfb?&? zl%s70_dWa#N~jGgf@O%C#`U2q6+-1SaV~{Ky}I2?Y$W3sw_FuCno|`Pt<>7e!pHVc zodkD8rc>Xr$_V3EV}0$mMTigUpZcR=J<@vk*3fIs^CwiBJ_9^@yCSS-FF2-m!!=sc zjH3aleYr+kMSRzO#b)u?&*{hVUj)^r?d&zblAR=*??y5>wy)%jcOK+QZTQ1TO|C1a4uVTIb|FkUswa$Tm#qyTJbives0CXW%zZQH^l@=5?v*ypn zFD%iA3~^f^T?(IuT~?FMwannt!zv0n=mGvClHg`HyV;Ls{{#R4|NlF5AVvTh0004} B>Rtc< literal 0 HcmV?d00001 diff --git a/charts/tatort/Chart.yaml b/charts/tatort/Chart.yaml new file mode 100644 index 0000000..e51d7be --- /dev/null +++ b/charts/tatort/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v2 +name: tatort +description: A helm chart for deploying tatort application +version: 0.1.0 +appVersion: 0.0.1 diff --git a/charts/tatort/templates/deployment.yaml b/charts/tatort/templates/deployment.yaml new file mode 100644 index 0000000..3d87fb3 --- /dev/null +++ b/charts/tatort/templates/deployment.yaml @@ -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 diff --git a/charts/tatort/templates/ingress.yaml b/charts/tatort/templates/ingress.yaml new file mode 100644 index 0000000..ef7e9fd --- /dev/null +++ b/charts/tatort/templates/ingress.yaml @@ -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 }} diff --git a/charts/tatort/templates/service.yaml b/charts/tatort/templates/service.yaml new file mode 100644 index 0000000..6fba2d7 --- /dev/null +++ b/charts/tatort/templates/service.yaml @@ -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 diff --git a/charts/tatort/values.yaml b/charts/tatort/values.yaml new file mode 100644 index 0000000..08a1c04 --- /dev/null +++ b/charts/tatort/values.yaml @@ -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: []