summaryrefslogtreecommitdiffstats
path: root/version.properties
blob: 4bec6767e11b692446f684f7bb04bf5e3265ebe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
###########################################################
# Versioning variables
# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
# because they are used in Jenkins, whose plug-in doesn't support

major_version=1
minor_version=3
patch_version=2

base_version=${major_version}.${minor_version}.${patch_version}

# Release must be completed with GIT information # in Jenkins
release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT
ss="nv">- if .Values.metrics.enabled }} apiVersion: v1 kind: Service metadata: name: {{ printf "%s-metrics" (include "mongodb.fullname" .) }} namespace: {{ include "mongodb.namespace" . | quote }} labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} app.kubernetes.io/component: metrics {{- if or .Values.metrics.service.annotations .Values.commonAnnotations }} {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }} annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} {{- end }} spec: type: {{ .Values.metrics.service.type }} ports: - port: {{ .Values.metrics.service.ports.metrics }} targetPort: metrics protocol: TCP name: http-metrics {{- if .Values.metrics.service.extraPorts }} {{- include "common.tplvalues.render" (dict "value" .Values.metrics.service.extraPorts "context" $) | nindent 4 }} {{- end }} {{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }} selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }} app.kubernetes.io/component: mongodb {{- end }}