-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get ingress domain from ingress config #71
Get ingress domain from ingress config #71
Conversation
4385819
to
7e2c434
Compare
7e2c434
to
f82e871
Compare
Rebased. Added a field |
f82e871
to
08dc6a5
Compare
Latest push updates openshift/api to include openshift/api#139. |
/retest |
2 similar comments
/retest |
/retest |
Note: openshift/installer#744 is needed for this to work out of the box. I tested this PR manually on a cluster that I installed with the changes that are in openshift/installer#744:
|
/retest |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
/hold |
* cmd/cluster-ingress-operator/main.go (createHandler): Get the cluster ingress config and use the domain therefrom to set the operator config object's DefaultIngressDomain field for the ingress domain of the default clusteringress. * manifests/00-cluster-role.yaml: Allow operator to get ingresses.config.openshift.io. * pkg/manifests/manifests.go (DefaultClusterIngress): Delete parameter for install config. Use the operator config object's DefaultClusterIngress field to get the ingress domain. * pkg/manifests/manifests_test.go (TestDefaultClusterIngress): Specify DefaultIngressDomain in operator config object. Delete argument for install config in call to DefaultClusterIngress. * pkg/operator/config.go (Config): Add DefaultIngressDomain field. * pkg/stub/handler.go (EnsureDefaultClusterIngress): Delete argument for install config in call to DefaultClusterIngress. (ensureDNSForLoadBalancer): Don't add an "apps." prefix to the ingress domain; the default cluster ingress config domain already has it. * pkg/util/config.go (InstallConfig): Delete Metadata field. (InstallConfigMetadata): Delete.
08dc6a5
to
6cc7d30
Compare
Amended in anticipation of openshift/installer#754. Once that PR merges, I'll test the changes in this PR again, then cancel the hold. |
Tested as follows.
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ironcladlou, Miciah The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
/retest |
6 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest Only three flakes this last time:
|
/retest |
2 similar comments
/retest |
/retest |
/retest
|
/retest |
Import openshift/api/config/v1
Get ingress domain from ingress config
manifests/00-cluster-role.yaml
: Allow operator to getingresses.config.openshift.io
.pkg/manifests/manifests.go
(DefaultClusterIngress
): Delete parameter for install config; add parameter for ingress domain.pkg/manifests/manifests_test.go
(TestDefaultClusterIngres
): Adjust.pkg/stub/handler.go
(EnsureDefaultClusterIngress
): Get the cluster ingress config and use the domain therefrom to set the domain of the default clusteringress.(
ensureDNSForLoadBalancer
): Don't add an "apps." prefix to the ingress domain; the default cluster ingress config domain already has it.pkg/util/config.go
(InstallConfig
): DeleteMetadata
field.(
InstallConfigMetadata
): Delete.Depends on openshift/api#139 and openshift/installer#717.
Related: openshift/cluster-openshift-apiserver-operator#51.
@ironcladlou