def METHOD_NAME(openshift_cred_id):
    """Openshift Source."""
    source = Source.objects.create(
        name="source_saved",
        source_type=DataSources.OPENSHIFT,
        port=222,
        hosts=["1.2.3.4"],
        options=SourceOptions.objects.create(ssl_cert_verify=True),
    )
    source.credentials.add(openshift_cred_id)
    source.save()
    return source