Skip to content

Commit

Permalink
Merge pull request #22 from featurehub-io/release-1.5.1
Browse files Browse the repository at this point in the history
Release 1.5.1
  • Loading branch information
IrinaSouth authored Dec 4, 2021
2 parents 383ca91 + 300a61f commit 7d7574a
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
# use this setup in Cloud Run or Azure Container Instances. It can be used
# anywhere but is optimised for those scenarios
party-server-ish:
image: featurehub/party-server-ish:latest-RC2
image: featurehub/party-server-ish:latest
ports:
- 8085:8085
depends_on:
Expand Down
4 changes: 2 additions & 2 deletions helm/featurehub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ description: FeatureHub Release

type: application

version: 1.5.0
version: 1.5.1

appVersion: "1.3.1"
appVersion: "1.5.1"
7 changes: 3 additions & 4 deletions helm/featurehub/templates/api-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: app-config
stringData:
data:
application.properties: |-
db.url={{ .Values.db.url }}
db.username={{ .Values.db.username }}
db.password={{ .Values.db.password }}
db.connections={{ default 3 .Values.db.connections }}
run.nginx=true
server.port=8085
monitor.port=8701
server.gracePeriodInSeconds={{ default 10 .Values.managementRepository.shutdownGracePeriodInSeconds }}
register.url={{ default "http://localhost/#/register-url?token=%s" .Values.managementRepository.registrationUrl }}
register.url={{ default "http://localhost/register-url?token=%s" .Values.managementRepository.registrationUrl }}
portfolio.admin.group.suffix={{ default "Administrators" .Values.managementRepository.portfolioGroupAdminSuffix }}
10 changes: 8 additions & 2 deletions helm/featurehub/templates/mr-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.managementRepository.image.repository }}:{{ .Values.managementRepository.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.pullPolicy }}
env:
- name: db.password
valueFrom:
secretKeyRef:
key: db.password
name: password-secret
ports:
- name: http
containerPort: 8085
Expand Down Expand Up @@ -64,8 +70,8 @@ spec:
{{- toYaml .Values.managementRepository.resources | nindent 12 }}
volumes:
- name: app-config
secret:
secretName: app-config
configMap:
name: app-config
- name: common-config
configMap:
name: common-config
Expand Down
2 changes: 1 addition & 1 deletion helm/featurehub/templates/nats-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
serviceAccountName: {{ include "featurehub.serviceAccountName" . }}
containers:
- name: nats
image: "nats:2.1.7-alpine"
image: "nats:2.6.4-alpine"
imagePullPolicy: {{ .Values.pullPolicy }}
ports:
- name: nats
Expand Down
8 changes: 8 additions & 0 deletions helm/featurehub/templates/password-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: password-secret
# this should be mounted differently in your normal k8s mechanism, you will mount it
# from Cloud SQL or AWS RDS or similar
stringData:
db.password: {{ .Values.db.password }}
10 changes: 5 additions & 5 deletions helm/featurehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
# This chart assumes you have a NATS server already running in your cluster


version: 1.5.0
version: 1.5.1
pullPolicy: IfNotPresent
managementRepository:
name: "management_repository"
replicaCount: 1
image:
repository: featurehub/mr
tag: 1.5.0
tag: 1.5.1
shutdownGracePeriodInSeconds: 10
registrationUrl: http://localhost/#/register-url?token=%s
registrationUrl: http://localhost/register-url?token=%s
portfolioGroupAdminSuffix: "Administrators"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand All @@ -35,7 +35,7 @@ edge:
replicaCount: 2
image:
repository: featurehub/edge
tag: 1.5.0
tag: 1.5.1
shutdownGracePeriodInSeconds: 10
# 30 seconds before they get kicked off and have to connect again
sseClientConnectTimeout: 30
Expand All @@ -61,7 +61,7 @@ dacha:
replicaCount: 2
image:
repository: featurehub/dacha
tag: 1.5.0
tag: 1.5.1
cacheThreadPoolSize: 15
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit 7d7574a

Please sign in to comment.