Add ingress function
This change introduces a function that deploys the NGINX ingress controller. Closes: #24 Change-Id: I149fe5ef7c07eb4af6235cf55cd8ca2a9f4c4ee8
This commit is contained in:
parent
66e76acf96
commit
971417cf55
26
manifests/function/ingress/helmrelease.yaml
Normal file
26
manifests/function/ingress/helmrelease.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
apiVersion: "helm.fluxcd.io/v1"
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: ingress
|
||||
spec:
|
||||
wait: true
|
||||
timeout: 600
|
||||
values:
|
||||
controller:
|
||||
service:
|
||||
type: NodePort
|
||||
nodePorts:
|
||||
http: 80
|
||||
https: 443
|
||||
kind: DaemonSet
|
||||
hostNetwork: "false"
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/master: ""
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
effect: NoSchedule
|
||||
chart:
|
||||
repository: https://kubernetes-charts.storage.googleapis.com
|
||||
name: nginx-ingress
|
||||
version: 1.40.1
|
4
manifests/function/ingress/kustomization.yaml
Normal file
4
manifests/function/ingress/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- helmrelease.yaml
|
||||
namespace: ingress
|
4
manifests/function/ingress/namespace.yaml
Normal file
4
manifests/function/ingress/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: ingress
|
@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- ../../../../type/airship-core/target/workload
|
@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- ../../../../../function/ingress
|
@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- ingress
|
@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- ../../../airship-core/target/workload
|
Loading…
x
Reference in New Issue
Block a user