Skip to content

Rename operator and router namespaces - #52

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
ironcladlou:rename-namespaces
Oct 18, 2018
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
ironcladlou:rename-namespaces

Conversation

@ironcladlou

Copy link
Copy Markdown
Contributor

Rename the following namespaces:

  • openshift-cluster-ingress-operator => openshift-ingress-operator
  • openshift-cluster-ingress-router => openshift-ingress

This is necessary to conform to existing upstream expectations for the location
of router instances (e.g. tests and other installer stuff).

Refactor the RBAC stuff to look a little more consistent.

Rename the following namespaces:

* openshift-cluster-ingress-operator => openshift-ingress-operator
* openshift-cluster-ingress-router => openshift-ingress

This is necessary to conform to existing upstream expectations for the location
of router instances (e.g. tests and other installer stuff).

Refactor the RBAC stuff to look a little more consistent.
@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 17, 2018
@ironcladlou

Copy link
Copy Markdown
Contributor Author

/xref openshift/installer#467

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 17, 2018
@ironcladlou

Copy link
Copy Markdown
Contributor Author

/cc @openshift/sig-network-edge @smarterclayton

@openshift-ci-robot
openshift-ci-robot requested review from a team and smarterclayton October 17, 2018 17:31
@ironcladlou

Copy link
Copy Markdown
Contributor Author

Tested in a 4.0 AWS cluster with a newly published image:

$ CLUSTER_NAME=dmace make test-integration
hack/test-integration.sh
=== RUN   TestIntegration
=== RUN   TestIntegration/TestDefaultIngress
time="2018-10-17T13:25:03-04:00" level=info msg="testing in namespace ingress-test-jtdrun"
--- PASS: TestIntegration (84.78s)
    --- PASS: TestIntegration/TestDefaultIngress (84.78s)
        test_ingress.go:71: router service openshift-ingress/router-default has external hostname a71d8c685d23111e8a9760251897841d-842485194.us-east-1.elb.amazonaws.com                                        
PASS
ok      github.com/openshift/cluster-ingress-operator/test/integration  84.825s

@Miciah

Miciah commented Oct 17, 2018

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 17, 2018
@pravisankar

Copy link
Copy Markdown

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 17, 2018
@pravisankar

pravisankar commented Oct 17, 2018 •

Copy link
Copy Markdown

@ironcladlou
config/config.yaml has projectName: cluster-ingress-operator , do we need to rename this? (it says kind: ClusterIngress where is this used?) I think this is expected by operator-sdk but not used else where.

@ironcladlou

Copy link
Copy Markdown
Contributor Author

@ironcladlou
config/config.yaml has projectName: cluster-ingress-operator , do we need to rename this? (it says kind: ClusterIngress where is this used?) I think this is expected by operator-sdk but not used else where.

This is something related to the operator-sdk, don't remember. I wanted to keep all the go packaging and binary stuff the same.

@pravisankar pravisankar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ironcladlou, Miciah, pravisankar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pravisankar

Copy link
Copy Markdown

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 17, 2018

@ramr ramr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ironcladlou

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@ironcladlou

Copy link
Copy Markdown
Contributor Author

/retest

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot
openshift-merge-robot merged commit abf7bd7 into openshift:master Oct 18, 2018
ironcladlou added a commit to ironcladlou/installer that referenced this pull request Oct 19, 2018
Fix the cluster-ingress-operator override to match the
cluster-ingress-operator's new namespace and deployment name[1].

[1] openshift/cluster-ingress-operator#52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants