From 23bd781ca54e816c839741847f5948488e5746a6 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 27 Jun 2023 16:55:57 -0700 Subject: [PATCH] update service --- helm/service/templates/deployment.yaml | 6 +++--- helm/service/templates/service.yaml | 4 ---- helm/service/values.yaml | 1 - 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/helm/service/templates/deployment.yaml b/helm/service/templates/deployment.yaml index e8ca18e..c2bb369 100644 --- a/helm/service/templates/deployment.yaml +++ b/helm/service/templates/deployment.yaml @@ -3,16 +3,16 @@ kind: Deployment metadata: name: {{ .Release.Name }}-pewpew labels: - app: pewpew + app.kubernetes.io/instance: {{ .Release.Name }} spec: replicas: {{ .Values.replicaCount }} selector: matchLabels: - app: pewpew + app.kubernetes.io/instance: {{ .Release.Name }} template: metadata: labels: - app: pewpew + app.kubernetes.io/instance: {{ .Release.Name }} spec: containers: - name: {{ .Chart.Name }} diff --git a/helm/service/templates/service.yaml b/helm/service/templates/service.yaml index 1158250..8efb682 100644 --- a/helm/service/templates/service.yaml +++ b/helm/service/templates/service.yaml @@ -10,8 +10,4 @@ spec: - name: http protocol: {{ .Values.service.protocol | default "TCP" }} port: {{ .Values.service.httpPort }} - targetPort: {{ .Values.service.targetPort }} - - name: https - protocol: {{ .Values.service.protocol | default "TCP" }} - port: {{ .Values.service.httpsPort }} targetPort: {{ .Values.service.targetPort }} \ No newline at end of file diff --git a/helm/service/values.yaml b/helm/service/values.yaml index 670ee14..edeb9a4 100644 --- a/helm/service/values.yaml +++ b/helm/service/values.yaml @@ -9,7 +9,6 @@ service: name: pewpew-service type: ClusterIP httpPort: 80 - httpsPort: 443 targetPort: 8080 env: