configmap name
This commit is contained in:
parent
cdf3a260e5
commit
d6eba07dea
|
@ -63,7 +63,7 @@ public class KubernetesTestEngine extends AbstractEngine {
|
||||||
kubernetesProvider.confirmNamespace(context.getNamespace());
|
kubernetesProvider.confirmNamespace(context.getNamespace());
|
||||||
// create cm
|
// create cm
|
||||||
try (KubernetesClient client = kubernetesProvider.getKubernetesClient()) {
|
try (KubernetesClient client = kubernetesProvider.getKubernetesClient()) {
|
||||||
String configMapName = context.getTestId() + "-files";
|
String configMapName = "jmeter-" + context.getTestId() + "-files";
|
||||||
ConfigMap configMap = client.configMaps().inNamespace(context.getNamespace()).withName(configMapName).get();
|
ConfigMap configMap = client.configMaps().inNamespace(context.getNamespace()).withName(configMapName).get();
|
||||||
if (configMap == null) {
|
if (configMap == null) {
|
||||||
ConfigMap item = new ConfigMap();
|
ConfigMap item = new ConfigMap();
|
||||||
|
|
Loading…
Reference in New Issue