AlexRogalskiy/java-patterns

View on GitHub
charts/templates/linkerd.yaml

Summary

Maintainability
Test Coverage
{{- if .Values.linkerd.profile.enabled }}
{{- $fullName := include "backend-java-patterns.fullname" . -}}
apiVersion: linkerd.io/v1alpha2
kind: ServiceProfile
metadata:
  name: {{ $fullName }}.{{ .Release.Namespace }}.svc.cluster.local
  namespace: {{ .Release.Namespace | quote }}
  labels:
    {{- include "backend-java-patterns.labels" . | nindent 4 }}
spec:
  routes:
    - condition:
        method: GET
        pathRegex: /
      name: GET /
{{- end }}