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