Unfortunately there is not currently.  We are discussing how to add
non-string type parameter support as part of moving templates upstream to
kubernetes:

https://github.com/kubernetes/kubernetes/pull/18215

https://github.com/kubernetes/kubernetes/pull/18215/files#diff-fcdb9e0b56ea1ae85513bbea4972949eR211


On Thu, Jan 21, 2016 at 10:58 AM, Mateus Caruccio <
[email protected]> wrote:

> There are any way to add integer parameters in a Template?
>
> I'm trying to use it in a DeployMent config like this:
>
> *"spec": {*
> *            ....*
> *            "template": {*
> *                    "spec": {*
> *                        ....*
>
> *                        "securityContext": {*
> *                            "fsGroup": "${FILESYSTEM_GROUP}"*
> *                        },*
>
> *            ...*
> *           }*
>
> And this is the error I get when trying to create it.
>
> *Cannot create object. **DeploymentConfig in version v1 cannot be handled
> as a DeploymentConfig: json: cannot unmarshal string into Go value of type
> int64. *
>
>
>
> *Mateus Caruccio*
> Master of Puppets
> +55 (51) 8298.0026
> gtalk:
>
>
> *[email protected] <[email protected]>twitter:
> @MateusCaruccio <https://twitter.com/MateusCaruccio>*
> This message and any attachment are solely for the intended
> recipient and may contain confidential or privileged information
> and it can not be forwarded or shared without permission.
> Thank you!
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>


-- 
Ben Parees | OpenShift
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to