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

Configure ingress.

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