Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / pomba / charts / pomba-networkdiscovery / templates / secrets.yaml
index 3015811..6d357c4 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 # Copyright © 2018 Amdocs, AT&T\r
 #\r
 # Licensed under the Apache License, Version 2.0 (the "License");\r
@@ -11,6 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
 # See the License for the specific language governing permissions and\r
 # limitations under the License.\r
+*/}}
 \r
 apiVersion: v1\r
 kind: Secret\r
@@ -20,7 +22,7 @@ metadata:
   labels:\r
     app: {{ include "common.name" . }}\r
     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}\r
-    release: {{ .Release.Name }}\r
+    release: {{ include "common.release" . }}\r
     heritage: {{ .Release.Service }}\r
 data:\r
 {{ (.Files.Glob "resources/config/auth/*").AsSecrets | indent 2 }}\r