It's not possible to reference labels or annotations on existing objects as input parameter values for a template today.
Are you referring to the project template, or a template a user would instantiate in an existing project? Mechanics aside, I didn't think storage-class-per-user or storage-class-per-project was a recommended approach > On Oct 23, 2016, at 7:15 PM, Andrew Lau <and...@andrewklau.com> wrote: > > Is it possible to reference annotations from a project or user > label/annotation to be used in templates? > > Eg. With kube 1.4 storage class, can we set the templates pvc storage class > to automatically be the value of the user/project annotation/label? > _______________________________________________ > users mailing list > users@lists.openshift.redhat.com > http://lists.openshift.redhat.com/openshiftmm/listinfo/users _______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users