From ce08276ce6e6ffd913381b8c84939c0bd3df38a6 Mon Sep 17 00:00:00 2001 From: Maxim Ivanov Date: Wed, 11 Jul 2018 16:45:19 +0100 Subject: [PATCH] change fromPersistentVolumeClaim constructor param to more sensisble 'claimName' Signed-off-by: Maxim Ivanov --- ksonnet-gen/ksonnet/custom_constructor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ksonnet-gen/ksonnet/custom_constructor.go b/ksonnet-gen/ksonnet/custom_constructor.go index 638f5c3..2fa0f61 100644 --- a/ksonnet-gen/ksonnet/custom_constructor.go +++ b/ksonnet-gen/ksonnet/custom_constructor.go @@ -148,7 +148,7 @@ var ( map[string]interface{}{})), *newConstructor("fromPersistentVolumeClaim", *newConstructorParam("name", "withName", nil), - *newConstructorParam("emptyDir", "mixin.persistentVolumeClaim.withClaimName", nil)), + *newConstructorParam("claimName", "mixin.persistentVolumeClaim.withClaimName", nil)), *newConstructor("fromHostPath", *newConstructorParam("name", "withName", nil), *newConstructorParam("hostPath", "mixin.hostPath.withPath", nil)),