UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Developer Tools
sonarqube
Commits
fecdef63
Commit
fecdef63
authored
Mar 23, 2021
by
Branden Cobb
Browse files
Merge branch 'virtualservice' into 'main'
Virtualservice enhancement Closes
#1
See merge request
!16
parents
9b72df66
78e48d32
Pipeline
#204101
passed with stages
in 3 minutes and 29 seconds
Changes
6
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
5 deletions
+31
-5
CHANGELOG.md
CHANGELOG.md
+4
-0
chart/Chart.yaml
chart/Chart.yaml
+1
-1
chart/templates/_helpers.tpl
chart/templates/_helpers.tpl
+7
-0
chart/templates/bigbang/virtualservice.yaml
chart/templates/bigbang/virtualservice.yaml
+7
-2
chart/values.yaml
chart/values.yaml
+12
-1
tests/test-values.yml
tests/test-values.yml
+0
-1
No files found.
CHANGELOG.md
View file @
fecdef63
# Changelog
# Changelog
## 9.2.6-bb.4 - 2021-03-22
Adding ability to specify istio gateways and hosts in values file
## 9.2.6-bb.3 - 2021-03-16
## 9.2.6-bb.3 - 2021-03-16
Plugins have been preinstalled into the container and made available at registry.dso.mil.
Plugins have been preinstalled into the container and made available at registry.dso.mil.
...
...
chart/Chart.yaml
View file @
fecdef63
...
@@ -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.
3
version
:
9.2.6-bb.
4
keywords
:
keywords
:
-
coverage
-
coverage
-
security
-
security
...
...
chart/templates/_helpers.tpl
View file @
fecdef63
...
@@ -60,3 +60,10 @@ false
...
@@ -60,3 +60,10 @@ false
true
true
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
{
{
/*
Create
chart
name
and
version
as
used
by
the
chart
label
.
*/
}
}
{{- define "sonarqube.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
chart/templates/bigbang/virtualservice.yaml
View file @
fecdef63
...
@@ -6,14 +6,19 @@ metadata:
...
@@ -6,14 +6,19 @@ metadata:
name
:
{{
template "sonarqube.fullname" .
}}
name
:
{{
template "sonarqube.fullname" .
}}
namespace
:
{{
.Release.Namespace
}}
namespace
:
{{
.Release.Namespace
}}
labels
:
labels
:
helm.sh/chart
:
{{
include "sonarqube.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
app.kubernetes.io/part-of
:
sonarqube
app.kubernetes.io/part-of
:
sonarqube
spec
:
spec
:
gateways
:
gateways
:
-
istio-system/main
{{
- range .Values.istio.sonarqube.gateways
}}
-
{{
.
}}
{{
- end
}}
hosts
:
hosts
:
-
"
sonarqube.{{
.Values.hostname
}}"
{{
- range .Values.istio.sonarqube.hosts
}}
-
{{
tpl . $
}}
{{
- end
}}
http
:
http
:
-
route
:
-
route
:
-
destination
:
-
destination
:
...
...
chart/values.yaml
View file @
fecdef63
...
@@ -354,8 +354,19 @@ extraConfig:
...
@@ -354,8 +354,19 @@ extraConfig:
terminationGracePeriodSeconds
:
60
terminationGracePeriodSeconds
:
60
# Big Bang Additions
# Big Bang Additions
## Your FQDN will be ${ .Values.subdomain }.${ .Values.hostname }
hostname
:
bigbang.dev
hostname
:
bigbang.dev
istio
:
istio
:
enabled
:
true
# Toggle istio integration
enabled
:
false
sonarqube
:
# Toggle vs creation
enabled
:
true
annotations
:
{}
labels
:
{}
gateways
:
-
istio-system/main
hosts
:
-
sonarqube.{{ .Values.hostname }}
monitoring
:
monitoring
:
enabled
:
false
enabled
:
false
tests/test-values.yml
View file @
fecdef63
...
@@ -3,4 +3,3 @@ image:
...
@@ -3,4 +3,3 @@ image:
istio
:
istio
:
enabled
:
true
enabled
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment