Skip to content

Commit

Permalink
Use only one values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
henrod committed Jun 13, 2017
1 parent a5801d1 commit 1f83d1a
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 48 deletions.
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.4.0
version: 2.4.1
maintainers:
- name: TFGCo
email: backend@tfgco.com
18 changes: 9 additions & 9 deletions helm/charts/maestro-api/templates/maestro-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ spec:
- containerPort: 80
env:
- name: MAESTRO_EXTENSIONS_PG_HOST
value: {{ .Values.postgres_host }}
value: {{ .Values.maestro.postgres_host }}
- name: MAESTRO_EXTENSIONS_PG_PORT
value: "{{ .Values.postgres_port }}"
value: "{{ .Values.maestro.postgres_port }}"
- name: MAESTRO_EXTENSIONS_PG_USER
value: {{ .Values.postgres_user }}
value: {{ .Values.maestro.postgres_user }}
- name: MAESTRO_EXTENSIONS_PG_PASS
value: {{ .Values.postgres_password }}
value: {{ .Values.maestro.postgres_password }}
- name: MAESTRO_EXTENSIONS_PG_DATABASE
value: {{ .Values.postgres_dbname }}
value: {{ .Values.maestro.postgres_database }}
- name: MAESTRO_GOOGLE_CLIENT_ID
value: {{ .Values.google_clientid }}
value: {{ .Values.maestro.google_clientid }}
- name: MAESTRO_GOOGLE_CLIENT_SECRET
value: {{ .Values.google_clientsecret }}
value: {{ .Values.maestro.google_clientsecret }}
- name: MAESTRO_OAUTH_ACCEPTEDDOMAINS
value: {{ .Values.oauth_domains }}
value: {{ .Values.maestro.oauth_domains }}
- name: MAESTRO_EXTENSIONS_REDIS_URL
value: {{ .Values.redis_url }}
value: {{ .Values.maestro.redis_url }}
8 changes: 0 additions & 8 deletions helm/charts/maestro-api/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
postgres_host: maestro-postgres
postgres_port: "5432"
postgres_user: maestro
postgres_database: maestro
redis_url: redis://:@maestro-redis:6379
google_clientid: ""
google_clientsecret: ""
oauth_domains: "example.com other.com"
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.4.0
version: 2.4.1
maintainers:
- name: TFGCo
email: backend@tfgco.com
10 changes: 5 additions & 5 deletions helm/charts/maestro-db-config/templates/maestro-db-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ spec:
image: quay.io/tfgco/maestro:v{{ .Chart.Version }}
env:
- name: MAESTRO_EXTENSIONS_PG_HOST
value: {{ .Values.postgres_host }}
value: {{ .Values.maestro.postgres_host }}
- name: MAESTRO_EXTENSIONS_PG_PORT
value: "{{ .Values.postgres_port }}"
value: "{{ .Values.maestro.postgres_port }}"
- name: MAESTRO_EXTENSIONS_PG_USER
value: {{ .Values.postgres_user }}
value: {{ .Values.maestro.postgres_user }}
- name: MAESTRO_EXTENSIONS_PG_PASS
value: {{ .Values.postgres_password }}
value: {{ .Values.maestro.postgres_password }}
- name: MAESTRO_EXTENSIONS_PG_DATABASE
value: {{ .Values.postgres_database }}
value: {{ .Values.maestro.postgres_database }}
- name: MAESTRO_RUN_SETUP
value: "true"
4 changes: 0 additions & 4 deletions helm/charts/maestro-db-config/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
postgres_host: maestro-postgres
postgres_port: "5432"
postgres_user: maestro
postgres_database: maestro
4 changes: 0 additions & 4 deletions helm/charts/maestro-postgres/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
postgres_host: maestro-postgres
postgres_port: "5432"
postgres_user: maestro
postgres_database: maestro
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.4.0
version: 2.4.1
maintainers:
- name: TFGCo
email: backend@tfgco.com
12 changes: 6 additions & 6 deletions helm/charts/maestro-worker/templates/maestro-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ spec:
imagePullPolicy: Always
env:
- name: MAESTRO_EXTENSIONS_PG_HOST
value: {{ .Values.postgres_host }}
value: {{ .Values.maestro.postgres_host }}
- name: MAESTRO_EXTENSIONS_PG_PORT
value: "{{ .Values.postgres_port }}"
value: "{{ .Values.maestro.postgres_port }}"
- name: MAESTRO_EXTENSIONS_PG_USER
value: {{ .Values.postgres_user }}
value: {{ .Values.maestro.postgres_user }}
- name: MAESTRO_EXTENSIONS_PG_PASS
value: {{ .Values.postgres_password }}
value: {{ .Values.maestro.postgres_password }}
- name: MAESTRO_EXTENSIONS_PG_DATABASE
value: {{ .Values.postgres_database }}
value: {{ .Values.maestro.postgres_database }}
- name: MAESTRO_EXTENSIONS_REDIS_URL
value: {{ .Values.redis_url }}
value: {{ .Values.maestro.redis_url }}
5 changes: 0 additions & 5 deletions helm/charts/maestro-worker/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
postgres_host: maestro-postgres
postgres_port: "5432"
postgres_user: maestro
postgres_database: maestro
redis_url: redis://:@maestro-redis:6379
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.7
version: 0.1.8
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.4.0
version: 2.4.1
repository: http://helm.tfgco.com
- name: maestro-worker
version: 2.4.0
version: 2.4.1
repository: http://helm.tfgco.com
- name: maestro-db-config
version: 2.4.0
version: 2.4.1
repository: http://helm.tfgco.com

0 comments on commit 1f83d1a

Please sign in to comment.