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
23071bb6
You need to sign in or sign up before continuing.
Commit
23071bb6
authored
Feb 04, 2021
by
Branden Cobb
Browse files
Add plugins to helm chart
parent
555905a7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
81 additions
and
3 deletions
+81
-3
chart/Chart.yaml
chart/Chart.yaml
+1
-1
chart/templates/bigbang/monitoring.yaml
chart/templates/bigbang/monitoring.yaml
+66
-0
chart/templates/bigbang/virtualservice.yaml
chart/templates/bigbang/virtualservice.yaml
+0
-0
chart/values.yaml
chart/values.yaml
+7
-1
tests/test-values.yml
tests/test-values.yml
+7
-1
No files found.
chart/Chart.yaml
View file @
23071bb6
...
...
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion
:
8.6-community
name
:
sonarqube
description
:
SonarQube is an open sourced code quality scanning tool
version
:
9.2.6-bb.
0
version
:
9.2.6-bb.
1
keywords
:
-
coverage
-
security
...
...
chart/templates/bigbang/monitoring.yaml
0 → 100644
View file @
23071bb6
{{
- if .Values.monitoring.enabled -
}}
apiVersion
:
rbac.authorization.k8s.io/v1
items
:
-
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
Role
metadata
:
name
:
prometheus-k8s
namespace
:
{{
.Release.Namespace
}}
rules
:
-
apiGroups
:
-
"
"
resources
:
-
services
-
endpoints
-
pods
verbs
:
-
get
-
list
-
watch
kind
:
RoleList
---
apiVersion
:
rbac.authorization.k8s.io/v1
items
:
-
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
RoleBinding
metadata
:
name
:
prometheus-k8s
namespace
:
{{
.Release.Namespace
}}
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
Role
name
:
prometheus-k8s
subjects
:
-
kind
:
ServiceAccount
name
:
prometheus-k8s
namespace
:
monitoring
kind
:
RoleBindingList
---
apiVersion
:
monitoring.coreos.com/v1
kind
:
ServiceMonitor
metadata
:
labels
:
prometheus
:
k8s
name
:
{{
template "sonarqube.fullname" .
}}
spec
:
selector
:
matchLabels
:
app
:
{{
template "sonarqube.fullname" .
}}
namespaceSelector
:
matchNames
:
-
{{
.Release.Namespace
}}
endpoints
:
-
interval
:
30s
basicAuth
:
password
:
admin
# name: login
# key: username
username
:
admin
# name: login
# key: password
path
:
/api/prometheus/metrics
port
:
http
jobLabel
:
sonarqube
{{
- end
}}
chart/templates/virtualservice.yaml
→
chart/templates/
bigbang/
virtualservice.yaml
View file @
23071bb6
File moved
chart/values.yaml
View file @
23071bb6
...
...
@@ -148,7 +148,11 @@ initSysctl:
# - "https://github.com/AmadeusITGroup/sonar-stash/releases/download/1.3.0/sonar-stash-plugin-1.3.0.jar"
# - "https://github.com/SonarSource/sonar-ldap/releases/download/2.2-RC3/sonar-ldap-plugin-2.2.0.601.jar"
plugins
:
install
:
[]
install
:
-
https://github.com/dependency-check/dependency-check-sonar-plugin/releases/download/1.2.6/sonar-dependency-check-plugin-1.2.6.jar
-
https://github.com/SonarOpenCommunity/sonar-cxx/releases/download/cxx-1.3.2/sonar-c-plugin-1.3.2.1853.jar
-
https://github.com/SonarOpenCommunity/sonar-cxx/releases/download/cxx-1.3.2/sonar-cxx-plugin-1.3.2.1853.jar
-
https://github.com/dmeiners88/sonarqube-prometheus-exporter/releases/download/v1.0.0-SNAPSHOT-2018-07-04/sonar-prometheus-exporter-1.0.0-SNAPSHOT.jar
lib
:
[]
# For use behind a corporate proxy when downloading plugins
...
...
@@ -353,3 +357,5 @@ terminationGracePeriodSeconds: 60
hostname
:
bigbang.dev
istio
:
enabled
:
true
monitoring
:
enabled
:
false
tests/test-values.yml
View file @
23071bb6
...
...
@@ -148,7 +148,11 @@ initSysctl:
# - "https://github.com/AmadeusITGroup/sonar-stash/releases/download/1.3.0/sonar-stash-plugin-1.3.0.jar"
# - "https://github.com/SonarSource/sonar-ldap/releases/download/2.2-RC3/sonar-ldap-plugin-2.2.0.601.jar"
plugins
:
install
:
[]
install
:
-
https://github.com/dependency-check/dependency-check-sonar-plugin/releases/download/1.2.6/sonar-dependency-check-plugin-1.2.6.jar
-
https://github.com/SonarOpenCommunity/sonar-cxx/releases/download/cxx-1.3.2/sonar-c-plugin-1.3.2.1853.jar
-
https://github.com/SonarOpenCommunity/sonar-cxx/releases/download/cxx-1.3.2/sonar-cxx-plugin-1.3.2.1853.jar
-
https://github.com/dmeiners88/sonarqube-prometheus-exporter/releases/download/v1.0.0-SNAPSHOT-2018-07-04/sonar-prometheus-exporter-1.0.0-SNAPSHOT.jar
lib
:
[]
# For use behind a corporate proxy when downloading plugins
...
...
@@ -353,3 +357,5 @@ terminationGracePeriodSeconds: 60
hostname
:
bigbang.dev
istio
:
enabled
:
true
monitoring
:
enabled
:
false
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