Update standard xApp helm chart
[it/dep.git] / ric-xapps / 90-xApps / helm / xapp-std / templates / service.yaml
index a76c974..5e8c15f 100644 (file)
 #   limitations under the License.                                             #
 ################################################################################
 
-{{- if .Values.ricapp.enabled }}
+{{ if .Values.ricapp.service.enabled }}
 apiVersion: v1
 kind: Service
 metadata:
-  name: {{ include "ricapp.fullname" . }}
+  name: {{ include "ricapp.name" . }}
   labels:
     app.kubernetes.io/name: {{ include "ricapp.name" . }}
     helm.sh/chart: {{ include "ricapp.chart" . }}
@@ -35,4 +35,4 @@ spec:
   selector:
     app.kubernetes.io/name: {{ include "ricapp.name" . }}
     app.kubernetes.io/instance: {{ .Release.Name }}
-{{ end }}
+{{ end }}
\ No newline at end of file