@@ -32,9 +32,9 @@ Architecture:
|
|||||||
|
|
||||||
- [Docker Hub](https://hub.docker.com/r/jkaninda/goma-gateway)
|
- [Docker Hub](https://hub.docker.com/r/jkaninda/goma-gateway)
|
||||||
- [Github](https://github.com/jkaninda/goma-gateway)
|
- [Github](https://github.com/jkaninda/goma-gateway)
|
||||||
|
- [Kubernetes operator](https://github.com/jkaninda/goma-operator)
|
||||||
|
|
||||||
### [Documentation](https://jkaninda.github.io/goma-gateway)
|
### [Documentation](https://jkaninda.github.io/goma-gateway)
|
||||||
### [Kubernetes operator](https://github.com/jkaninda/goma-operator)
|
|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ To expose your Gateway outside the cluster, you have the following options:
|
|||||||
2. **Change the Service Type**:
|
2. **Change the Service Type**:
|
||||||
Patch the Gateway's service to change its type (e.g., to `LoadBalancer` or `NodePort`) for external accessibility.
|
Patch the Gateway's service to change its type (e.g., to `LoadBalancer` or `NodePort`) for external accessibility.
|
||||||
|
|
||||||
|
A simple example of gateway
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: gomaproj.github.io/v1beta1
|
apiVersion: gomaproj.github.io/v1beta1
|
||||||
@@ -57,7 +58,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
# The version of Goma Gateway
|
# The version of Goma Gateway
|
||||||
# See: https://github.com/jkaninda/goma-gateway/releases
|
# See: https://github.com/jkaninda/goma-gateway/releases
|
||||||
gatewayVersion: 0.2.2
|
gatewayVersion: latest # 0.2.2
|
||||||
## Server config
|
## Server config
|
||||||
server:
|
server:
|
||||||
writeTimeout: 10
|
writeTimeout: 10
|
||||||
@@ -87,6 +88,8 @@ spec:
|
|||||||
|
|
||||||
## Middleware
|
## Middleware
|
||||||
|
|
||||||
|
A simple example of middleware
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: gomaproj.github.io/v1beta1
|
apiVersion: gomaproj.github.io/v1beta1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
@@ -103,6 +106,8 @@ spec:
|
|||||||
|
|
||||||
## Route
|
## Route
|
||||||
|
|
||||||
|
A simple example of route
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: gomaproj.github.io/v1beta1
|
apiVersion: gomaproj.github.io/v1beta1
|
||||||
kind: Route
|
kind: Route
|
||||||
|
|||||||
Reference in New Issue
Block a user