nginx ingress

This commit is contained in:
Aram 🍐 2019-10-26 14:40:35 -04:00
parent d875c15f21
commit d0f4bcf6e7
3 changed files with 9 additions and 3 deletions

View file

@ -54,7 +54,11 @@ infra:deploy:
- mkdir -p ${KUBECONFIG_PARENT}
- echo ${K8S_CLUSTER_CONFIG} | base64 -d > ${KUBECONFIG}
# Deploy manifests directly
# Deploy nginx ingress
- helm init --client-only && helm repo update
- helm upgrade nginx-ingress stable/nginx-ingress --install --namespace ${DEPLOY_NAMESPACE} --set controller.publishService.enabled=true
# Deploy infra manifests directly
- cd ${INFRA_SRC}/
- kubectl apply --namespace ${DEPLOY_NAMESPACE} -R -f manifests/
only:

View file

@ -1,7 +1,9 @@
apiVersion: networking.k8s.io/v1beta1
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: public-ingress
annotations:
kubernetes.io/ingress.class: nginx
spec:
tls:
- hosts:

View file

@ -11,5 +11,5 @@ nameOverride: ""
fullnameOverride: ""
service:
type: LoadBalancer
type: ClusterIP
port: 9000