From 7304eb46a2afb1c697df782e2b0a6d318c084434 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Sun, 21 Sep 2025 01:33:59 +0300 Subject: [PATCH] get rid of tpl --- charts/tennotrade-chart/templates/deployment.yaml | 8 ++++---- charts/tennotrade-chart/templates/service.yaml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/tennotrade-chart/templates/deployment.yaml b/charts/tennotrade-chart/templates/deployment.yaml index a226dac..ad0da1c 100644 --- a/charts/tennotrade-chart/templates/deployment.yaml +++ b/charts/tennotrade-chart/templates/deployment.yaml @@ -1,16 +1,16 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "warframe-db-simple.fullname" . }} + name: {{ .Release.Name }} spec: replicas: 1 selector: matchLabels: - app: {{ include "warframe-db-simple.name" . }} + app: {{ .Release.Name }} template: metadata: labels: - app: {{ include "warframe-db-simple.name" . }} + app: {{ .Release.Name }} spec: containers: - name: postgres @@ -29,4 +29,4 @@ spec: mountPath: /var/lib/postgresql/data volumes: - name: data - emptyDir: {} # no persistence, super simple \ No newline at end of file + emptyDir: {} \ No newline at end of file diff --git a/charts/tennotrade-chart/templates/service.yaml b/charts/tennotrade-chart/templates/service.yaml index 5db90ff..5d00d6f 100644 --- a/charts/tennotrade-chart/templates/service.yaml +++ b/charts/tennotrade-chart/templates/service.yaml @@ -1,11 +1,11 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "warframe-db-simple.fullname" . }} + name: {{ .Release.Name }} spec: type: ClusterIP selector: - app: {{ include "warframe-db-simple.name" . }} + app: {{ .Release.Name }} ports: - port: {{ .Values.service.port }} targetPort: 5432 \ No newline at end of file