Cal. Gov't Code § 65870
Any city or county may adopt an ordinance for the imposition of covenants pursuant to this article.