nginx
This commit is contained in:
parent
6103d4e2ec
commit
efdd0bcdc0
2 changed files with 39 additions and 0 deletions
28
apps/networking/ingress-nginx.yaml
Normal file
28
apps/networking/ingress-nginx.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3"
|
||||||
|
spec:
|
||||||
|
project: workshop
|
||||||
|
sources:
|
||||||
|
- repoURL: https://kubernetes.github.io/ingress-nginx
|
||||||
|
chart: ingress-nginx
|
||||||
|
targetRevision: "4.12.0"
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- $values/manifests/networking/ingress-nginx/values.yaml
|
||||||
|
- repoURL: https://github.com/shautvast/ops-demo
|
||||||
|
targetRevision: HEAD
|
||||||
|
ref: values
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: ingress-nginx
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
11
manifests/networking/ingress-nginx/values.yaml
Normal file
11
manifests/networking/ingress-nginx/values.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
controller:
|
||||||
|
ingressClassResource:
|
||||||
|
name: nginx
|
||||||
|
default: true
|
||||||
|
service:
|
||||||
|
type: LoadBalancer
|
||||||
|
loadBalancerIP: "192.168.56.200"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
Loading…
Add table
Reference in a new issue