diff --git a/api/templates/deployment.yaml b/api/templates/deployment.yaml index d44c7146..5e8c3d4a 100644 --- a/api/templates/deployment.yaml +++ b/api/templates/deployment.yaml @@ -1,7 +1,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: api + name: {{ .Values.deployment.name }} labels: app: {{ .Values.deployment.name }} app.kubernetes.io/name: {{ .Values.deployment.name }} diff --git a/api/templates/service.yaml b/api/templates/service.yaml index b5f754da..316fb7d3 100644 --- a/api/templates/service.yaml +++ b/api/templates/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: orakl-api + name: {{ .Values.deployment.name }} spec: type: ClusterIP ports: