UNCLASSIFIED

Commit fc56badb authored by Andy Maksymowicz's avatar Andy Maksymowicz
Browse files

Merge branch '2.263.2.4-ra' into 'development'

2.263.2.4-ra

See merge request !43
parents 391643e7 a968b6d2
Pipeline #155353 passed with stages
in 21 minutes and 45 seconds
...@@ -42,11 +42,11 @@ HEALTHCHECK --interval=5m --timeout=3s \ ...@@ -42,11 +42,11 @@ 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=3011be3b5ab0e30ea7af04d1194f4d007a795ef5 # LABEL release=69f7102311718b7e0fbed31edb877f1352ca5cf1
# LABEL version=2.263.1.2 # LABEL version=2.263.2.4-ra
ARG TARBALL=files.tar COPY files.tar /tmp
ADD ${TARBALL} / RUN cd / && tar xvf /tmp/files.tar && rm /tmp/files.tar
COPY scripts/ / COPY scripts/ /
RUN chmod +x /usr/local/bin/*.sh && \ RUN chmod +x /usr/local/bin/*.sh && \
......
...@@ -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.263.1.2` A version of CloudBees CI is given in the format `2.263.2.4-ra`
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.263.1.2 dockerImage: your-registry/core-oc:2.263.2.4-ra
Master: Master:
Image: Image:
dockerImage: your-registry/core-mm:2.263.1.2 dockerImage: your-registry/core-mm:2.263.2.4-ra
Agents: Agents:
Image: Image:
dockerImage: your-registry/agent:2.263.1.2 dockerImage: your-registry/agent:2.263.2.4-ra
``` ```
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:
......
apiVersion: v1 apiVersion: v1
name: cloudbees/core/core-oc name: cloudbees/core/core-oc
tags: tags:
- "2.263.1.2" - "2.263.2.4-ra"
- latest - latest
labels: labels:
org.opencontainers.image.title: core-oc org.opencontainers.image.title: "core-oc"
org.opencontainers.image.description: "CloudBees CI (core-oc subcomponent)" org.opencontainers.image.description: "CloudBees CI (core-oc subcomponent)"
org.opencontainers.image.licenses: proprietary org.opencontainers.image.licenses: proprietary
org.opencontainers.image.url: https://docs.cloudbees.com/docs/cloudbees-ci/ org.opencontainers.image.url: https://docs.cloudbees.com/docs/cloudbees-ci/
org.opencontainers.image.vendor: CloudBees org.opencontainers.image.vendor: CloudBees
org.opencontainers.image.version: "2.263.1.2" org.opencontainers.image.version: "2.263.2.4-ra"
mil.dso.ironbank.image.keywords: cicd mil.dso.ironbank.image.keywords: cicd
mil.dso.ironbank.image.type: commercial mil.dso.ironbank.image.type: commercial
mil.dso.ironbank.product.name: CloudBees CI mil.dso.ironbank.product.name: CloudBees CI
args:
BASE_IMAGE: "redhat/openjdk/openjdk8-devel"
BASE_TAG: "1.8.0"
resources: resources:
- filename: files.tar - filename: files.tar
url: https://downloads.cloudbees.com/dsop-files/core-oc-files-bde4ca940874c9026da7b3cd2ee0e27cd4eccee9ff71e272608c1404882cb231.tar url: https://downloads.cloudbees.com/dsop-files/core-oc-files-fdaeb7127afa7670743296125be0d1782e152c6ec14bca5e62ec69ef5d667901.tar
validation: validation:
type: sha256 type: sha256
value: bde4ca940874c9026da7b3cd2ee0e27cd4eccee9ff71e272608c1404882cb231 value: "fdaeb7127afa7670743296125be0d1782e152c6ec14bca5e62ec69ef5d667901"
maintainers: maintainers:
- email: productivity-team@cloudbees.com - email: productivity-team@cloudbees.com
- email: andre.maksymowicz@centauricorp.com
name: cloudbees-core name: cloudbees-core
home: https://www.cloudbees.com/products/continuous-integration home: https://www.cloudbees.com/products/continuous-integration
apiVersion: v1 apiVersion: v1
appVersion: 2.263.1.2 appVersion: 2.263.2.3
version: 3.24.1 version: 3.25.3
kubeVersion: ^1.14.0-0
description: Enterprise Continuous Integration with Jenkins description: Enterprise Continuous Integration with Jenkins
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
keywords: keywords:
......
# cloudbees-core # cloudbees-core
![Version: 3.24.1](https://img.shields.io/badge/Version-3.24.1-informational?style=flat-square) ![AppVersion: 2.263.1.2](https://img.shields.io/badge/AppVersion-2.263.1.2-informational?style=flat-square) ![Version: 3.25.3](https://img.shields.io/badge/Version-3.25.3-informational?style=flat-square) ![AppVersion: 2.263.2.3](https://img.shields.io/badge/AppVersion-2.263.2.3-informational?style=flat-square)
[CloudBees CI](https://www.cloudbees.com/products/continuous-integration) is the continuous integration 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:
...@@ -26,8 +26,6 @@ This chart bootstraps a CloudBees CI deployment on a [Kubernetes](http://kuberne ...@@ -26,8 +26,6 @@ This chart bootstraps a CloudBees CI deployment on a [Kubernetes](http://kuberne
## Requirements ## Requirements
Kubernetes: `^1.14.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://charts.cloudbees.com/public/cloudbees | cloudbees-sidecar-injector | 2.1.0 | | https://charts.cloudbees.com/public/cloudbees | cloudbees-sidecar-injector | 2.1.0 |
...@@ -119,6 +117,8 @@ CloudBees provides complete and more detailed installation and operation documen ...@@ -119,6 +117,8 @@ CloudBees provides complete and more detailed installation and operation documen
| 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 | `nil` | Used to override the default pull policy | | Hibernation.Image.dockerPullPolicy | string | `nil` | Used to override the default pull policy |
| Hibernation.ImagePullSecrets | string | `nil` | Name of image pull secret to pull private Docker images or an array of image pull secrets | | Hibernation.ImagePullSecrets | string | `nil` | Name of image pull secret to pull private Docker images or an array of image pull secrets |
| Hibernation.NodeSelector | object | `{}` | Node labels and tolerations for pod assignment ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector |
| Hibernation.Tolerations | list | `[]` | Specify tolerations for the Hibernation Monitor pod. See [documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
| 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 | `"@@IMAGE_PREFIX@@/core-mm:@@IMAGE_TAG@@"` | Used to override the default docker image | | Master.Image.dockerImage | string | `"@@IMAGE_PREFIX@@/core-mm:@@IMAGE_TAG@@"` | 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 |
......
# cloudbees-core # cloudbees-core
![Version: 3.24.1](https://img.shields.io/badge/Version-3.24.1-informational?style=flat-square) ![AppVersion: 2.263.1.2](https://img.shields.io/badge/AppVersion-2.263.1.2-informational?style=flat-square) ![Version: 3.25.3](https://img.shields.io/badge/Version-3.25.3-informational?style=flat-square) ![AppVersion: 2.263.2.3](https://img.shields.io/badge/AppVersion-2.263.2.3-informational?style=flat-square)
[CloudBees CI](https://www.cloudbees.com/products/continuous-integration) is the continuous integration 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:
...@@ -26,8 +26,6 @@ This chart bootstraps a CloudBees CI deployment on a [Kubernetes](http://kuberne ...@@ -26,8 +26,6 @@ This chart bootstraps a CloudBees CI deployment on a [Kubernetes](http://kuberne
## Requirements ## Requirements
Kubernetes: `^1.14.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://charts.cloudbees.com/public/cloudbees | cloudbees-sidecar-injector | 2.1.0 | | https://charts.cloudbees.com/public/cloudbees | cloudbees-sidecar-injector | 2.1.0 |
...@@ -119,6 +117,8 @@ CloudBees provides complete and more detailed installation and operation documen ...@@ -119,6 +117,8 @@ CloudBees provides complete and more detailed installation and operation documen
| 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 | `nil` | Used to override the default pull policy | | Hibernation.Image.dockerPullPolicy | string | `nil` | Used to override the default pull policy |
| Hibernation.ImagePullSecrets | string | `nil` | Name of image pull secret to pull private Docker images or an array of image pull secrets | | Hibernation.ImagePullSecrets | string | `nil` | Name of image pull secret to pull private Docker images or an array of image pull secrets |
| Hibernation.NodeSelector | object | `{}` | Node labels and tolerations for pod assignment ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector |
| Hibernation.Tolerations | list | `[]` | Specify tolerations for the Hibernation Monitor pod. See [documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
| 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 | `"test/core-mm:latest"` | Used to override the default docker image | | Master.Image.dockerImage | string | `"test/core-mm:latest"` | 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 |
......
...@@ -6,6 +6,13 @@ Expand the name of the chart. ...@@ -6,6 +6,13 @@ Expand the name of the chart.
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}} {{- end -}}
{{/*
Full name of the release
*/}}
{{- define "cloudbees-core.fullname" -}}
{{ printf "%s-%s" .Release.Name .Release.Namespace | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/* {{/*
Create chart name and version as used by the chart label. Create chart name and version as used by the chart label.
*/}} */}}
...@@ -133,6 +140,48 @@ Expected Operations Center URL. Always ends with a trailing slash. ...@@ -133,6 +140,48 @@ 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.annotations" -}}
{{ toYaml .Values.OperationsCenter.Ingress.Annotations }}
{{- if .Values.OperationsCenter.Ingress.Class }}
kubernetes.io/ingress.class: {{ .Values.OperationsCenter.Ingress.Class }}
{{- end }}
{{- if eq .Values.OperationsCenter.Platform "eks" }}
{{- if eq (include "oc.protocol" .) "https" }}
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}, {"HTTPS":443}]'
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
{{- end }}
{{- if not (eq (include "oc.contextpath" .) "") }}
alb.ingress.kubernetes.io/actions.root-redirect: '{"Type": "redirect", "RedirectConfig": { "Path":{{ include "ingress.root-redirect" . | quote }}, "StatusCode": "HTTP_301"}}'
{{- end }}
alb.ingress.kubernetes.io/group.name: {{ include "cloudbees-core.fullname" .}}
alb.ingress.kubernetes.io/target-type: ip
{{- end }}
{{- if not (include "cloudbees-core.is-openshift" .) }}
nginx.ingress.kubernetes.io/ssl-redirect: "{{- template "ingress.ssl_redirect" . }}"
{{- end }}
{{- end }}
{{- define "ingress.root-redirect" -}}
{{ include "oc.contextpath" . }}/teams-check/
{{- end }}
{{- define "ingress.redirect-rules" -}}
{{- if eq .Values.OperationsCenter.Platform "eks" }}
{{- if eq (include "oc.protocol" .) "https" }}
- path: /*
backend:
serviceName: ssl-redirect
servicePort: use-annotation
{{- end }}
{{- if not (eq (include "oc.contextpath" .) "") }}
- path: /
backend:
serviceName: root-redirect
servicePort: use-annotation
{{- end }}
{{- end }}
{{- end }}
{{- define "ingress.apiGroup" -}} {{- define "ingress.apiGroup" -}}
{{- if ge (atoi (.Capabilities.KubeVersion.Minor)) 15 -}} {{- if ge (atoi (.Capabilities.KubeVersion.Minor)) 15 -}}
networking.k8s.io networking.k8s.io
...@@ -413,6 +462,9 @@ status: ...@@ -413,6 +462,9 @@ status:
{{- end -}} {{- end -}}
{{- define "ingress.check" -}} {{- define "ingress.check" -}}
{{- if not (.Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress") }}
{{ fail "\n\nERROR: Kubernetes 1.14 or later is required to use Ingress in networking.k8s.io/v1beta1" }}
{{- end -}}
{{- if and (index .Values "nginx-ingress" "Enabled") (index .Values "ingress-nginx" "Enabled") -}} {{- if and (index .Values "nginx-ingress" "Enabled") (index .Values "ingress-nginx" "Enabled") -}}
{{ fail "\n\nERROR: Only one of nginx-ingress.Enabled or ingress-nginx.Enabled may be true" }} {{ fail "\n\nERROR: Only one of nginx-ingress.Enabled or ingress-nginx.Enabled may be true" }}
{{- end -}} {{- end -}}
......
...@@ -8,13 +8,9 @@ metadata: ...@@ -8,13 +8,9 @@ metadata:
labels: labels:
{{ include "cloudbees-core.labels" . | indent 4 }} {{ include "cloudbees-core.labels" . | indent 4 }}
annotations: annotations:
{{ toYaml .Values.OperationsCenter.Ingress.Annotations | indent 4 }} {{ include "ingress.annotations" . | indent 4 }}
{{ if .Values.OperationsCenter.Ingress.Class }}
kubernetes.io/ingress.class: {{ .Values.OperationsCenter.Ingress.Class }}
{{- end }}
{{- if not (include "cloudbees-core.is-openshift" .) }} {{- if not (include "cloudbees-core.is-openshift" .) }}
nginx.ingress.kubernetes.io/app-root: "{{ template "oc.contextpath" . }}/teams-check/" nginx.ingress.kubernetes.io/app-root: {{ include "ingress.root-redirect" . | quote }}
nginx.ingress.kubernetes.io/ssl-redirect: "{{- template "ingress.ssl_redirect" . }}"
# "413 Request Entity Too Large" uploading plugins, increase client_max_body_size # "413 Request Entity Too Large" uploading plugins, increase client_max_body_size
nginx.ingress.kubernetes.io/proxy-body-size: 50m nginx.ingress.kubernetes.io/proxy-body-size: 50m
nginx.ingress.kubernetes.io/proxy-request-buffering: "off" nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
...@@ -27,10 +23,15 @@ spec: ...@@ -27,10 +23,15 @@ spec:
{{- end }} {{- end }}
http: http:
paths: paths:
{{- include "ingress.redirect-rules" . | indent 6 }}
- path: {{ include "oc.contextpath" . }} - path: {{ include "oc.contextpath" . }}
backend: backend:
serviceName: cjoc serviceName: cjoc
servicePort: {{ .Values.OperationsCenter.ServicePort }} servicePort: {{ .Values.OperationsCenter.ServicePort }}
- path: {{ include "oc.contextpath" . }}/*
backend:
serviceName: cjoc
servicePort: {{ .Values.OperationsCenter.ServicePort }}
{{- if .Values.OperationsCenter.Ingress.tls.Enable }} {{- if .Values.OperationsCenter.Ingress.tls.Enable }}
tls: tls:
- hosts: - hosts:
......
...@@ -72,4 +72,12 @@ spec: ...@@ -72,4 +72,12 @@ spec:
memory: 250Mi memory: 250Mi
serviceAccountName: {{ .Values.rbac.hibernationMonitorServiceAccountName }} serviceAccountName: {{ .Values.rbac.hibernationMonitorServiceAccountName }}
enableServiceLinks: false enableServiceLinks: false
{{- if .Values.Hibernation.NodeSelector }}
nodeSelector:
{{ toYaml .Values.Hibernation.NodeSelector | indent 8 }}
{{- end }}
{{- if .Values.Hibernation.Tolerations }}
tolerations:
{{ toYaml .Values.Hibernation.Tolerations | indent 8 }}
{{- end }}
{{- end -}} {{- end -}}
...@@ -7,11 +7,7 @@ metadata: ...@@ -7,11 +7,7 @@ metadata:
labels: labels:
{{ include "cloudbees-core.labels" . | indent 4 }} {{ include "cloudbees-core.labels" . | indent 4 }}
annotations: annotations:
{{ toYaml .Values.OperationsCenter.Ingress.Annotations | indent 4 }} {{ include "ingress.annotations" . | indent 4 }}
{{ if .Values.OperationsCenter.Ingress.Class }}
kubernetes.io/ingress.class: {{ .Values.OperationsCenter.Ingress.Class }}
{{- end }}
nginx.ingress.kubernetes.io/ssl-redirect: "{{- template "ingress.ssl_redirect" . }}"
spec: spec:
rules: rules:
- -
...@@ -20,11 +16,19 @@ spec: ...@@ -20,11 +16,19 @@ spec:
{{- end }} {{- end }}
http: http:
paths: paths:
- path: /hibernation - path: /hibernation/ns/{{ .Release.Namespace }}/
backend:
serviceName: managed-master-hibernation-monitor
servicePort: 80
- path: /hibernation/ns/{{ .Release.Namespace }}/*
backend:
serviceName: managed-master-hibernation-monitor
servicePort: 80
- path: /hibernation/
backend: backend:
serviceName: managed-master-hibernation-monitor serviceName: managed-master-hibernation-monitor
servicePort: 80 servicePort: 80
- path: /hibernation/ns/{{ .Release.Namespace }} - path: /hibernation/*
backend: backend:
serviceName: managed-master-hibernation-monitor serviceName: managed-master-hibernation-monitor
servicePort: 80 servicePort: 80
......
...@@ -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.263.1.2 dockerImage: dcar/core-oc:2.263.2.4-ra
# 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: null dockerPullPolicy: null
...@@ -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.263.1.2 dockerImage: dcar/core-mm:2.263.2.4-ra
# 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.263.1.2 dockerImage: dcar/agent:2.263.2.4-ra
# Image pull secrets # Image pull secrets
# Enable this option when using a private registry. # Enable this option when using a private registry.
# https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-secret-by-providing-credentials-on-the-command-line # https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-secret-by-providing-credentials-on-the-command-line
...@@ -302,6 +302,12 @@ Hibernation: ...@@ -302,6 +302,12 @@ Hibernation:
# https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-secret-by-providing-credentials-on-the-command-line # https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-secret-by-providing-credentials-on-the-command-line
# Hibernation.ImagePullSecrets -- Name of image pull secret to pull private Docker images or an array of image pull secrets # Hibernation.ImagePullSecrets -- Name of image pull secret to pull private Docker images or an array of image pull secrets
ImagePullSecrets: null ImagePullSecrets: null
# Hibernation.NodeSelector -- Node labels and tolerations for pod assignment
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
NodeSelector: {}
# Hibernation.Tolerations -- Specify tolerations for the Hibernation Monitor pod.
# See [documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
Tolerations: []
PodSecurityPolicy: PodSecurityPolicy:
# Requires rbac.installCluster = true # Requires rbac.installCluster = true
......
...@@ -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=3011be3b5ab0e30ea7af04d1194f4d007a795ef5 /usr/share/jenkins/jenkins.war $JENKINS_OPTS \"\$@\"" eval "exec java ${JAVA_OPTS:-} -jar -Dcb.distributable.name=\"Docker Common CJE\" -Dcb.distributable.commit_sha=69f7102311718b7e0fbed31edb877f1352ca5cf1 /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