From 73d1cde74a5dde28852a715f8b1ef20b17d71530 Mon Sep 17 00:00:00 2001 From: Shuaib Yunus Date: Wed, 28 Apr 2021 11:26:49 +0200 Subject: [PATCH] Add role field to runtime selector --- idsvr/templates/deployment-runtime.yaml | 1 + idsvr/templates/service-runtime.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/idsvr/templates/deployment-runtime.yaml b/idsvr/templates/deployment-runtime.yaml index eb4ba84..898397d 100644 --- a/idsvr/templates/deployment-runtime.yaml +++ b/idsvr/templates/deployment-runtime.yaml @@ -12,6 +12,7 @@ spec: matchLabels: app.kubernetes.io/name: {{ include "curity.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + role: {{ include "curity.fullname" . }}-runtime template: metadata: labels: diff --git a/idsvr/templates/service-runtime.yaml b/idsvr/templates/service-runtime.yaml index 457cb52..9199226 100644 --- a/idsvr/templates/service-runtime.yaml +++ b/idsvr/templates/service-runtime.yaml @@ -22,3 +22,4 @@ spec: selector: app.kubernetes.io/name: {{ include "curity.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + role: {{ include "curity.fullname" . }}-runtime