Skip to content

Commit

Permalink
Update gitops backend service namespace
Browse files Browse the repository at this point in the history
The GitOps operator will deploy the gitops backend service in openshift-gitops namespace. This commit will change the gitops backend namespace from openshift-pipelines-app-delivery to openshift-gitops.

Signed-off-by: Chetan Banavikalmutt <[email protected]>
  • Loading branch information
chetan-rns committed Jan 25, 2021
1 parent cbeb853 commit 7baf055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/bridge/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const (
openshiftMeteringHost = "reporting-operator.openshift-metering.svc:8080"

// Well-known location of the GitOps service. This is only accessible in-cluster
openshiftGitOpsHost = "cluster.openshift-pipelines-app-delivery.svc:8080"
openshiftGitOpsHost = "cluster.openshift-gitops.svc:8080"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion contrib/oc-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export BRIDGE_K8S_MODE_OFF_CLUSTER_THANOS
BRIDGE_K8S_MODE_OFF_CLUSTER_ALERTMANAGER=$(oc -n openshift-config-managed get configmap monitoring-shared-config -o jsonpath='{.data.alertmanagerPublicURL}')
export BRIDGE_K8S_MODE_OFF_CLUSTER_ALERTMANAGER

GITOPS_HOSTNAME=$(oc -n openshift-pipelines-app-delivery get route cluster -o jsonpath='{.spec.host}' 2> /dev/null)
GITOPS_HOSTNAME=$(oc -n openshift-gitops get route cluster -o jsonpath='{.spec.host}' 2> /dev/null)
if [ -n "$GITOPS_HOSTNAME" ]; then
BRIDGE_K8S_MODE_OFF_CLUSTER_GITOPS="https://$GITOPS_HOSTNAME"
export BRIDGE_K8S_MODE_OFF_CLUSTER_GITOPS
Expand Down

0 comments on commit 7baf055

Please sign in to comment.