Skip to content

Commit

Permalink
Update mission-control version to 3.4.2 (jfrog#217)
Browse files Browse the repository at this point in the history
* Update mission-control version to 3.4.2
Support for PostgreSQL externalisation
Move mission-control microservices to single pod
  • Loading branch information
amithins authored and eldada committed Feb 19, 2019
1 parent 773841f commit 7bc3f59
Show file tree
Hide file tree
Showing 26 changed files with 1,031 additions and 771 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
name: "Lint and install charts"
env:
- CHART_TESTING_IMAGE=quay.io/helmpack/chart-testing
- CHART_TESTING_TAG=v2.0.1
- CHART_TESTING_TAG=v2.2.0
- TEST_IMAGE=gcr.io/kubernetes-charts-ci/test-image
- TEST_IMAGE_TAG=v3.0.1
- TEST_IMAGE_TAG=v3.2.0
- CHARTS_REPO=https://github.com/jfrog/charts
- K8S_VERSION="v1.11.3"
script:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Lint charts locally
CHART_TESTING_TAG ?= v2.0.1
TEST_IMAGE_TAG ?= v3.0.1
CHART_TESTING_TAG ?= v2.2.0
TEST_IMAGE_TAG ?= v3.2.0
CHARTS_REPO ?= https://github.com/jfrog/charts
MAC_ARGS ?=

Expand Down
12 changes: 12 additions & 0 deletions stable/mission-control/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# JFrog Mission-Control Chart Changelog
All changes to this chart will be documented in this file.

## [0.8.0] - Feb 19, 2018
* Update Mission-Control version 3.4.2
* Move to using PostgreSQL as Mission-Control database (replace MongoDB)
* Move setup of database from post install hook to init container of corresponding deployment
* **NOTE:** For upgrading an existing deployment (pre 3.4.2), Mission-Control must be installed with both databases: MongoDB and PostgreSQL
* **UPGRADE NOTES:** For upgrading an existing deployment (pre 3.4.2), follow the following:
* Pass `--set mongodb.enabled=true` to the `helm upgrade command`.
* Mission-Control should be idle.
* New Mission-Control must be installed with both databases: MongoDB and PostgreSQL
* Upgrade to new version (3.4.2) with the following parameter for the upgrade process `helm upgrade .... --set mongodb.enabled=true ....`
* Once Mission-Control is up - it means the migration from MongoDB to PostgreSQL is done!

## [0.7.3] - Jan 31, 2019
* Add 0.5G to all memory limits for java services to be higher than java xmx value

Expand Down
4 changes: 2 additions & 2 deletions stable/mission-control/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: mission-control
description: A Helm chart for JFrog Mission Control
version: 0.7.3
appVersion: 3.3.2
version: 0.8.0
appVersion: 3.4.2
home: https://jfrog.com/mission-control/
icon: https://raw.githubusercontent.com/JFrogDev/artifactory-dcos/master/images/jfrog_med.png
keywords:
Expand Down
115 changes: 91 additions & 24 deletions stable/mission-control/README.md

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions stable/mission-control/ci/test-values.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# CI values for Mission-control.

#rbac:
# create: false
# rbac:
# create: false
#
#serviceAccount:
# create: false
# serviceAccount:
# create: false

mongodb:
postgresql:
postgresPassword: postgres
db:
adminPassword: password
mcPassword: password
insightPassword: password
jfisPassword: password
jfscPassword: password
jfexPassword: password
jfmcPassword: password
7 changes: 5 additions & 2 deletions stable/mission-control/requirements.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
dependencies:
- name: postgresql
repository: https://kubernetes-charts.storage.googleapis.com/
version: 0.9.5
- name: mongodb
repository: https://kubernetes-charts.storage.googleapis.com/
version: 4.3.10
digest: sha256:4b73e049c22266044d5ac107752a71e7462fd6df8cd3954ffaa8ddca0e9848d0
generated: 2018-10-14T15:09:31.394737758+03:00
digest: sha256:3299d564e9a61263571329d573aa1c6100869bd81d55edf949072c34ee43fcdd
generated: 2019-02-19T18:55:08.944392949+05:30
6 changes: 5 additions & 1 deletion stable/mission-control/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
dependencies:
- name: postgresql
version: 0.9.5
repository: https://kubernetes-charts.storage.googleapis.com/
condition: postgresql.enabled
- name: mongodb
version: 4.3.10
repository: https://kubernetes-charts.storage.googleapis.com/
condition: mongodb.enabled
condition: mongodb.enabled
28 changes: 28 additions & 0 deletions stable/mission-control/templates/database-secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{{- if and .Values.database.type (not (.Values.postgresql.enabled)) }}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "mission-control.fullname" . }}-db-cred
labels:
app: {{ template "mission-control.name" . }}
chart: {{ template "mission-control.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
type: Opaque
data:
{{- if .Values.database.password }}
dbPassword: {{ .Values.database.password | b64enc | quote }}
{{- end }}
{{- if .Values.database.jfmcPassword }}
jfmcPassword: {{ .Values.database.jfmcPassword | b64enc | quote }}
{{- end }}
{{- if .Values.database.jfisPassword }}
jfisPassword: {{ .Values.database.jfisPassword | b64enc | quote }}
{{- end }}
{{- if .Values.database.jfscPassword }}
jfscPassword: {{ .Values.database.jfscPassword | b64enc | quote }}
{{- end }}
{{- if .Values.database.jfexPassword }}
jfexPassword: {{ .Values.database.jfexPassword | b64enc | quote }}
{{- end }}
{{- end }}
59 changes: 0 additions & 59 deletions stable/mission-control/templates/hooks/create-user.yaml

This file was deleted.

134 changes: 0 additions & 134 deletions stable/mission-control/templates/insight-executor-deployment.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions stable/mission-control/templates/insight-executor-pvc.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions stable/mission-control/templates/insight-executor-svc.yaml

This file was deleted.

Loading

0 comments on commit 7bc3f59

Please sign in to comment.