生产环境搭建高可用Harbor(包括恢复演练实操)(三)
配置Horbor为PG主节点1.登录主节点创建harbor用户与harbor需要的DB,并且将数据恢复到当前数据.新建Harbor用户CREATEUSERharborLOGINPASSWORD'Deniss1112s';CREATESCHEMAharbor;GRANTharborTOpostgres;GRANTUSAGEONSCHEMAharborTOpostgres;ALTERSCHEMAharborOWNERTOpostgres;创建数据库CREATEDATABASEregistryOWNERharbor;CREATEDATABASEnotarysignerOWNERharbor;CREATEDATABASEnotaryserverOWNERharbor;授权GRANTALLPRIVILEGES...