[POLICY] Service Mesh Compliance for Policy
[oom.git] / kubernetes / policy / components / policy-xacml-pdp / templates / service.yaml
index 123ae66..42995c8 100755 (executable)
@@ -33,7 +33,7 @@ spec:
   ports:
     - port: {{ .Values.service.externalPort }}
       targetPort: {{ .Values.service.internalPort }}
-      name: {{ .Values.service.portName }}
+      name: {{ .Values.service.portName }}{{ (eq "true" (include "common.needTLS" .)) | ternary "s" "" }}
   selector:
     app: {{ include "common.name" . }}
     release: {{ include "common.release" . }}