From af8aac831ad39bf3377b9a5737ffe50bb4c4fcbf Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 19 Oct 2022 16:09:10 +0200 Subject: [PATCH] feat(base): adding nginx-gateway installation --- base/kustomization.yaml | 2 +- base/nginx-gateway.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 base/nginx-gateway.yaml diff --git a/base/kustomization.yaml b/base/kustomization.yaml index 139aa57..3315222 100644 --- a/base/kustomization.yaml +++ b/base/kustomization.yaml @@ -6,4 +6,4 @@ bases: - https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml - ./minio - github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.5.1 - - ./nginx-gateway \ No newline at end of file + - ./nginx-gateway.yaml \ No newline at end of file diff --git a/base/nginx-gateway.yaml b/base/nginx-gateway.yaml new file mode 100644 index 0000000..490f9b0 --- /dev/null +++ b/base/nginx-gateway.yaml @@ -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 \ No newline at end of file