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}
|
||||
- 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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -11,5 +11,5 @@ nameOverride: ""
|
|||
fullnameOverride: ""
|
||||
|
||||
service:
|
||||
type: LoadBalancer
|
||||
type: ClusterIP
|
||||
port: 9000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue