UNCLASSIFIED

Commit 09569f03 authored by Ildefonso Montero's avatar Ildefonso Montero
Browse files

2.277.1.5-ra

parent 62ea0f23
Pipeline #189473 failed with stages
in 16 seconds
{{- if .Values.Hibernation.Enabled -}}
{{- if include "cloudbees-core.needs-routes" . -}}
apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: managed-master-hibernation-monitor-namespaced
spec:
{{- if .Values.OperationsCenter.HostName }}
host: {{ .Values.OperationsCenter.HostName | quote }}
{{- end }}
path: /hibernation/ns/{{ .Release.Namespace }}
to:
kind: Service
name: managed-master-hibernation-monitor
weight: 100
port:
targetPort: http
wildcardPolicy: None
{{ include "openshift.tls" . | indent 2 }}
{{ include "chart.helmRouteFix" $ }}
{{- end -}}
{{- end -}}
{{- if .Values.OperationsCenter.Enabled -}}
{{- if .Values.Hibernation.Enabled -}} {{- if .Values.Hibernation.Enabled -}}
{{- if include "cloudbees-core.needs-routes" . -}} {{- if include "cloudbees-core.needs-routes" . -}}
apiVersion: route.openshift.io/v1 apiVersion: route.openshift.io/v1
...@@ -16,11 +17,8 @@ spec: ...@@ -16,11 +17,8 @@ spec:
port: port:
targetPort: http targetPort: http
wildcardPolicy: None wildcardPolicy: None
{{- if eq .Values.OperationsCenter.Route.tls.Enable true }} {{ include "openshift.tls" . | indent 2 }}
tls:
insecureEdgeTerminationPolicy: Redirect
termination: edge
{{end }}
{{ include "chart.helmRouteFix" $ }} {{ include "chart.helmRouteFix" $ }}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- end -}}
{{- if .Values.Master.Enabled -}} {{- if .Values.Master.Enabled -}}
{{- if .Values.rbac.install -}} {{- if .Values.rbac.install -}}
kind: Role kind: Role
apiVersion: {{ template "rbac.apiVersion" . }} apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: cjoc-agents name: cjoc-agents
namespace: {{ template "agents.namespace" . }} namespace: {{ template "agents.namespace" . }}
......
{{- if .Values.Master.Enabled -}} {{- if .Values.Master.Enabled -}}
{{- if .Values.rbac.install -}} {{- if .Values.rbac.install -}}
apiVersion: {{ template "rbac.apiVersion" . }} apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: cjoc-master-role-binding name: cjoc-master-role-binding
...@@ -8,7 +8,7 @@ metadata: ...@@ -8,7 +8,7 @@ metadata:
labels: labels:
{{ include "cloudbees-core.labels" . | indent 4 }} {{ include "cloudbees-core.labels" . | indent 4 }}
roleRef: roleRef:
apiGroup: {{ template "rbac.apiGroup" . }} apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role
name: cjoc-agents name: cjoc-agents
subjects: subjects:
......
{{- if and (include "psp.enabled" .) (.Values.Agents.SeparateNamespace.Enabled) }} {{- if and (include "psp.enabled" .) (.Values.Agents.SeparateNamespace.Enabled) }}
kind: Role kind: Role
apiVersion: {{ template "rbac.apiVersion" . }} apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: "cb:podsecuritypolicy:restricted" name: "cb:podsecuritypolicy:restricted"
namespace: {{ template "agents.namespace" . }} namespace: {{ template "agents.namespace" . }}
......
{{- if and (include "psp.enabled" .) (.Values.Agents.SeparateNamespace.Enabled) }} {{- if and (include "psp.enabled" .) (.Values.Agents.SeparateNamespace.Enabled) }}
apiVersion: {{ template "rbac.apiVersion" . }} apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: "cb:podsecuritypolicy:restricted" name: "cb:podsecuritypolicy:restricted"
...@@ -7,7 +7,7 @@ metadata: ...@@ -7,7 +7,7 @@ metadata:
labels: labels:
{{ include "cloudbees-core.labels" . | indent 4 }} {{ include "cloudbees-core.labels" . | indent 4 }}
roleRef: roleRef:
apiGroup: {{ template "rbac.apiGroup" . }} apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role
name: "cb:podsecuritypolicy:restricted" name: "cb:podsecuritypolicy:restricted"
subjects: subjects:
......
{{- if include "psp.enabled" . }} {{- if include "psp.enabled" . }}
kind: Role kind: Role
apiVersion: {{ template "rbac.apiVersion" . }} apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: "cb:podsecuritypolicy:restricted" name: "cb:podsecuritypolicy:restricted"
labels: labels:
......
{{- if include "psp.enabled" . }} {{- if include "psp.enabled" . }}
apiVersion: {{ template "rbac.apiVersion" . }} apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: "cb:podsecuritypolicy:restricted" name: "cb:podsecuritypolicy:restricted"
labels: labels:
{{ include "cloudbees-core.labels" . | indent 4 }} {{ include "cloudbees-core.labels" . | indent 4 }}
roleRef: roleRef:
apiGroup: {{ template "rbac.apiGroup" . }} apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role
name: "cb:podsecuritypolicy:restricted" name: "cb:podsecuritypolicy:restricted"
subjects: subjects:
......
...@@ -13,6 +13,10 @@ ingress-nginx: ...@@ -13,6 +13,10 @@ ingress-nginx:
kubernetes.io/os: linux kubernetes.io/os: linux
service: service:
externalTrafficPolicy: Local externalTrafficPolicy: Local
admissionWebhooks:
patch:
nodeSelector:
kubernetes.io/os: linux
defaultBackend: defaultBackend:
nodeSelector: nodeSelector:
kubernetes.io/os: linux kubernetes.io/os: linux
...@@ -50,7 +54,7 @@ OperationsCenter: ...@@ -50,7 +54,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.2.4-ra dockerImage: dcar/core-oc:2.277.1.5-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
...@@ -184,11 +188,23 @@ OperationsCenter: ...@@ -184,11 +188,23 @@ OperationsCenter:
Route: Route:
tls: tls:
# OperationsCenter.Route.tls.Enable -- Set this to true in OpenShift to terminate TLS at route level # OperationsCenter.Route.tls.Enable -- Set this to true in OpenShift to terminate TLS at route level
# Read https://docs.openshift.com/container-platform/4.6/networking/routes/secured-routes.html for details.
# These also apply to Hibernation monitor if enabled.
Enable: false Enable: false
# OperationsCenter.Route.tls.Termination -- Type of termination
## @param ExtraConfigMaps - array of objects - optional Termination: edge
## Extra configmaps deployed with the chart # OperationsCenter.Route.tls.InsecureEdgeTerminationPolicy -- Whether to redirect http to https
# InsecureEdgeTerminationPolicy: Redirect
# OperationsCenter.Route.tls.CACertificate -- CA Certificate PEM-encoded
CACertificate: null
# OperationsCenter.Route.tls.Certificate -- Certificate PEM-encoded
Certificate: null
# OperationsCenter.Route.tls.Key -- Private key PEM-encoded
Key: null
# OperationsCenter.Route.tls.DestinationCACertificate -- When using `termination=reencrypt`, destination CA PEM-encoded
DestinationCACertificate: null
# OperationsCenter.ExtraConfigMaps -- Extra configmaps deployed with the chart
ExtraConfigMaps: []
# ExtraConfigMaps: # ExtraConfigMaps:
# - name: my-config-map # - name: my-config-map
# labels: # labels:
...@@ -199,33 +215,29 @@ OperationsCenter: ...@@ -199,33 +215,29 @@ OperationsCenter:
# myfile.yaml: | # myfile.yaml: |
# foo: bar # foo: bar
## @param ExtraContainers - array of objects - optional # OperationsCenter.ExtraContainers -- Extra containers to add to the pod containing Operations Center.
## Extra containers to add to the pod containing Operations Center. ExtraContainers: []
#
# ExtraContainers: # ExtraContainers:
# - name: sleep # - name: sleep
# image: tutum/curl # image: tutum/curl
# command: ["sleep", "infinity"] # command: ["sleep", "infinity"]
## @param ExtraGroovyConfiguration - list of objects - optional # OperationsCenter.ExtraGroovyConfiguration -- Provides additional init groovy scripts
## Provides additional init groovy scripts # Each key becomes a file in /var/jenkins_config
## Each key becomes a file in /var/jenkins_config ExtraGroovyConfiguration: {}
#
# ExtraGroovyConfiguration: # ExtraGroovyConfiguration:
# hello-world.groovy: | # hello-world.groovy: |
# System.out.println('Hello world!') # System.out.println('Hello world!')
## @param ExtraVolumes - array of objects - optional # OperationsCenter.ExtraVolumes -- Extra volumes to add to the pod
## Extra volumes to add to the pod ExtraVolumes: []
#
# ExtraVolumes: # ExtraVolumes:
# - name: my-volume # - name: my-volume
# configMap: # configMap:
# name: my-config-map # name: my-config-map
## @param ExtraVolumesMounts - array of objects - optional # OperationsCenter.ExtraVolumeMounts -- Extra volume mounts to add to the container containing Operations Center
## Extra volume mounts to add to the container containing Operations Center ExtraVolumeMounts: []
#
# ExtraVolumeMounts: # ExtraVolumeMounts:
# - name: my-volume # - name: my-volume
# mountPath: /var/my-path # mountPath: /var/my-path
...@@ -241,7 +253,7 @@ Master: ...@@ -241,7 +253,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.2.4-ra dockerImage: dcar/core-mm:2.277.1.5-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 +270,7 @@ Agents: ...@@ -258,7 +270,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.2.4-ra dockerImage: dcar/agent:2.277.1.5-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
......
...@@ -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=69f7102311718b7e0fbed31edb877f1352ca5cf1 /usr/share/jenkins/jenkins.war $JENKINS_OPTS \"\$@\"" eval "exec java ${JAVA_OPTS:-} -jar -Dcb.distributable.name=\"Docker Common CJE\" -Dcb.distributable.commit_sha=da2383f39e4a7971d414e43fc535dc801464c1e1 /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