Skip to content

Commit 54ee763

Browse files
misba7moabu
andauthored
feat(charts): gateway api support in helm charts (#2588)
* feat: add support for gateway api in flex and flex-aio charts Signed-off-by: Amro Misbah <amromisba7@gmail.com> * docs: add hyphen to yaml comments Signed-off-by: Amro Misbah <amromisba7@gmail.com> * fix: remove port from httproute Signed-off-by: Amro Misbah <amromisba7@gmail.com> * docs: remove pipe from comments Signed-off-by: Amro Misbah <amromisba7@gmail.com> * fix: add hyphen to if condition for consistency Signed-off-by: Amro Misbah <amromisba7@gmail.com> * fix: correct casa endpoint Signed-off-by: Amro Misbah <amromisba7@gmail.com> * fix: remove hyphen from if condition in lists Signed-off-by: Amro Misbah <amromisba7@gmail.com> --------- Signed-off-by: Amro Misbah <amromisba7@gmail.com> Co-authored-by: Mohammad Abudayyeh <47318409+moabu@users.noreply.github.com>
1 parent 725588c commit 54ee763

File tree

24 files changed

+1074
-58
lines changed

24 files changed

+1074
-58
lines changed

automation/rancher-partner-charts/questions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,8 @@ questions:
639639
group: "Ingress"
640640
show_if: "global.distribution=default&&global.casa.enabled=true"
641641
required: true
642-
description: "Enable endpoint /casa. Enable this!"
643-
label: Enable endpoint /casa Enable this!
642+
description: "Enable endpoint /jans-casa. Enable this!"
643+
label: Enable endpoint /jans-casa. Enable this!
644644
#auth-server OB
645645
- variable: global.auth-server.ingress.authServerProtectedToken
646646
default: true

charts/example-third-party-templates/alb/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ spec:
110110
backend:
111111
serviceName: oxpassport
112112
servicePort: 8090
113-
- path: /casa*
113+
- path: /jans-casa*
114114
backend:
115115
serviceName: casa
116116
servicePort: 8080

charts/gluu-all-in-one/README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Kubernetes: `>=v1.23.0-0`
135135
| casa.enabled | bool | `true` | Boolean flag to enable/disable the casa chart. |
136136
| casa.ingress | object | `{"casaAdditionalAnnotations":{},"casaEnabled":false,"casaLabels":{}}` | Enable endpoints in either istio or nginx ingress depending on users choice |
137137
| casa.ingress.casaAdditionalAnnotations | object | `{}` | Casa ingress resource additional annotations. |
138-
| casa.ingress.casaEnabled | bool | `false` | Enable casa endpoints /casa |
138+
| casa.ingress.casaEnabled | bool | `false` | Enable casa endpoints /jans-casa |
139139
| casa.ingress.casaLabels | object | `{}` | Casa ingress resource labels. key app is taken |
140140
| certManager.certificate.enabled | bool | `false` | |
141141
| certManager.certificate.issuerGroup | string | `"cert-manager.io"` | |
@@ -310,6 +310,16 @@ Kubernetes: `>=v1.23.0-0`
310310
| fido2.ingress.fido2WebauthnLabels | object | `{}` | fido2 webauthn ingress resource labels. key app is taken |
311311
| fqdn | string | `"demoexample.gluu.org"` | Fully qualified domain name to be used for Gluu installation. This address will be used to reach Gluu services. |
312312
| fullNameOverride | string | `""` | |
313+
| gatewayApi.enabled | bool | `false` | Boolean flag to enable/disable the Kubernetes Gateway and HTTPRoute resources. |
314+
| gatewayApi.gatewayAnnotations | object | `{}` | Specific annotations for the Gateway resource |
315+
| gatewayApi.gatewayClassName | string | `"nginx"` | Set the gatewayClassName corresponding to your installed controller. We support all GA-conformant implementations(e.g., 'nginx', 'istio', 'cilium', 'traefik'). See https://gateway-api.sigs.k8s.io/implementations/#conformant |
316+
| gatewayApi.gatewayLabels | object | `{}` | Specific labels for the Gateway resource |
317+
| gatewayApi.httpPort | int | `80` | Gateway http port number |
318+
| gatewayApi.httpsPort | int | `443` | Gateway https port number |
319+
| gatewayApi.name | string | `"gluu-gateway"` | The name of the Gateway resource to be created |
320+
| gatewayApi.routeAnnotations | object | `{}` | Specific annotations for the HTTPRoute resource |
321+
| gatewayApi.routeLabels | object | `{}` | Specific labels for the HTTPRoute resource |
322+
| gatewayApi.tlsSecretName | string | `"tls-certificate"` | Secret containing the TLS certificate for the Gateway |
313323
| hpa | object | `{"behavior":{},"enabled":true,"maxReplicas":10,"metrics":[],"minReplicas":1,"targetCPUUtilizationPercentage":50}` | Configure the HorizontalPodAutoscaler |
314324
| hpa.behavior | object | `{}` | Scaling Policies |
315325
| hpa.metrics | list | `[]` | metrics if targetCPUUtilizationPercentage is not set |
@@ -413,6 +423,3 @@ Kubernetes: `>=v1.23.0-0`
413423
| usrEnvs.secret | object | `{}` | Add custom secret envs to the service variable1: value1 |
414424
| volumeMounts | list | `[]` | Configure any additional volumesMounts that need to be attached to the containers |
415425
| volumes | list | `[]` | Configure any additional volumes that need to be attached to the pod |
416-
417-
----------------------------------------------
418-
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

0 commit comments

Comments
 (0)