From ffd8f7ed641d4016816cfa251dcbc077eb99015c Mon Sep 17 00:00:00 2001 From: kinarashah Date: Mon, 6 Aug 2018 15:11:32 -0700 Subject: [PATCH] Use secretName instead of secretId Using reference to id always returns namespace:id, but it doesn't work while using project scoped secrets; thus using name similar to secrets used as environment variables from source --- apis/project.cattle.io/v3/schema/schema.go | 1 - 1 file changed, 1 deletion(-) diff --git a/apis/project.cattle.io/v3/schema/schema.go b/apis/project.cattle.io/v3/schema/schema.go index 92c4681a..e4395ce7 100644 --- a/apis/project.cattle.io/v3/schema/schema.go +++ b/apis/project.cattle.io/v3/schema/schema.go @@ -729,7 +729,6 @@ func volumeTypes(schemas *types.Schemas) *types.Schemas { ClaimName string `norman:"type=reference[persistentVolumeClaim]"` }{}). MustImport(&Version, v1.SecretVolumeSource{}, struct { - SecretName string `norman:"type=reference[secret]"` }{}). MustImport(&Version, v1.VolumeMount{}, struct { MountPath string `json:"mountPath" norman:"required"`