nginx ingress
This commit is contained in:
parent
d875c15f21
commit
d0f4bcf6e7
3 changed files with 9 additions and 3 deletions
|
@ -54,7 +54,11 @@ infra:deploy:
|
||||||
- mkdir -p ${KUBECONFIG_PARENT}
|
- mkdir -p ${KUBECONFIG_PARENT}
|
||||||
- echo ${K8S_CLUSTER_CONFIG} | base64 -d > ${KUBECONFIG}
|
- 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}/
|
- cd ${INFRA_SRC}/
|
||||||
- kubectl apply --namespace ${DEPLOY_NAMESPACE} -R -f manifests/
|
- kubectl apply --namespace ${DEPLOY_NAMESPACE} -R -f manifests/
|
||||||
only:
|
only:
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: public-ingress
|
name: public-ingress
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: nginx
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
|
|
|
@ -11,5 +11,5 @@ nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: ClusterIP
|
||||||
port: 9000
|
port: 9000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue