diff --git a/config/nginx-ingress/resources/nginx_ingress.yaml b/config/nginx-ingress/resources/nginx_ingress.yaml index 2154bc1..79e1bc0 100644 --- a/config/nginx-ingress/resources/nginx_ingress.yaml +++ b/config/nginx-ingress/resources/nginx_ingress.yaml @@ -1,7 +1,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: catalogd-nginx-ingress + name: catalogd-ingress namespace: catalogd-system spec: ingressClassName: nginx diff --git a/docs/fetching-catalog-contents.md b/docs/fetching-catalog-contents.md index 8fd008e..62aba18 100644 --- a/docs/fetching-catalog-contents.md +++ b/docs/fetching-catalog-contents.md @@ -68,9 +68,11 @@ This section outlines a way of exposing the `Catalogd` Service's endpoints outsi - Assuming `kind` is installed, create a `kind` cluster with `extraPortMappings` and `node-labels` as shown in the [kind documentation](https://kind.sigs.k8s.io/docs/user/ingress/) - Install latest version of `Catalogd` by navigating to the [releases page](https://github.com/operator-framework/catalogd/releases) and following the install instructions included in the release you want to install. - Install the `Ingress NGINX` Controller by running the below command: + ```sh $ kubectl apply -k https://github.com/operator-framework/catalogd/tree/main/config/nginx-ingress ``` + By running tha above command, the `Ingress` Controller is installed. Along with it, the `Ingress` Resource will be applied automatically as well, thereby creating an `Ingress` Object on the cluster. 1. Once the prerequisites are satisfied, create a `Catalog` object that points to the OperatorHub Community catalog by running the following command: @@ -118,7 +120,7 @@ This section outlines a way of exposing the `Catalogd` Service's endpoints outsi Let's verify that the `Ingress` object got created successfully from the sample by running the following command: ```sh - $ kubectl describe ingress/catalogd-nginx-ingress -n catalogd-system + $ kubectl describe ingress/catalogd-ingress -n catalogd-system ``` 1. Run the below example `curl` request to retrieve all of the catalog contents: