Add nginx-ingress
This commit is contained in:
parent
ef8bf42bd0
commit
515acae89e
8
clusters/my-cluster/ingress-nginx/kustomization.yaml
Normal file
8
clusters/my-cluster/ingress-nginx/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: ingress-nginx
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- repository.yaml
|
||||||
|
- release.yaml
|
5
clusters/my-cluster/ingress-nginx/namespace.yaml
Normal file
5
clusters/my-cluster/ingress-nginx/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx
|
15
clusters/my-cluster/ingress-nginx/release.yaml
Normal file
15
clusters/my-cluster/ingress-nginx/release.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx
|
||||||
|
namespace: ingress-nginx
|
||||||
|
spec:
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: ingress-nginx
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: ingress-nginx
|
||||||
|
version: 4.11.1
|
||||||
|
interval: 12h
|
9
clusters/my-cluster/ingress-nginx/repository.yaml
Normal file
9
clusters/my-cluster/ingress-nginx/repository.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx
|
||||||
|
namespace: ingress-nginx
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
url: https://kubernetes.github.io/ingress-nginx
|
Loading…
Reference in New Issue
Block a user