feat(base): adding nginx-gateway installation

This commit is contained in:
Philippe Caseiro 2022-10-19 16:09:10 +02:00
parent 0b3030cc94
commit 869d8b9d5c
4 changed files with 14 additions and 3 deletions

2
.gitmodules vendored
View File

@ -2,5 +2,5 @@
path = base/minio path = base/minio
url = https://github.com/minio/operator.git url = https://github.com/minio/operator.git
[submodule "base/nginx-gateway"] [submodule "base/nginx-gateway"]
path = base/nginx-gateway path = base/nginx/nginx-gateway
url = https://github.com/nginxinc/nginx-kubernetes-gateway.git url = https://github.com/nginxinc/nginx-kubernetes-gateway.git

View File

@ -5,5 +5,4 @@ bases:
- https://raw.githubusercontent.com/flannel-io/flannel/master/Documentation/kube-flannel.yml - https://raw.githubusercontent.com/flannel-io/flannel/master/Documentation/kube-flannel.yml
- 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 - ./nginx
- ./nginx-gateway

View File

@ -0,0 +1,12 @@
resources:
- github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.5.1
- ./nginx-gateway/deploy/manifests/namespace.yaml
- ./nginx-gateway/deploy/manifests/gatewayclass.yaml
- ./nginx-gateway/deploy/manifests/nginx-gateway.yaml
- ./nginx-gateway/deploy/manifests/service/loadbalancer.yaml
configMapGenerator:
- name: njs-modules
files:
- ./nginx-gateway/internal/nginx/modules/src/httpmatches.js