Commit 692c2a2b authored by João Lino's avatar João Lino

Configure ingress.

Add gitlab plugins.
parent ee5d5d77
......@@ -127,7 +127,7 @@ master:
# jenkinsOpts: ""
# jenkinsUrl: ""
# If you set this prefix and use ingress controller then you might want to set the ingress path below
# jenkinsUriPrefix: "/jenkins"
jenkinsUriPrefix: "/jenkins"
# Enable pod security context (must be `true` if runAsUser or fsGroup are set)
usePodSecurityContext: true
# Set runAsUser to 1000 to let Jenkins run as non-root user 'jenkins' which exists in 'jenkins/jenkins' docker image.
......@@ -217,6 +217,9 @@ master:
- workflow-aggregator:2.6
- credentials-binding:1.21
- git:4.2.0
- gitlab-api:1.0.6
- gitlab-branch-source:1.4.6
# Enable to always override the installed plugins with the values of 'master.installPlugins' on upgrade or redeployment.
# overwritePlugins: true
......@@ -447,17 +450,18 @@ master:
overwriteJobs: false
ingress:
enabled: false
enabled: true
# For Kubernetes v1.14+, use 'networking.k8s.io/v1beta1'
apiVersion: "extensions/v1beta1"
#apiVersion: "extensions/v1beta1"
apiVersion: "networking.k8s.io/v1beta1"
labels: {}
annotations: {}
# kubernetes.io/ingress.class: nginx
kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# Set this path to jenkinsUriPrefix above or use annotations to rewrite path
# path: "/jenkins"
path: "/jenkins"
# configures the hostname e.g. jenkins.example.com
hostName:
hostName: www.joaolino.com
tls:
# - secretName: jenkins.cluster.local
# hosts:
......@@ -662,7 +666,7 @@ persistence:
networkPolicy:
# Enable creation of NetworkPolicy resources.
enabled: false
enabled: true
# For Kubernetes v1.4, v1.5 and v1.6, use 'extensions/v1beta1'
# For Kubernetes v1.7, use 'networking.k8s.io/v1'
apiVersion: networking.k8s.io/v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment