Skip to content

Commit

Permalink
Replace openshift-updateservice with openshift-update-service
Browse files Browse the repository at this point in the history
Follow up #199 (comment)

The PR is generated by:

```console
$ rg openshift-updateservice -l | while read file; do gsed -i 's/openshift-updateservice/openshift-update-service/g' $file; done
```
  • Loading branch information
hongkailiu committed Jul 24, 2024
1 parent 93ceaf8 commit ed02116
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in
func-test: deploy
@echo "Running functional test suite"
go clean -testcache
go test -timeout 20m -v ./functests/... || (oc -n openshift-updateservice adm inspect --dest-dir="$(ARTIFACT_DIR)/inspect" namespace/openshift-updateservice customresourcedefinition/updateservices.updateservice.operator.openshift.io updateservice/example; false)
go test -timeout 20m -v ./functests/... || (oc -n openshift-update-service adm inspect --dest-dir="$(ARTIFACT_DIR)/inspect" namespace/openshift-update-service customresourcedefinition/updateservices.updateservice.operator.openshift.io updateservice/example; false)

unit-test:
@echo "Executing unit tests"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To run the operator built from the code using a kubeconfig with `cluster-admin`
```
export RELATED_IMAGE_OPERAND="quay.io/app-sre/cincinnati:2873c6b"
export OPERATOR_NAME=updateservice-operator
export POD_NAMESPACE=openshift-updateservice
export POD_NAMESPACE=openshift-update-service
### Ensure above namespace exists on the cluster and is the current active
oc create namespace --dry-run=client -o yaml "${POD_NAMESPACE}" | oc apply -f -
oc project "${POD_NAMESPACE}"
Expand Down
2 changes: 1 addition & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Adds namespace to all resources.
namespace: openshift-updateservice
namespace: openshift-update-service

# Value of this field is prepended to the
# names of all resources, e.g. a deployment named
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Namespace
metadata:
labels:
app.kubernetes.io/managed-by: kustomize
name: openshift-updateservice
name: openshift-update-service
---
apiVersion: apps/v1
kind: Deployment
Expand Down
2 changes: 1 addition & 1 deletion config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
control-plane: updateservice-operator
name: updateservice-operator-metrics-monitor
namespace: openshift-updateservice
namespace: openshift-update-service
spec:
endpoints:
- path: /metrics
Expand Down
2 changes: 1 addition & 1 deletion config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
control-plane: updateservice-operator
name: updateservice-operator-metrics
namespace: openshift-updateservice
namespace: openshift-update-service
spec:
ports:
- name: https
Expand Down
2 changes: 1 addition & 1 deletion config/rbac/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: updateservice-operator
namespace: openshift-updateservice
namespace: openshift-update-service
roleRef:
kind: ClusterRole
name: updateservice-operator
Expand Down
2 changes: 1 addition & 1 deletion functests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
const (
customResourceName = "example"
operatorName = "updateservice-operator"
operatorNamespace = "openshift-updateservice"
operatorNamespace = "openshift-update-service"
crdName = "updateservices.updateservice.operator.openshift.io"
resource = "updateservices"
replicas = 1
Expand Down
2 changes: 1 addition & 1 deletion tools/create-osus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ REGISTRY="${REGISTRY:-quay.io/updateservice}"

echo Deploying OSUS using image ${REGISTRY}/cincinnati-graph-data-container:${tag}

cat <<EOF | oc -n openshift-updateservice create -f -
cat <<EOF | oc -n openshift-update-service create -f -
apiVersion: updateservice.operator.openshift.io/v1
kind: UpdateService
metadata:
Expand Down
2 changes: 1 addition & 1 deletion tools/create-sub-group.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

NAMESPACE="${NAMESPACE:-openshift-updateservice}"
NAMESPACE="${NAMESPACE:-openshift-update-service}"

oc create ns $NAMESPACE

Expand Down

0 comments on commit ed02116

Please sign in to comment.