mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
Add new chart: Sonarqube (#7819)
* Add new chart: Sonarqube Signed-off-by: juan131 <juanariza@vmware.com> * Complete missing parameters and sections Signed-off-by: juan131 <juanariza@vmware.com> * Add ct-values.yaml Signed-off-by: juan131 <juanariza@vmware.com> * Apply suggestions from code review Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> * Run readme-generator after code review suggestions Signed-off-by: juan131 <juanariza@vmware.com> * Fix typo Signed-off-by: juan131 <juanariza@vmware.com> * Add support to expose metrics Signed-off-by: juan131 <juanariza@vmware.com> * Use port 80 for HTTP port on svc by default Signed-off-by: juan131 <juanariza@vmware.com> * Add Autoscaling parameters Signed-off-by: juan131 <juanariza@vmware.com> * [bitnami/sonarqube] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
committed by
GitHub
parent
50467ce2f3
commit
df0d773655
29
bitnami/sonarqube/templates/jmx-metrics-svc.yaml
Normal file
29
bitnami/sonarqube/templates/jmx-metrics-svc.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
{{- if .Values.metrics.jmx.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ printf "%s-jmx-metrics" (include "common.names.fullname" .) }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
||||
app.kubernetes.io/component: metrics
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.metrics.jmx.service.annotations .Values.commonAnnotations }}
|
||||
annotations:
|
||||
{{- if .Values.metrics.jmx.service.annotations }}
|
||||
{{ include "common.tplvalues.render" ( dict "value" .Values.metrics.jmx.service.annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.commonAnnotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: metrics
|
||||
port: {{ .Values.metrics.jmx.service.ports.metrics }}
|
||||
protocol: TCP
|
||||
targetPort: metrics
|
||||
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user