UNCLASSIFIED

Commit 2fd559fc authored by Andy Maksymowicz's avatar Andy Maksymowicz
Browse files

Merge branch '2.249.3.1' into 'development'

2.249.3.1

See merge request !35
parents 9b051180 43865e6c
Pipeline #69080 passed with stages
in 38 minutes and 37 seconds
...@@ -42,8 +42,8 @@ HEALTHCHECK --interval=5m --timeout=3s \ ...@@ -42,8 +42,8 @@ HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -fsL ${JENKINS_URL}/login || exit 1 CMD curl -fsL ${JENKINS_URL}/login || exit 1
LABEL securitytxt="https://www.cloudbees.com/.well-known/security.txt" LABEL securitytxt="https://www.cloudbees.com/.well-known/security.txt"
LABEL release=4c482ecc2d194d4868ade0a8cb5f773a3ab1c0d5 LABEL release=35bd8640427b6d61f14c96f9f6e8aecbe4f3822e
LABEL version=2.249.2.3 LABEL version=2.249.3.1
ARG TARBALL=files.tar ARG TARBALL=files.tar
COPY ${TARBALL} /tmp COPY ${TARBALL} /tmp
......
@Library('DCCSCR@master') _ @Library('DCCSCR@master') _
dccscrPipeline(version: '2.249.2.3') dccscrPipeline(version: '2.249.3.1')
...@@ -9,7 +9,7 @@ CloudBees CI (formerly known as _CloudBees Core_) consists of three Docker image ...@@ -9,7 +9,7 @@ CloudBees CI (formerly known as _CloudBees Core_) consists of three Docker image
For each image, all files other than UBI and native packages For each image, all files other than UBI and native packages
are included in a `files.tar` marked with a SHA-256 checksum. are included in a `files.tar` marked with a SHA-256 checksum.
A version of CloudBees CI is given in the format `2.249.2.3` A version of CloudBees CI is given in the format `2.249.3.1`
where the first three components are aligned with a Jenkins LTS. where the first three components are aligned with a Jenkins LTS.
The Helm chart is coversioned with `core-oc`. The Helm chart is coversioned with `core-oc`.
The `core-mm` image typically shares the same version, The `core-mm` image typically shares the same version,
...@@ -22,13 +22,13 @@ plus whatever other customizations are desired: ...@@ -22,13 +22,13 @@ plus whatever other customizations are desired:
```yaml ```yaml
OperationsCenter: OperationsCenter:
Image: Image:
dockerImage: your-registry/core-oc:2.249.2.3 dockerImage: your-registry/core-oc:2.249.3.1
Master: Master:
Image: Image:
dockerImage: your-registry/core-mm:2.249.2.3 dockerImage: your-registry/core-mm:2.249.3.1
Agents: Agents:
Image: Image:
dockerImage: your-registry/agent:2.249.2.3 dockerImage: your-registry/agent:2.249.3.1
``` ```
and [install via Helm 3](https://docs.cloudbees.com/docs/cloudbees-core/latest/kubernetes-install-guide/installing-kubernetes-using-helm) using the local copy of the chart: and [install via Helm 3](https://docs.cloudbees.com/docs/cloudbees-core/latest/kubernetes-install-guide/installing-kubernetes-using-helm) using the local copy of the chart:
......
{ {
"resources": [ "resources": [
{ {
"url": "https://downloads.cloudbees.com/dsop-files/core-oc-files-de64bf3a7e6d55e0c13bcf7ddbc72ef820c76548e6d18b4c1d990215e4773698.tar", "url": "https://downloads.cloudbees.com/dsop-files/core-oc-files-185ba37cfbe5145a632eb4b91e6ba257cfa3172a30452a9ff6c96205e9cab451.tar",
"filename": "files.tar", "filename": "files.tar",
"validation": { "validation": {
"type": "sha256", "type": "sha256",
"value": "de64bf3a7e6d55e0c13bcf7ddbc72ef820c76548e6d18b4c1d990215e4773698" "value": "185ba37cfbe5145a632eb4b91e6ba257cfa3172a30452a9ff6c96205e9cab451"
} }
} }
] ]
......
apiVersion: v1 apiVersion: v1
appVersion: 2.249.2.3 appVersion: 2.249.3.1
description: The Continuous Delivery Solution for Enterprises description: Enterprise Continuous Integration with Jenkins
engine: gotpl engine: gotpl
home: https://www.cloudbees.com/products/continuous-integration home: https://www.cloudbees.com/products/continuous-integration
icon: https://images.ctfassets.net/vtn4rfaw6n2j/7xprMMXARXDBuVxW4y8XfV/349fff91035050e3f2a8ff37bc0615b5/cloudbees-core-logo_header.svg icon: https://images.ctfassets.net/vtn4rfaw6n2j/7xprMMXARXDBuVxW4y8XfV/349fff91035050e3f2a8ff37bc0615b5/cloudbees-core-logo_header.svg
...@@ -8,4 +8,4 @@ keywords: ...@@ -8,4 +8,4 @@ keywords:
- cloudbees - cloudbees
- jenkins - jenkins
name: cloudbees-core name: cloudbees-core
version: 3.22.0-DEVELOPMENT version: 3.23.0-DEVELOPMENT
# cloudbees-core # cloudbees-core
![Version: 3.22.0](https://img.shields.io/badge/Version-3.22.0-informational?style=flat-square) ![AppVersion: 2.249.2.3](https://img.shields.io/badge/AppVersion-2.249.2.3-informational?style=flat-square) ![Version: 3.23.0](https://img.shields.io/badge/Version-3.23.0-informational?style=flat-square) ![AppVersion: 2.249.3.1](https://img.shields.io/badge/AppVersion-2.249.3.1-informational?style=flat-square)
[CloudBees Core](https://www.cloudbees.com/products/cloudbees-core) is the continuous delivery platform architected for the enterprise. It provides: [CloudBees CI](https://www.cloudbees.com/products/continuous-integration) is the continuous integration platform architected for the enterprise. It provides:
* DevOps at scale * DevOps at scale
* Resilience and high availability * Resilience and high availability
...@@ -18,17 +18,17 @@ $ helm install cloudbees/cloudbees-core --name <release name> ...@@ -18,17 +18,17 @@ $ helm install cloudbees/cloudbees-core --name <release name>
## Introduction ## Introduction
This chart bootstraps a CloudBees Core deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. This chart bootstraps a CloudBees CI deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
## Prerequisites ## Prerequisites
- Kubernetes 1.10 or higher - Kubernetes 1.14 or higher
- Helm 2.12 or higher - Helm 3.0.2 or higher
## Requirements ## Requirements
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://charts.cloudbees.com/public/cloudbees | cloudbees-sidecar-injector | 2.0.7 | | https://charts.cloudbees.com/public/cloudbees | cloudbees-sidecar-injector | 2.1.0 |
| https://kubernetes-charts.storage.googleapis.com/ | nginx-ingress | 1.40.2 | | https://kubernetes-charts.storage.googleapis.com/ | nginx-ingress | 1.40.2 |
| https://kubernetes.github.io/ingress-nginx | ingress-nginx | 2.15.0 | | https://kubernetes.github.io/ingress-nginx | ingress-nginx | 2.15.0 |
...@@ -44,18 +44,18 @@ $ helm install cloudbees/cloudbees-core \ ...@@ -44,18 +44,18 @@ $ helm install cloudbees/cloudbees-core \
--set OperationsCenter.HostName='cloudbees-core.example.com' --set OperationsCenter.HostName='cloudbees-core.example.com'
``` ```
The command deploys CloudBees Core on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. The command deploys CloudBees CI on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
### Ingress Controller Installation ### Ingress Controller Installation
The chart is designed, so it can install an nginx-ingress controller. The chart is designed, so it can install an ingress-nginx controller.
The `nginx.ingress.Enabled` field controls ingress controller installation and setup. The `"ingress-nginx".Enabled` field controls ingress controller installation and setup.
To install the chart with the release name `cloudbees-core` and hostname cloudbees-core.example.com. To install the chart with the release name `cloudbees-core` and hostname cloudbees-core.example.com.
```console ```console
$ helm install cloudbees/cloudbees-core \ $ helm install cloudbees/cloudbees-core \
--name cloudbees-core \ --name cloudbees-core \
--set nginx.ingress.Enabled=true --set "ingress-nginx".Enabled=true
``` ```
## Uninstalling the Chart ## Uninstalling the Chart
...@@ -65,10 +65,10 @@ To uninstall/delete the `cloudbees-core` deployment: ...@@ -65,10 +65,10 @@ To uninstall/delete the `cloudbees-core` deployment:
```console ```console
$ helm delete cloudbees-core $ helm delete cloudbees-core
``` ```
> **NOTE**: The current version of the CloudBees Core Helm Chart only manages the Operation Center. > **NOTE**: The current version of the CloudBees CI Helm Chart only manages the Operation Center.
Users should manage Managed Master using Operation Center. Users should manage Managed Master using Operation Center.
The `helm delete` command stops the CloudBees Core deployment than removes the OperationsCenter Center. The `helm delete` command stops the CloudBees CI deployment than removes the OperationsCenter Center.
The release is still stored in the Helm database, but it will now have the status deleted. The release is still stored in the Helm database, but it will now have the status deleted.
If you wish to completely remove the release, use the following variation of the `helm delete` command. If you wish to completely remove the release, use the following variation of the `helm delete` command.
...@@ -76,8 +76,8 @@ If you wish to completely remove the release, use the following variation of the ...@@ -76,8 +76,8 @@ If you wish to completely remove the release, use the following variation of the
$ helm delete cloudbees-core --purge $ helm delete cloudbees-core --purge
``` ```
> **IMPORTANT**: The `helm delete` command does NOT remove the persistent volume claims as precaution against data losss. > **IMPORTANT**: The `helm delete` command does NOT remove the persistent volume claims as precaution against data loss.
You will need to use the `kubectl delete pvc` command to delete the persistent volumn claims. You will need to use the `kubectl delete pvc` command to delete the persistent volume claims.
The command removes all the Kubernetes components associated with the chart and deletes the release. The command removes all the Kubernetes components associated with the chart and deletes the release.
...@@ -101,14 +101,14 @@ To use an environment property value file with Helm, use the -f option as shown ...@@ -101,14 +101,14 @@ To use an environment property value file with Helm, use the -f option as shown
You can download the latest version of the `example-values.yaml` file from CloudBees Examples GitHub repository at https://github.com/cloudbees/cloudbees-examples/tree/master/helm-custom-value-file-examples. You can download the latest version of the `example-values.yaml` file from CloudBees Examples GitHub repository at https://github.com/cloudbees/cloudbees-examples/tree/master/helm-custom-value-file-examples.
## Additional Documentation ## Additional Documentation
CloudBees provides complete and more detail installation and operation documentation on the CloudBees web site at https://go.cloudbees.com/docs/cloudbees-core/cloud-install-guide/kubernetes-helm-install/ CloudBees provides complete and more detailed installation and operation documentation on the CloudBees web site at https://docs.cloudbees.com/docs/cloudbees-ci/latest/kubernetes-install-guide/
## Values ## Values
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| Agents.Enabled | bool | `true` | Enable to create agent resources (service account, role) | | Agents.Enabled | bool | `true` | Enable to create agent resources (service account, role) |
| Agents.Image.dockerImage | string | `"063356183961.dkr.ecr.us-east-1.amazonaws.com/ubi/unified-distribution/agent:2.249.2.3"` | Used to override the default docker image used for agents | | Agents.Image.dockerImage | string | `"063356183961.dkr.ecr.us-east-1.amazonaws.com/ubi/unified-distribution/agent:2.249.3.1"` | Used to override the default docker image used for agents |
| Agents.SeparateNamespace.Create | bool | `false` | If true, the second namespace will be created when installing this chart. Otherwise, the existing namespace should be labeled with `cloudbees.com/role: agents` in order for network policies to work. | | Agents.SeparateNamespace.Create | bool | `false` | If true, the second namespace will be created when installing this chart. Otherwise, the existing namespace should be labeled with `cloudbees.com/role: agents` in order for network policies to work. |
| Agents.SeparateNamespace.Enabled | bool | `false` | If enabled, agents resources will be created in a separate namespace as well as bindings allowing masters to schedule them. | | Agents.SeparateNamespace.Enabled | bool | `false` | If enabled, agents resources will be created in a separate namespace as well as bindings allowing masters to schedule them. |
| Agents.SeparateNamespace.Name | string | `nil` | Namespace where to create agents resources. Defaults to `${namespace}-builds` where `${namespace}` is the namespace where the chart is installed. | | Agents.SeparateNamespace.Name | string | `nil` | Namespace where to create agents resources. Defaults to `${namespace}-builds` where `${namespace}` is the namespace where the chart is installed. |
...@@ -116,7 +116,7 @@ CloudBees provides complete and more detail installation and operation documenta ...@@ -116,7 +116,7 @@ CloudBees provides complete and more detail installation and operation documenta
| Hibernation.Image.dockerImage | string | `"cloudbees/managed-master-hibernation-monitor:230.ee066a318539"` | Used to override the default docker image | | Hibernation.Image.dockerImage | string | `"cloudbees/managed-master-hibernation-monitor:230.ee066a318539"` | Used to override the default docker image |
| Hibernation.Image.dockerPullPolicy | string | `"IfNotPresent"` | Used to override the default pull policy | | Hibernation.Image.dockerPullPolicy | string | `"IfNotPresent"` | Used to override the default pull policy |
| Master.Enabled | bool | `true` | Whether to create the resources required to schedule masters. | | Master.Enabled | bool | `true` | Whether to create the resources required to schedule masters. |
| Master.Image.dockerImage | string | `"063356183961.dkr.ecr.us-east-1.amazonaws.com/ubi/unified-distribution/core-mm:2.249.2.3"` | Used to override the default docker image | | Master.Image.dockerImage | string | `"063356183961.dkr.ecr.us-east-1.amazonaws.com/ubi/unified-distribution/core-mm:2.249.3.1"` | Used to override the default docker image |
| Master.JavaOpts | string | `nil` | Additional Java options to pass to managed masters. For example, setting up a JMX port | | Master.JavaOpts | string | `nil` | Additional Java options to pass to managed masters. For example, setting up a JMX port |
| Master.OperationsCenterNamespace | string | `nil` | When deploying Master resources, this grants an Operations Center deployed in another namespace the right to deploy masters | | Master.OperationsCenterNamespace | string | `nil` | When deploying Master resources, this grants an Operations Center deployed in another namespace the right to deploy masters |
| NetworkPolicy.Enabled | bool | `false` | Enable only if the cluster supports it. Read the [documentation](https://kubernetes.io/docs/concepts/services-networking/network-policies/) to understand what this is about. | | NetworkPolicy.Enabled | bool | `false` | Enable only if the cluster supports it. Read the [documentation](https://kubernetes.io/docs/concepts/services-networking/network-policies/) to understand what this is about. |
...@@ -131,7 +131,7 @@ CloudBees provides complete and more detail installation and operation documenta ...@@ -131,7 +131,7 @@ CloudBees provides complete and more detail installation and operation documenta
| OperationsCenter.HealthProbeLivenessFailureThreshold | int | `12` | Threshold for liveness failure | | OperationsCenter.HealthProbeLivenessFailureThreshold | int | `12` | Threshold for liveness failure |
| OperationsCenter.HealthProbes | bool | `true` | Enable Kubernetes Liveness and Readiness Probes | | OperationsCenter.HealthProbes | bool | `true` | Enable Kubernetes Liveness and Readiness Probes |
| OperationsCenter.HostName | string | `nil` | The hostname used to access Operations Center through the ingress controller. | | OperationsCenter.HostName | string | `nil` | The hostname used to access Operations Center through the ingress controller. |
| OperationsCenter.Image.dockerImage | string | `"063356183961.dkr.ecr.us-east-1.amazonaws.com/ubi/unified-distribution/core-oc:2.249.2.3"` | Container image to use for Operations Center | | OperationsCenter.Image.dockerImage | string | `"063356183961.dkr.ecr.us-east-1.amazonaws.com/ubi/unified-distribution/core-oc:2.249.3.1"` | Container image to use for Operations Center |
| OperationsCenter.Image.dockerPullPolicy | string | `"Always"` | https://kubernetes.io/docs/concepts/containers/images/#updating-images | | OperationsCenter.Image.dockerPullPolicy | string | `"Always"` | https://kubernetes.io/docs/concepts/containers/images/#updating-images |
| OperationsCenter.ImagePullSecrets | string | `nil` | The name of the image pull secret to pull private docker images | | OperationsCenter.ImagePullSecrets | string | `nil` | The name of the image pull secret to pull private docker images |
| OperationsCenter.Ingress.Annotations | object | `{"kubernetes.io/tls-acme":"false"}` | annotations to put on Ingress object | | OperationsCenter.Ingress.Annotations | object | `{"kubernetes.io/tls-acme":"false"}` | annotations to put on Ingress object |
...@@ -159,8 +159,6 @@ CloudBees provides complete and more detail installation and operation documenta ...@@ -159,8 +159,6 @@ CloudBees provides complete and more detail installation and operation documenta
| Persistence.Annotations | object | `{}` | Annotations to put on the PVC | | Persistence.Annotations | object | `{}` | Annotations to put on the PVC |
| Persistence.Size | string | `"20Gi"` | Size of the Operations Center volume | | Persistence.Size | string | `"20Gi"` | Size of the Operations Center volume |
| Persistence.StorageClass | string | `nil` | Persistent Volume Storage Class for Jenkins Home If defined, storageClassName: <storageClass>. If set to "-", storageClassName: "", which disables dynamic provisioning. If undefined (the default) or set to null, the default storage class will be used, unless specified otherwise below. If setting OperationsCenter.Platform == gke, a storage class backed with SSD drives will be created by this chart and used automatically. | | Persistence.StorageClass | string | `nil` | Persistent Volume Storage Class for Jenkins Home If defined, storageClassName: <storageClass>. If set to "-", storageClassName: "", which disables dynamic provisioning. If undefined (the default) or set to null, the default storage class will be used, unless specified otherwise below. If setting OperationsCenter.Platform == gke, a storage class backed with SSD drives will be created by this chart and used automatically. |
| Persistence.mounts | list | `[]` | Additional volume mounts to attach to Operations Center container |
| Persistence.volumes | list | `[]` | Additional volumes to attach to Operations Center pod |
| PodSecurityPolicy.Annotations | object | `{}` | Additional annotations to put on the PodSecurityPolicy, e.g. AppArmor/Seccomp settings | | PodSecurityPolicy.Annotations | object | `{}` | Additional annotations to put on the PodSecurityPolicy, e.g. AppArmor/Seccomp settings |
| PodSecurityPolicy.Enabled | bool | `false` | Enables [Pod Security Policies](https://kubernetes.io/docs/concepts/policy/pod-security-policy/) support Enable only if the cluster supports it. | | PodSecurityPolicy.Enabled | bool | `false` | Enables [Pod Security Policies](https://kubernetes.io/docs/concepts/policy/pod-security-policy/) support Enable only if the cluster supports it. |
| ingress-nginx.Enabled | bool | `false` | Installs the [ingress-nginx](https://github.com/kubernetes/ingress-nginx/tree/master/charts/ingress-nginx) controller (optional). Enable this section if you don't have an existing installation of ingress-nginx controller Note: use `beta.kubernetes.io/os` when deploying on Kubernetes versions below 1.16 | | ingress-nginx.Enabled | bool | `false` | Installs the [ingress-nginx](https://github.com/kubernetes/ingress-nginx/tree/master/charts/ingress-nginx) controller (optional). Enable this section if you don't have an existing installation of ingress-nginx controller Note: use `beta.kubernetes.io/os` when deploying on Kubernetes versions below 1.16 |
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} {{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
[CloudBees Core](https://www.cloudbees.com/products/cloudbees-core) is the continuous delivery platform architected for the enterprise. It provides: [CloudBees CI](https://www.cloudbees.com/products/continuous-integration) is the continuous integration platform architected for the enterprise. It provides:
* DevOps at scale * DevOps at scale
* Resilience and high availability * Resilience and high availability
...@@ -18,11 +18,11 @@ $ helm install cloudbees/cloudbees-core --name <release name> ...@@ -18,11 +18,11 @@ $ helm install cloudbees/cloudbees-core --name <release name>
## Introduction ## Introduction
This chart bootstraps a CloudBees Core deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. This chart bootstraps a CloudBees CI deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
## Prerequisites ## Prerequisites
- Kubernetes 1.10 or higher - Kubernetes 1.14 or higher
- Helm 2.12 or higher - Helm 3.0.2 or higher
{{ template "chart.requirementsSection" . }} {{ template "chart.requirementsSection" . }}
...@@ -38,18 +38,18 @@ $ helm install cloudbees/cloudbees-core \ ...@@ -38,18 +38,18 @@ $ helm install cloudbees/cloudbees-core \
--set OperationsCenter.HostName='cloudbees-core.example.com' --set OperationsCenter.HostName='cloudbees-core.example.com'
``` ```
The command deploys CloudBees Core on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. The command deploys CloudBees CI on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
### Ingress Controller Installation ### Ingress Controller Installation
The chart is designed, so it can install an nginx-ingress controller. The chart is designed, so it can install an ingress-nginx controller.
The `nginx.ingress.Enabled` field controls ingress controller installation and setup. The `"ingress-nginx".Enabled` field controls ingress controller installation and setup.
To install the chart with the release name `cloudbees-core` and hostname cloudbees-core.example.com. To install the chart with the release name `cloudbees-core` and hostname cloudbees-core.example.com.
```console ```console
$ helm install cloudbees/cloudbees-core \ $ helm install cloudbees/cloudbees-core \
--name cloudbees-core \ --name cloudbees-core \
--set nginx.ingress.Enabled=true --set "ingress-nginx".Enabled=true
``` ```
## Uninstalling the Chart ## Uninstalling the Chart
...@@ -59,10 +59,10 @@ To uninstall/delete the `cloudbees-core` deployment: ...@@ -59,10 +59,10 @@ To uninstall/delete the `cloudbees-core` deployment:
```console ```console
$ helm delete cloudbees-core $ helm delete cloudbees-core
``` ```
> **NOTE**: The current version of the CloudBees Core Helm Chart only manages the Operation Center. > **NOTE**: The current version of the CloudBees CI Helm Chart only manages the Operation Center.
Users should manage Managed Master using Operation Center. Users should manage Managed Master using Operation Center.
The `helm delete` command stops the CloudBees Core deployment than removes the OperationsCenter Center. The `helm delete` command stops the CloudBees CI deployment than removes the OperationsCenter Center.
The release is still stored in the Helm database, but it will now have the status deleted. The release is still stored in the Helm database, but it will now have the status deleted.
If you wish to completely remove the release, use the following variation of the `helm delete` command. If you wish to completely remove the release, use the following variation of the `helm delete` command.
...@@ -70,8 +70,8 @@ If you wish to completely remove the release, use the following variation of the ...@@ -70,8 +70,8 @@ If you wish to completely remove the release, use the following variation of the
$ helm delete cloudbees-core --purge $ helm delete cloudbees-core --purge
``` ```
> **IMPORTANT**: The `helm delete` command does NOT remove the persistent volume claims as precaution against data losss. > **IMPORTANT**: The `helm delete` command does NOT remove the persistent volume claims as precaution against data loss.
You will need to use the `kubectl delete pvc` command to delete the persistent volumn claims. You will need to use the `kubectl delete pvc` command to delete the persistent volume claims.
The command removes all the Kubernetes components associated with the chart and deletes the release. The command removes all the Kubernetes components associated with the chart and deletes the release.
...@@ -96,6 +96,6 @@ To use an environment property value file with Helm, use the -f option as shown ...@@ -96,6 +96,6 @@ To use an environment property value file with Helm, use the -f option as shown
You can download the latest version of the `example-values.yaml` file from CloudBees Examples GitHub repository at https://github.com/cloudbees/cloudbees-examples/tree/master/helm-custom-value-file-examples. You can download the latest version of the `example-values.yaml` file from CloudBees Examples GitHub repository at https://github.com/cloudbees/cloudbees-examples/tree/master/helm-custom-value-file-examples.
## Additional Documentation ## Additional Documentation
CloudBees provides complete and more detail installation and operation documentation on the CloudBees web site at https://go.cloudbees.com/docs/cloudbees-core/cloud-install-guide/kubernetes-helm-install/ CloudBees provides complete and more detailed installation and operation documentation on the CloudBees web site at https://docs.cloudbees.com/docs/cloudbees-ci/latest/kubernetes-install-guide/
{{ template "chart.valuesSection" . }} {{ template "chart.valuesSection" . }}
...@@ -7,6 +7,6 @@ dependencies: ...@@ -7,6 +7,6 @@ dependencies:
version: 2.15.0 version: 2.15.0
- name: cloudbees-sidecar-injector - name: cloudbees-sidecar-injector
repository: https://charts.cloudbees.com/public/cloudbees repository: https://charts.cloudbees.com/public/cloudbees
version: 2.0.7 version: 2.1.0
digest: sha256:10f7e8c53d0a6f910f4dbe0fd253fbefd288fb5fc24365635968e99b3bc75dbf digest: sha256:9e5e49c0f4e06500b06a529b2dcd0ded06bed93a20427287539a1f267f5c45a0
generated: "2020-10-07T14:35:15.239221954Z" generated: "2020-11-04T11:46:50.730617819Z"
...@@ -8,6 +8,6 @@ dependencies: ...@@ -8,6 +8,6 @@ dependencies:
repository: https://kubernetes.github.io/ingress-nginx repository: https://kubernetes.github.io/ingress-nginx
condition: ingress-nginx.Enabled condition: ingress-nginx.Enabled
- name: cloudbees-sidecar-injector - name: cloudbees-sidecar-injector
version: 2.0.7 version: 2.1.0
repository: https://charts.cloudbees.com/public/cloudbees repository: https://charts.cloudbees.com/public/cloudbees
condition: sidecarinjector.Enabled condition: sidecarinjector.Enabled
...@@ -133,6 +133,14 @@ Expected Operations Center URL. Always ends with a trailing slash. ...@@ -133,6 +133,14 @@ Expected Operations Center URL. Always ends with a trailing slash.
{{- template "oc.protocol" . -}}://{{ include "oc.hostname" . }}{{ include "oc.contextpath" . }}/ {{- template "oc.protocol" . -}}://{{ include "oc.hostname" . }}{{ include "oc.contextpath" . }}/
{{- end -}} {{- end -}}
{{- define "ingress.apiGroup" -}}
{{- if ge (atoi (.Capabilities.KubeVersion.Minor)) 15 -}}
networking.k8s.io
{{- else -}}
extensions
{{- end -}}
{{- end -}}
{{- define "ingress.apiVersion" -}} {{- define "ingress.apiVersion" -}}
{{- if ge (atoi (.Capabilities.KubeVersion.Minor)) 15 -}} {{- if ge (atoi (.Capabilities.KubeVersion.Minor)) 15 -}}
networking.k8s.io/v1beta1 networking.k8s.io/v1beta1
......
...@@ -99,7 +99,9 @@ rules: ...@@ -99,7 +99,9 @@ rules:
- create - create
{{- else}} {{- else}}
- apiGroups: - apiGroups:
# - {{ include "ingress.apiGroup" . }} TODO once we get https://github.com/cloudbees/cloud-platform-master-provisioning-plugin/pull/325 in.
- extensions - extensions
- networking.k8s.io
resources: resources:
- ingresses - ingresses
verbs: verbs:
......
...@@ -148,7 +148,7 @@ spec: ...@@ -148,7 +148,7 @@ spec:
{{- if .Values.OperationsCenter.JavaOpts }} {{- if .Values.OperationsCenter.JavaOpts }}
{{ .Values.OperationsCenter.JavaOpts }} {{ .Values.OperationsCenter.JavaOpts }}
{{- end }} {{- end }}
{{- if .Values.OperationsCenter.CSRF.ProxyCompatibility -}} {{- if .Values.OperationsCenter.CSRF.ProxyCompatibility }}
-Djenkins.model.Jenkins.crumbIssuerProxyCompatibility=true -Djenkins.model.Jenkins.crumbIssuerProxyCompatibility=true
{{- end }} {{- end }}
-XX:+UseG1GC -XX:+UseG1GC
...@@ -170,15 +170,14 @@ spec: ...@@ -170,15 +170,14 @@ spec:
cpu: "{{ .Values.OperationsCenter.Resources.Requests.Cpu }}" cpu: "{{ .Values.OperationsCenter.Resources.Requests.Cpu }}"
memory: "{{ .Values.OperationsCenter.Resources.Requests.Memory }}" memory: "{{ .Values.OperationsCenter.Resources.Requests.Memory }}"
volumeMounts: volumeMounts:
{{- if .Values.Persistence.mounts }}
{{ toYaml .Values.Persistence.mounts | indent 12 }}
{{- end }}
- name: jenkins-home - name: jenkins-home
mountPath: /var/jenkins_home mountPath: /var/jenkins_home
readOnly: false readOnly: false
- name: jenkins-configure-jenkins-groovy - name: jenkins-configure-jenkins-groovy
mountPath: /var/jenkins_config/configure-jenkins.groovy.d mountPath: /var/jenkins_config/configure-jenkins.groovy.d
readOnly: true readOnly: true
- name: tmp
mountPath: /tmp
{{- if .Values.OperationsCenter.ExtraVolumeMounts }} {{- if .Values.OperationsCenter.ExtraVolumeMounts }}
{{toYaml .Values.OperationsCenter.ExtraVolumeMounts | indent 8}} {{toYaml .Values.OperationsCenter.ExtraVolumeMounts | indent 8}}
{{- end }} {{- end }}
...@@ -202,12 +201,11 @@ spec: ...@@ -202,12 +201,11 @@ spec:
{{toYaml .Values.OperationsCenter.ExtraContainers | indent 6}} {{toYaml .Values.OperationsCenter.ExtraContainers | indent 6}}
{{- end }} {{- end }}
volumes: volumes:
{{- if .Values.Persistence.volumes }}
{{ toYaml .Values.Persistence.volumes | indent 6 }}
{{- end }}
- name: jenkins-configure-jenkins-groovy - name: jenkins-configure-jenkins-groovy
configMap: configMap:
name: cjoc-configure-jenkins-groovy name: cjoc-configure-jenkins-groovy
- name: tmp
emptyDir: {}
{{- if .Values.OperationsCenter.ExtraVolumes }} {{- if .Values.OperationsCenter.ExtraVolumes }}
{{toYaml .Values.OperationsCenter.ExtraVolumes | indent 6}} {{toYaml .Values.OperationsCenter.ExtraVolumes | indent 6}}
{{- end }} {{- end }}
......
...@@ -50,7 +50,7 @@ OperationsCenter: ...@@ -50,7 +50,7 @@ OperationsCenter:
# Operations Center docker image # Operations Center docker image
Image: Image:
# OperationsCenter.Image.dockerImage -- Container image to use for Operations Center # OperationsCenter.Image.dockerImage -- Container image to use for Operations Center
dockerImage: dcar/core-oc:2.249.2.3 dockerImage: dcar/core-oc:2.249.3.1
# OperationsCenter.Image.dockerPullPolicy -- https://kubernetes.io/docs/concepts/containers/images/#updating-images # OperationsCenter.Image.dockerPullPolicy -- https://kubernetes.io/docs/concepts/containers/images/#updating-images
dockerPullPolicy: IfNotPresent dockerPullPolicy: IfNotPresent
...@@ -241,7 +241,7 @@ Master: ...@@ -241,7 +241,7 @@ Master:
# Docker image inserted in Operations Center automatically # Docker image inserted in Operations Center automatically
Image: Image:
# Master.Image.dockerImage -- Used to override the default docker image # Master.Image.dockerImage -- Used to override the default docker image
dockerImage: dcar/core-mm:2.249.2.3 dockerImage: dcar/core-mm:2.249.3.1
# Master.JavaOpts -- Additional Java options to pass to managed masters. For example, setting up a JMX port # Master.JavaOpts -- Additional Java options to pass to managed masters. For example, setting up a JMX port
JavaOpts: null JavaOpts: null
...@@ -258,7 +258,7 @@ Agents: ...@@ -258,7 +258,7 @@ Agents:
Create: false Create: false
Image: Image:
# Agents.Image.dockerImage -- Used to override the default docker image used for agents # Agents.Image.dockerImage -- Used to override the default docker image used for agents
dockerImage: dcar/agent:2.249.2.3 dockerImage: dcar/agent:2.249.3.1
Persistence: Persistence:
# Persistence.StorageClass -- Persistent Volume Storage Class for Jenkins Home # Persistence.StorageClass -- Persistent Volume Storage Class for Jenkins Home
...@@ -283,16 +283,6 @@ Persistence: ...@@ -283,16 +283,6 @@ Persistence:
# Persistence.Size -- Size of the Operations Center volume # Persistence.Size -- Size of the Operations Center volume
Size: 20Gi Size: 20Gi
# Persistence.volumes -- Additional volumes to attach to Operations Center pod
volumes: []
# - name: nothing
# emptyDir: {}
# Persistence.mounts -- Additional volume mounts to attach to Operations Center container
mounts: []
# - mountPath: /var/nothing
# name: nothing
# readOnly: true
# Master hibernation # Master hibernation
Hibernation: Hibernation:
# Hibernation.Enabled -- Whether to enable the [Hibernation](https://docs.cloudbees.com/docs/cloudbees-ci/latest/cloud-admin-guide/managing-masters#_hibernation_of_managed_masters) feature # Hibernation.Enabled -- Whether to enable the [Hibernation](https://docs.cloudbees.com/docs/cloudbees-ci/latest/cloud-admin-guide/managing-masters#_hibernation_of_managed_masters) feature
......
...@@ -52,7 +52,7 @@ find /usr/share/jenkins/ref/ -type f -exec bash -c "copy_reference_file '{}'" \; ...@@ -52,7 +52,7 @@ find /usr/share/jenkins/ref/ -type f -exec bash -c "copy_reference_file '{}'" \;
# if `docker run` first argument start with `--` the user is passing jenkins launcher arguments # if `docker run` first argument start with `--` the user is passing jenkins launcher arguments
if [[ $# -lt 1 ]] || [[ "$1" == "--"* ]]; then if [[ $# -lt 1 ]] || [[ "$1" == "--"* ]]; then
eval "exec java ${JAVA_OPTS:-} -jar -Dcb.distributable.name=\"Docker Common CJE\" -Dcb.distributable.commit_sha=4c482ecc2d194d4868ade0a8cb5f773a3ab1c0d5 /usr/share/jenkins/jenkins.war $JENKINS_OPTS \"\$@\"" eval "exec java ${JAVA_OPTS:-} -jar -Dcb.distributable.name=\"Docker Common CJE\" -Dcb.distributable.commit_sha=35bd8640427b6d61f14c96f9f6e8aecbe4f3822e /usr/share/jenkins/jenkins.war $JENKINS_OPTS \"\$@\""
fi fi
# As argument is not jenkins, assume user want to run his own process, for sample a `bash` shell to explore this image # As argument is not jenkins, assume user want to run his own process, for sample a `bash` shell to explore this image
......
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