Commit 4630b59c authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Fix for GKE ingress (#20)

parent afa58388
Loading
Loading
Loading
Loading
Loading
+19 −1
Original line number Diff line number Diff line
@@ -31,7 +31,25 @@
      
        * More details regarding the Nginx Ingress Controller (Kubernetes Community Edition) can be found [here](https://kubernetes.github.io/ingress-nginx/deploy/).
    
    * **Other Ingress Controller:**  For non-Nginx ingress controllers, modify `[repo-root]/kubernetes/helm/openslice/templates/openslice-ingress.yaml` to meet your controller’s requirements.
    * **GKE Ingress Controller:** 
        * Modify `[repo-root]/kubernetes/helm/openslice/templates/openslice-ingress.yaml`, as following:

            ``` 
            - - pathType: ImplementationSpecific
            + - pathType: Prefix
            ```
        
        * Modify `[repo-root]/kubernetes/helm/openslice/values.yaml`, as following:

            ``` 
            - -  ingressClassName: nginx
            - -  annotations: {}
            +  annotations:
            +    kubernetes.io/ingress.class: gce
            +    kubernetes.io/ingress.global-static-ip-name: web-static-ip 
            ```

    * **Other Ingress Controller:**  For other ingress controllers, modify `[repo-root]/kubernetes/helm/openslice/templates/openslice-ingress.yaml` to meet your controller’s requirements.

### Exposure