diff --git a/multicluster/charts/linkerd-multicluster/templates/local-service-mirror.yaml b/multicluster/charts/linkerd-multicluster/templates/local-service-mirror.yaml index 7fbb826847a25..d1912984ebc36 100644 --- a/multicluster/charts/linkerd-multicluster/templates/local-service-mirror.yaml +++ b/multicluster/charts/linkerd-multicluster/templates/local-service-mirror.yaml @@ -1,3 +1,4 @@ +{{- if not (.Values.gateway.enabled | default false) -}} --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 @@ -165,3 +166,4 @@ spec: matchLabels: component: local-service-mirror {{- end}} +{{end -}} \ No newline at end of file