Эх сурвалжийг харах

Cambios en values y quito storageclass de pvc

Celestino Rey 9 сар өмнө
parent
commit
dda2d8471b
2 өөрчлөгдсөн 12 нэмэгдсэн , 8 устгасан
  1. 1 2
      pvc-jenkins.yaml
  2. 11 6
      values.yaml

+ 1 - 2
pvc-jenkins.yaml

@@ -1,10 +1,9 @@
 apiVersion: v1
 kind: PersistentVolumeClaim
 metadata:
-  name: jenkins-pv-claim
+  name: jenkins
   namespace: jenkins
 spec:
-  storageClassName: longhorn
   accessModes:
     - ReadWriteOnce
   resources:

+ 11 - 6
values.yaml

@@ -80,7 +80,7 @@ controller:
     username: "admin"
     # -- Admin password created as a secret if `controller.admin.createSecret` is true
     # @default -- <random password>
-    password:
+    password: Rey-1176
 
     # -- The key in the existing admin secret containing the username
     userKey: jenkins-admin-user
@@ -530,7 +530,7 @@ controller:
       ubicacion: |
         unclassified: 
           location:
-            url: http://jenkins-okd.reymota.es
+            url: http://jenkins.rancher.lab
             adminAddress: "celestino.rey@gmail.com"
 
       autorizacion: |
@@ -569,7 +569,7 @@ controller:
               defaultsProviderTemplate: ""
               connectTimeout: "5"
               readTimeout: "15"
-              jenkinsUrl: "https://jenkins-okd.reymota.es"
+              jenkinsUrl: "https://jenkins.rancher.lab"
               jenkinsTunnel: "jenkins-agent.jenkins.svc.cluster.local:50000"
               skipTlsVerify: false
               usageRestricted: false
@@ -595,7 +595,7 @@ controller:
                     envVars:
                       - envVar:
                           key: "JENKINS_URL"
-                          value: https://jenkins-okd.reymota.es
+                          value: https://jenkins.rancher.lab
                     image: "jenkins/inbound-agent:3327.v868139a_d00e0-6"
                     privileged: "false"
                     resourceLimitCpu: 512m
@@ -886,7 +886,7 @@ controller:
     path:
 
   # -- Allows for adding entries to Pod /etc/hosts
-  hostAliases: []
+  # hostAliases: []
   # ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
   # hostAliases:
   # - ip: 192.168.50.50
@@ -895,6 +895,11 @@ controller:
   # - ip: 10.0.50.50
   #   hostnames:
   #     - other.local
+  hostAliases:
+  - ip: 192.168.5.15
+    hostnames:
+      - gitea.rancher.lab
+      - jenkins.rancher.lab
 
   # Expose Prometheus metrics
   prometheus:
@@ -1352,7 +1357,7 @@ persistence:
   # Requires persistence.enabled: true
   # If defined, PVC must be created manually before volume will be bound
   # -- Provide the name of a PVC
-  existingClaim:
+  existingClaim: jenkins
 
   # jenkins data Persistent Volume Storage Class
   # If defined, storageClassName: <storageClass>