Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #32 from Financial-Times/UPPSF-1355-add-delivery-c…
Browse files Browse the repository at this point in the history
…onfigs

Add EKS configs
  • Loading branch information
dbelev authored Jul 21, 2020
2 parents 6101ca5 + 34e386d commit 8dced78
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
10 changes: 10 additions & 0 deletions helm/content-preview/app-configs/content-preview_eks_delivery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Values used for the deployed application.
service:
name: content-preview
eksCluster: true
env:
BUSINESS_IMPACT: "Editorial users won't be able to preview articles"
TRANSFORM_APP_URI: http://methode-article-mapper:8080/map
TRANSFORM_APP_HEALTH_URI: http://methode-article-mapper:8080/__health
TRANSFORM_APP_NAME: methode-article-mapper
TRANSFORM_APP_PANIC_GUIDE: https://dewey.ft.com/up-mam.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Values used for the deployed application.
service:
name: internal-components-preview
eksCluster: true
env:
BUSINESS_IMPACT: "Editorial users won't be able to preview internal components on articles"
TRANSFORM_APP_URI: http://methode-article-internal-components-mapper:8080/map
TRANSFORM_APP_HEALTH_URI: http://methode-article-internal-components-mapper:8080/__health
TRANSFORM_APP_NAME: methode-article-internal-components-mapper
TRANSFORM_APP_PANIC_GUIDE: https://dewey.ft.com/up-maicm.html
5 changes: 4 additions & 1 deletion helm/content-preview/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
##this is an example deployment.yaml that should be customized in order to meet the configuration for app k8s deployment

{{- if .Values.eksCluster }}
apiVersion: apps/v1
{{- else }}
apiVersion: extensions/v1beta1
{{- end }}
kind: Deployment
metadata:
name: {{ .Values.service.name }}
Expand Down
1 change: 1 addition & 0 deletions helm/content-preview/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
service:
name: "" # The name of the service, should be defined in the specific app-configs folder.
hasHealthcheck: "true"
eksCluster: false
replicaCount: 2
image:
repository: coco/content-preview
Expand Down

0 comments on commit 8dced78

Please sign in to comment.