package banner import "fmt" // CouchIPName is the name of the ComputeAddress, and the name of the external ip // the will be created in the banner's project. // NOTE: An Ingress will reference this resource, so the value must match the // kubernetes.io/ingress.global-static-ip-name annotation on the Ingress const CouchIPName = "couchdb-ip-1" // CouchServerClusterName is the name of the k8s cluster that the datasync couchdb master server runs on. This // cluster name is namespaced to the banner project so it does not need to be unique const CouchServerClusterName = "datasync-couchdb-master" // Similar to the CouchIPName, but this is used for ingress for remote access, which // is used in the cluster infra cluster and must match the IP name // in the Ingress object used for Emissary and WireGuard. const RemoteAccessIPName = "remote-access-ip" type Type string // Banner Types const ( EU Type = "eu" Org Type = "org" ) func CreateBannerClusterInfraName(banner string) string { return fmt.Sprintf("%s-cluster-infra0", banner) }