This repository has been archived by the owner on Feb 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from Financial-Times/eks-poc
Updates for EKS
- Loading branch information
Showing
5 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
helm/draft-annotations-api/app-configs/draft-annotations-api_eks_stagingpac_eu.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Values used for the deployed application. | ||
replicaCount: 2 | ||
|
||
eksCluster: true | ||
|
||
service: | ||
name: draft-annotations-api | ||
|
||
encryptedSecrets: | ||
upp-api-key: AgCAJCRlyeXjjWs8RTpfUh5hN70rxYXqmbpNV0LTu5LPt31FNWxbcykAR9TUinh7PAFMTC+piSTVq8fwgznKjooN5D+4szI52RQH35stwmWheMlS+0NO7eoiZ0N+I+85WZ/cYGu6P5GfDyB6ydEyrLEC34I9WplvoCaB6ldVHp1BsWrooCZYupKaZbp0dHgLaleflteEX35kdaChF7GbmkOIebSWIPXk4f4DW9SXKv7d/lQbBN1gFLH2V00CJcqMdPQuCE+rDPsy9aCOERLyuYvOIOOyGn7zgw3A/e6FWoRsIeG6goTSRNP+WGZz+fLYENVzS1f+fCePkc13tHV8lp0OZLmx86RWyr74/P+mB+vjhd7UiBYUfSTTz9aT7628qBThLSvbMvzs4UltQPTgKtxG5QtqY2vLB5QSsx/kRWvyXduZcmrs+xkg63DaVTAJxSJzuT1QWrh0AwNk3F6sIFBBPJOrInHUJRLlz756dG7iv143nZOcrtIwdhDtriBCnfi4LuvMBg9v+CpehPhdd1AHzZQVBop75xzCue9hcmEo6/zaw3/FNV5f3lGLUthEXemYHdawjTnSAS8dFzNJXVTFJpWPOFn3mZYPn+0lJ6sQmcpPTJBhjy/0FmRlwoebY/X5n8ge3TxS4xvfw0TXorg2xBjGEfuprvIM3h1wV/UlY7btl8fDpbWuEOezUIO46uZun4my7zGMhFvsVLvdoWIUbdFuUctBI/uLZPvurm05xOmNjzjLfmTlgGVcnd9+vbt+SorxSD/YFQ== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
helm/draft-annotations-api/templates/draft-annotations-api-sealed-secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{- if .Values.eksCluster }} | ||
apiVersion: bitnami.com/v1alpha1 | ||
kind: SealedSecret | ||
metadata: | ||
name: draft-annotations-api | ||
namespace: default | ||
type: Opaque | ||
spec: | ||
encryptedData: | ||
{{ if .Values.encryptedSecrets }}{{ toYaml .Values.encryptedSecrets | indent 4 }}{{ end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
# Default values for draft-annotations-api. | ||
# This is a YAML-formatted file. | ||
# Declare variables to be passed into your templates. | ||
service: | ||
name: "" # The name of the service, should be defined in the specific app-configs folder | ||
hasHealthcheck: "true" | ||
replicaCount: 2 | ||
image: | ||
repository: coco/draft-annotations-api | ||
pullPolicy: Always | ||
resources: | ||
requests: | ||
memory: 10Mi | ||
limits: | ||
memory: 128Mi | ||
# Default values for draft-annotations-api. | ||
# This is a YAML-formatted file. | ||
# Declare variables to be passed into your templates. | ||
service: | ||
name: "" # The name of the service, should be defined in the specific app-configs folder | ||
hasHealthcheck: "true" | ||
replicaCount: 2 | ||
image: | ||
repository: coco/draft-annotations-api | ||
pullPolicy: Always | ||
resources: | ||
requests: | ||
memory: 10Mi | ||
limits: | ||
memory: 128Mi | ||
|
||
eksCluster: false |