Add ingress function

This change introduces a function that deploys the NGINX ingress
controller.

Closes: #24

Change-Id: I149fe5ef7c07eb4af6235cf55cd8ca2a9f4c4ee8
This commit is contained in:
Drew Walters 2020-08-20 14:27:26 +00:00 committed by Dmitry Ukov
parent 66e76acf96
commit 971417cf55
7 changed files with 42 additions and 0 deletions

View 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

View File

@ -0,0 +1,4 @@
resources:
- namespace.yaml
- helmrelease.yaml
namespace: ingress

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: ingress

View File

@ -0,0 +1,2 @@
resources:
- ../../../../type/airship-core/target/workload

View File

@ -0,0 +1,2 @@
resources:
- ../../../../../function/ingress

View File

@ -0,0 +1,2 @@
resources:
- ingress

View File

@ -0,0 +1,2 @@
resources:
- ../../../airship-core/target/workload