Add nginx-ingress
This commit is contained in:
parent
ef8bf42bd0
commit
56d77d1216
8
clusters/my-cluster/nginx-ingress/kustomization.yaml
Normal file
8
clusters/my-cluster/nginx-ingress/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/nginx-ingress/namespace.yaml
Normal file
5
clusters/my-cluster/nginx-ingress/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx
|
15
clusters/my-cluster/nginx-ingress/release.yaml
Normal file
15
clusters/my-cluster/nginx-ingress/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: 1.11.1
|
||||||
|
interval: 50m
|
9
clusters/my-cluster/nginx-ingress/repository.yaml
Normal file
9
clusters/my-cluster/nginx-ingress/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