feat(base): adding nginx-gateway installation

This commit is contained in:
Philippe Caseiro 2022-10-19 16:09:10 +02:00
parent 3f82f805d4
commit af8aac831a
2 changed files with 13 additions and 1 deletions

View File

@ -6,4 +6,4 @@ bases:
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml - https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
- ./minio - ./minio
- github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.5.1 - github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.5.1
- ./nginx-gateway - ./nginx-gateway.yaml

12
base/nginx-gateway.yaml Normal file
View File

@ -0,0 +1,12 @@
configMapGenerator:
- name: njs-modules
files:
- ./nginx-gateway/internal/nginx/modules/src/httpmatches.js
resources:
- ./nginx-gateway/deploy/manifests/namespace.yaml
- nginx-configmap.yaml
- ./nginx-gateway/deploy/manifests/gatewayclass.yaml
- ./nginx-gateway/deploy/manifests/nginx-gateway.yaml
- ./nginx-gateway/deploy/manifests/service/loadbalancer.yaml