def get_static_data(modelSpec):
    """
    Return a dictionary of static values that all objects of this model
    have.

    This applies only to kubernetes resources where ``kind`` and
    ``apiVersion`` are statically determined by the resource. See the
    `Kubernetes OpenAPI Spec Readme`__.

    For example for a v1 Deployment we return

    ::
        {
          'kind': 'Deployment',
          'apiVersion': 'apps/v1'
        }

    .. __: https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/README.md#x-kubernetes-group-version-kind

    """
    if 'x-kubernetes-group-version-kind' in modelSpec:
        values = modelSpec['x-kubernetes-group-version-kind']
        if len(values) == 1:
            group = values[0].get('group', '')
            if group:
                group = group + '/'
            return {
                'kind': values[0]['kind'],
                'apiVersion': group + values[0]['version']
            }
        else:
            return {}
    else:
        return {}