From d73d5fba37281501ff5616c5010e9538504cfdc3 Mon Sep 17 00:00:00 2001 From: Miciah Masters Date: Thu, 9 May 2019 17:37:15 -0400 Subject: [PATCH] operator/ingress: Default Azure to LoadBalancer Use LoadBalancerService as the default endpoint publishing strategy type on Azure. This commit is related to NE-185. https://jira.coreos.com/browse/NE-185 * operator/v1/types_ingress.go (IngressControllerSpec): Document that the default endpoint publishing strategy type on Azure is LoadBalancerService. * operator/v1/zz_generated.swagger_doc_generated.go: Regenerate. --- operator/v1/types_ingress.go | 1 + operator/v1/zz_generated.swagger_doc_generated.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/operator/v1/types_ingress.go b/operator/v1/types_ingress.go index 4e44b0116a8..58c799c29f9 100644 --- a/operator/v1/types_ingress.go +++ b/operator/v1/types_ingress.go @@ -68,6 +68,7 @@ type IngressControllerSpec struct { // infrastructure.config.openshift.io/cluster .status.platform: // // AWS: LoadBalancerService + // Azure: LoadBalancerService // Libvirt: HostNetwork // // Any other platform types (including None) default to HostNetwork. diff --git a/operator/v1/zz_generated.swagger_doc_generated.go b/operator/v1/zz_generated.swagger_doc_generated.go index 5296f8dc234..ff6f68e6161 100644 --- a/operator/v1/zz_generated.swagger_doc_generated.go +++ b/operator/v1/zz_generated.swagger_doc_generated.go @@ -219,7 +219,7 @@ var map_IngressControllerSpec = map[string]string{ "": "IngressControllerSpec is the specification of the desired behavior of the IngressController.", "domain": "domain is a DNS name serviced by the ingress controller and is used to configure multiple features:\n\n* For the LoadBalancerService endpoint publishing strategy, domain is\n used to configure DNS records. See endpointPublishingStrategy.\n\n* When using a generated default certificate, the certificate will be valid\n for domain and its subdomains. See defaultCertificate.\n\n* The value is published to individual Route statuses so that end-users\n know where to target external DNS records.\n\ndomain must be unique among all IngressControllers, and cannot be updated.\n\nIf empty, defaults to ingress.config.openshift.io/cluster .spec.domain.", "replicas": "replicas is the desired number of ingress controller replicas. If unset, defaults to 2.", - "endpointPublishingStrategy": "endpointPublishingStrategy is used to publish the ingress controller endpoints to other networks, enable load balancer integrations, etc.\n\nIf unset, the default is based on infrastructure.config.openshift.io/cluster .status.platform:\n\n AWS: LoadBalancerService\n Libvirt: HostNetwork\n\nAny other platform types (including None) default to HostNetwork.\n\nendpointPublishingStrategy cannot be updated.", + "endpointPublishingStrategy": "endpointPublishingStrategy is used to publish the ingress controller endpoints to other networks, enable load balancer integrations, etc.\n\nIf unset, the default is based on infrastructure.config.openshift.io/cluster .status.platform:\n\n AWS: LoadBalancerService\n Azure: LoadBalancerService\n Libvirt: HostNetwork\n\nAny other platform types (including None) default to HostNetwork.\n\nendpointPublishingStrategy cannot be updated.", "defaultCertificate": "defaultCertificate is a reference to a secret containing the default certificate served by the ingress controller. When Routes don't specify their own certificate, defaultCertificate is used.\n\nThe secret must contain the following keys and data:\n\n tls.crt: certificate file contents\n tls.key: key file contents\n\nIf unset, a wildcard certificate is automatically generated and used. The certificate is valid for the ingress controller domain (and subdomains) and the generated certificate's CA will be automatically integrated with the cluster's trust store.\n\nThe in-use certificate (whether generated or user-specified) will be automatically integrated with OpenShift's built-in OAuth server.", "namespaceSelector": "namespaceSelector is used to filter the set of namespaces serviced by the ingress controller. This is useful for implementing shards.\n\nIf unset, the default is no filtering.", "routeSelector": "routeSelector is used to filter the set of Routes serviced by the ingress controller. This is useful for implementing shards.\n\nIf unset, the default is no filtering.",