github.com/replicatedhq/ship@v0.55.0/integration/failing/update/helm-values-files/expected/.ship/upstream/values.yaml (about)

     1  # Default values for jenkins.
     2  # This is a YAML-formatted file.
     3  # Declare name/value pairs to be passed into your templates.
     4  # name: value
     5  
     6  ## Overrides for generated resource names
     7  # See templates/_helpers.tpl
     8  # nameOverride:
     9  # fullnameOverride:
    10  
    11  Master:
    12    Name: jenkins-master
    13    Image: "jenkins/jenkins"
    14    ImageTag: "lts"
    15    ImagePullPolicy: "Always"
    16  # ImagePullSecret: jenkins
    17    Component: "jenkins-master"
    18    UseSecurity: true
    19    HostNetworking: false
    20    AdminUser: admin
    21    # AdminPassword: <defaults to random>
    22    resources:
    23      requests:
    24        cpu: "50m"
    25        memory: "256Mi"
    26      limits:
    27        cpu: "2000m"
    28        memory: "2048Mi"
    29    # Environment variables that get added to the init container (useful for e.g. http_proxy)
    30    # InitContainerEnv:
    31    #   - name: http_proxy
    32    #     value: "http://192.168.64.1:3128"
    33    # ContainerEnv:
    34    #   - name: http_proxy
    35    #     value: "http://192.168.64.1:3128"
    36    # Set min/max heap here if needed with:
    37    # JavaOpts: "-Xms512m -Xmx512m"
    38    # JenkinsOpts: ""
    39    # JenkinsUriPrefix: "/jenkins"
    40    # Enable pod security context (must be `true` if RunAsUser or FsGroup are set)
    41    UsePodSecurityContext: true
    42    # Set RunAsUser to 1000 to let Jenkins run as non-root user 'jenkins' which exists in 'jenkins/jenkins' docker image.
    43    # When setting RunAsUser to a different value than 0 also set FsGroup to the same value:
    44    # RunAsUser: <defaults to 0>
    45    # FsGroup: <will be omitted in deployment if RunAsUser is 0>
    46    ServicePort: 8080
    47    # For minikube, set this to NodePort, elsewhere use LoadBalancer
    48    # Use ClusterIP if your setup includes ingress controller
    49    ServiceType: LoadBalancer
    50    # Master Service annotations
    51    ServiceAnnotations: {}
    52    #   service.beta.kubernetes.io/aws-load-balancer-backend-protocol: https
    53    # Used to create Ingress record (should used with ServiceType: ClusterIP)
    54    # HostName: jenkins.cluster.local
    55    # NodePort: <to set explicitly, choose port between 30000-32767
    56    # Enable Kubernetes Liveness and Readiness Probes
    57    # ~ 2 minutes to allow Jenkins to restart when upgrading plugins. Set ReadinessTimeout to be shorter than LivenessTimeout.
    58    HealthProbes: true
    59    HealthProbesLivenessTimeout: 90
    60    HealthProbesReadinessTimeout: 60
    61    HealthProbeLivenessFailureThreshold: 12
    62    SlaveListenerPort: 50000
    63    DisabledAgentProtocols:
    64      - JNLP-connect
    65      - JNLP2-connect
    66    CSRF:
    67      DefaultCrumbIssuer:
    68        Enabled: true
    69        ProxyCompatability: true
    70    CLI: false
    71    # Kubernetes service type for the JNLP slave service
    72    # SETTING THIS TO "LoadBalancer" IS A HUGE SECURITY RISK: https://github.com/kubernetes/charts/issues/1341
    73    SlaveListenerServiceType: ClusterIP
    74    SlaveListenerServiceAnnotations: {}
    75    LoadBalancerSourceRanges:
    76    - 0.0.0.0/0
    77    # Optionally assign a known public LB IP
    78    # LoadBalancerIP: 1.2.3.4
    79    # Optionally configure a JMX port
    80    # requires additional JavaOpts, ie
    81    # JavaOpts: >
    82    #   -Dcom.sun.management.jmxremote.port=4000
    83    #   -Dcom.sun.management.jmxremote.authenticate=false
    84    #   -Dcom.sun.management.jmxremote.ssl=false
    85    # JMXPort: 4000
    86    # Optionally configure other ports to expose in the Master container
    87    ExtraPorts:
    88    # - name: BuildInfoProxy
    89    #   port: 9000
    90    # List of plugins to be install during Jenkins master start
    91    InstallPlugins:
    92      - kubernetes:1.12.4
    93      - workflow-job:2.24
    94      - workflow-aggregator:2.5
    95      - credentials-binding:1.16
    96      - git:3.9.1
    97    # Used to approve a list of groovy functions in pipelines used the script-security plugin. Can be viewed under /scriptApproval
    98    # ScriptApproval:
    99    #   - "method groovy.json.JsonSlurperClassic parseText java.lang.String"
   100    #   - "new groovy.json.JsonSlurperClassic"
   101    # List of groovy init scripts to be executed during Jenkins master start
   102    InitScripts:
   103    #  - |
   104    #    print 'adding global pipeline libraries, register properties, bootstrap jobs...'
   105    # Kubernetes secret that contains a 'credentials.xml' for Jenkins
   106    # CredentialsXmlSecret: jenkins-credentials
   107    # Kubernetes secret that contains files to be put in the Jenkins 'secrets' directory,
   108    # useful to manage encryption keys used for credentials.xml for instance (such as
   109    # master.key and hudson.util.Secret)
   110    # SecretsFilesSecret: jenkins-secrets
   111    # Jenkins XML job configs to provision
   112    # Jobs: |-
   113    #   test: |-
   114    #     <<xml here>>
   115    CustomConfigMap: false
   116    # By default, the configMap is only used to set the initial config the first time
   117    # that the chart is installed.  Setting `OverwriteConfig` to `true` will overwrite
   118    # the jenkins config with the contents of the configMap every time the pod starts.
   119    OverwriteConfig: false
   120    # Node labels and tolerations for pod assignment
   121    # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
   122    # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
   123    NodeSelector: {}
   124    Tolerations: {}
   125    PodAnnotations: {}
   126  
   127    Ingress:
   128      ApiVersion: extensions/v1beta1
   129      Annotations: {}
   130      # kubernetes.io/ingress.class: nginx
   131      # kubernetes.io/tls-acme: "true"
   132  
   133      TLS:
   134      # - secretName: jenkins.cluster.local
   135      #   hosts:
   136      #     - jenkins.cluster.local
   137  
   138  Agent:
   139    Enabled: true
   140    Image: jenkins/jnlp-slave
   141    ImageTag: 3.10-1
   142    CustomJenkinsLabels: []
   143  # ImagePullSecret: jenkins
   144    Component: "jenkins-slave"
   145    Privileged: false
   146    resources:
   147      requests:
   148        cpu: "200m"
   149        memory: "256Mi"
   150      limits:
   151        cpu: "200m"
   152        memory: "256Mi"
   153    # You may want to change this to true while testing a new image
   154    AlwaysPullImage: false
   155    # Controls how slave pods are retained after the Jenkins build completes
   156    # Possible values: Always, Never, OnFailure
   157    PodRetention: Never
   158    # You can define the volumes that you want to mount for this container
   159    # Allowed types are: ConfigMap, EmptyDir, HostPath, Nfs, Pod, Secret
   160    # Configure the attributes as they appear in the corresponding Java class for that type
   161    # https://github.com/jenkinsci/kubernetes-plugin/tree/master/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes
   162    volumes:
   163    # - type: Secret
   164    #   secretName: mysecret
   165    #   mountPath: /var/myapp/mysecret
   166    NodeSelector: {}
   167    # Key Value selectors. Ex:
   168    # jenkins-agent: v1
   169  
   170  Persistence:
   171    Enabled: true
   172    ## A manually managed Persistent Volume and Claim
   173    ## Requires Persistence.Enabled: true
   174    ## If defined, PVC must be created manually before volume will be bound
   175    # ExistingClaim:
   176  
   177    ## jenkins data Persistent Volume Storage Class
   178    ## If defined, storageClassName: <storageClass>
   179    ## If set to "-", storageClassName: "", which disables dynamic provisioning
   180    ## If undefined (the default) or set to null, no storageClassName spec is
   181    ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
   182    ##   GKE, AWS & OpenStack)
   183    ##
   184    # StorageClass: "-"
   185  
   186    Annotations: {}
   187    AccessMode: ReadWriteOnce
   188    Size: 8Gi
   189    volumes:
   190    #  - name: nothing
   191    #    emptyDir: {}
   192    mounts:
   193    #  - mountPath: /var/nothing
   194    #    name: nothing
   195    #    readOnly: true
   196  
   197  NetworkPolicy:
   198    # Enable creation of NetworkPolicy resources.
   199    Enabled: false
   200    # For Kubernetes v1.4, v1.5 and v1.6, use 'extensions/v1beta1'
   201    # For Kubernetes v1.7, use 'networking.k8s.io/v1'
   202    ApiVersion: extensions/v1beta1
   203  
   204  ## Install Default RBAC roles and bindings
   205  rbac:
   206    install: false
   207    serviceAccountName: default
   208    # Role reference
   209    roleRef: cluster-admin
   210    # Role kind (RoleBinding or ClusterRoleBinding)
   211    roleBindingKind: ClusterRoleBinding