import React from 'react';
import Typography from '@material-ui/core/Typography';
/*
* Instructions for adding resources to service mesh
*/
export const incompleteMeshMessage = name => {
if (name) {
return (
Add {name} to the k8s.yml file
Then run linkerd inject k8s.yml | kubectl apply -f -
to add it to the service mesh
);
} else {
return (
Add one or more resources to the k8s.yml file
Then run linkerd inject k8s.yml | kubectl apply -f -
to add them to the service mesh
);
}
};