UNCLASSIFIED

Commit 9888ec73 authored by Branden Cobb's avatar Branden Cobb
Browse files

Merge branch 'branden.cobb-main-patch-77491' into 'main'

initContainers

Closes #2

See merge request !21
parents e2896587 0f8ecacd
Pipeline #206339 passed with stages
in 4 minutes and 33 seconds
# Changelog # Changelog
## 9.2.6-bb.6 - 2021-03-30
Modified initContainer logic
## 9.2.6-bb.5 - 2021-03-22 ## 9.2.6-bb.5 - 2021-03-22
Fixed initContainer logic Fixed initContainer logic
......
...@@ -2,7 +2,7 @@ apiVersion: v1 ...@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 8.6-community appVersion: 8.6-community
name: sonarqube name: sonarqube
description: SonarQube is an open sourced code quality scanning tool description: SonarQube is an open sourced code quality scanning tool
version: 9.2.6-bb.5 version: 9.2.6-bb.6
keywords: keywords:
- coverage - coverage
- security - security
......
...@@ -58,6 +58,7 @@ spec: ...@@ -58,6 +58,7 @@ spec:
imagePullSecrets: imagePullSecrets:
- name: {{ .Values.image.pullSecret }} - name: {{ .Values.image.pullSecret }}
{{- end }} {{- end }}
{{- if or .Values.caCerts .Values.initSysctl.enabled .Values.elasticsearch.configureNode .Values.plugins.install .Values.postgresql.enabled (and .Values.sonarProperties .Values.sonarSecretProperties) }}
initContainers: initContainers:
{{- if .Values.caCerts }} {{- if .Values.caCerts }}
- name: ca-certs - name: ca-certs
...@@ -172,6 +173,7 @@ spec: ...@@ -172,6 +173,7 @@ spec:
- name: POSTGRES_HOST_AUTH_METHOD - name: POSTGRES_HOST_AUTH_METHOD
value: "trust" value: "trust"
{{- end }} {{- end }}
{{- end }}
{{- if .Values.priorityClassName }} {{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }} priorityClassName: {{ .Values.priorityClassName }}
{{- end }} {{- end }}
......
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