summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/network-name-gen/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/network-name-gen/templates/service.yaml')
-rw-r--r--kubernetes/common/network-name-gen/templates/service.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/kubernetes/common/network-name-gen/templates/service.yaml b/kubernetes/common/network-name-gen/templates/service.yaml
index 753448c5b7..aac71f7eb3 100644
--- a/kubernetes/common/network-name-gen/templates/service.yaml
+++ b/kubernetes/common/network-name-gen/templates/service.yaml
@@ -38,5 +38,6 @@ spec:
name: {{ .Values.service.portName }}
{{- end}}
selector:
- app: {{ include "common.name" . }}
- release: {{ include "common.release" . }}
+ app.kubernetes.io/name: {{ include "common.name" . }}
+ app.kubernetes.io/instance: {{ include "common.release" . }}
+