Rename infra dir
This commit is contained in:
4
infra-scripts/nginx/Makefile
Normal file
4
infra-scripts/nginx/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
install:
|
||||
helm repo add nginx https://helm.nginx.com/stable
|
||||
helm repo update nginx
|
||||
helm upgrade --install -n nginx-ingress-controller --create-namespace nginx-ingress nginx/nginx-ingress --version 2.0.1 -f values.yaml
|
||||
24
infra-scripts/nginx/values.yaml
Normal file
24
infra-scripts/nginx/values.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
controller:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 0
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
ingressClass:
|
||||
create: true
|
||||
setAsDefaultIngress: true
|
||||
|
||||
service:
|
||||
create: true
|
||||
type: LoadBalancer
|
||||
# Requirement for sharing ip with other service
|
||||
externalTrafficPolicy: Cluster
|
||||
ipFamilyPolicy: RequireDualStack
|
||||
annotations:
|
||||
# Share IP with gitea ssh so we can have the same domain for both port
|
||||
lbipam.cilium.io/sharing-key: gitea
|
||||
lbipam.cilium.io/sharing-cross-namespace: gitea
|
||||
lbipam.cilium.io/ips: 10.44.0.0,2001:470:61a3:400::1
|
||||
Reference in New Issue
Block a user