Skip to content

Commit

Permalink
Remove annotations and off-cluster redis
Browse files Browse the repository at this point in the history
  • Loading branch information
henrod committed Jun 13, 2017
1 parent 534c02d commit a5801d1
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 63 deletions.
12 changes: 6 additions & 6 deletions config/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ extensions:
url: redis://localhost:6363
connectionTimeout: 200
watcher:
autoScalingPeriod: 10
autoScalingPeriod: 30
lockKey: "maestro-lock-key"
lockTimeoutMs: 180000
gracefulShutdownTimeout: 300
worker:
syncPeriod: 10
syncPeriod: 30
gracefulShutdownTimeout: 300
scaleUpTimeoutSeconds: 60
scaleDownTimeoutSeconds: 60
deleteTimeoutSeconds: 60
scaleUpTimeoutSeconds: 300
scaleDownTimeoutSeconds: 300
deleteTimeoutSeconds: 600
pingTimeout: 60
updateTimeoutSeconds: 60
updateTimeoutSeconds: 300
sentry:
url: ""
newrelic:
Expand Down
2 changes: 1 addition & 1 deletion helm/charts/maestro-api/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: maestro-api
home: https://github.com/topfreegames/maestro
description: Maestro
version: 2.3.2
version: 2.4.0
maintainers:
- name: TFGCo
email: backend@tfgco.com
6 changes: 0 additions & 6 deletions helm/charts/maestro-api/templates/maestro-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: maestro-api
annotations:
"helm.sh/hook": post-install
"helm.sh/hook-weight": "1"
spec:
selector:
app: maestro-api
Expand All @@ -19,9 +16,6 @@ metadata:
name: maestro-api
labels:
heritage: maestro-api
annotations:
"helm.sh/hook": post-install
"helm.sh/hook-weight": "1"
spec:
replicas: 1
template:
Expand Down
2 changes: 1 addition & 1 deletion helm/charts/maestro-db-config/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: maestro-db-config
home: https://github.com/topfreegames/maestro
description: Configre Maestro databse
version: 2.3.2
version: 2.4.0
maintainers:
- name: TFGCo
email: backend@tfgco.com
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ metadata:
labels:
name: pg-config
heritage: pg-config
annotations:
"helm.sh/hook": post-install
"helm.sh/hook-weight": "3"
spec:
template:
metadata:
Expand Down
34 changes: 0 additions & 34 deletions helm/charts/maestro-postgres/templates/config.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions helm/charts/maestro-postgres/templates/maestro-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ metadata:
labels:
name: maestro-postgres
name: maestro-postgres
annotations:
"helm.sh/hook": pre-install
spec:
ports:
- port: 5432
Expand All @@ -21,8 +19,6 @@ metadata:
name: maestro-postgres
labels:
heritage: maestro-postgres
annotations:
"helm.sh/hook": pre-install
spec:
replicas: 1
template:
Expand Down
2 changes: 2 additions & 0 deletions helm/charts/maestro-redis/templates/maestro-redis.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if eq .Values.global.redis_location "on-cluster" }}
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -30,3 +31,4 @@ spec:
- redis-server
ports:
- containerPort: 6379
{{- end}}
2 changes: 1 addition & 1 deletion helm/charts/maestro-worker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: maestro-worker
home: https://github.com/topfreegames/maestro
description: Maestro
version: 2.3.2
version: 2.4.0
maintainers:
- name: TFGCo
email: backend@tfgco.com
3 changes: 0 additions & 3 deletions helm/charts/maestro-worker/templates/maestro-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ metadata:
name: maestro-worker
labels:
heritage: maestro-worker
annotations:
"helm.sh/hook": post-install
"helm.sh/hook-weight": "2"
spec:
replicas: 1
template:
Expand Down
2 changes: 1 addition & 1 deletion helm/charts/maestro/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: maestro
home: https://github.com/topfreegames/maestro
description: Maestro
version: 0.1.5
version: 0.1.7
maintainers:
- name: TFGCo
email: backend@tfgco.com
6 changes: 3 additions & 3 deletions helm/charts/maestro/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ dependencies:
version: 0.1.0
repository: http://helm.tfgco.com
- name: maestro-api
version: 2.3.2
version: 2.4.0
repository: http://helm.tfgco.com
- name: maestro-worker
version: 2.3.2
version: 2.4.0
repository: http://helm.tfgco.com
- name: maestro-db-config
version: 2.3.2
version: 2.4.0
repository: http://helm.tfgco.com

0 comments on commit a5801d1

Please sign in to comment.