Skip to content

Commit

Permalink
Merge pull request #58 from Financial-Times/fix/CPH-267-config-cleanup
Browse files Browse the repository at this point in the history
Fix/cph 267 config cleanup
  • Loading branch information
mihaylovmihail authored Aug 19, 2020
2 parents 5463557 + 50a5b7a commit 94d5a08
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Values used for the deployed application.
replicaCount: 2

eksCluster: true

service:
name: draft-annotations-api

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Values used for the deployed application.
replicaCount: 2

eksCluster: true

service:
name: draft-annotations-api

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Values used for the deployed application.
replicaCount: 2

eksCluster: true

service:
name: draft-annotations-api

Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions helm/draft-annotations-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{{- if .Values.eksCluster }}
apiVersion: apps/v1
{{- else }}
apiVersion: extensions/v1beta1
{{- end }}
kind: Deployment
metadata:
name: {{ .Values.service.name }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.eksCluster }}
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
Expand All @@ -8,4 +7,3 @@ metadata:
spec:
encryptedData:
{{ if .Values.encryptedSecrets }}{{ toYaml .Values.encryptedSecrets | indent 4 }}{{ end }}
{{- end }}
2 changes: 0 additions & 2 deletions helm/draft-annotations-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ resources:
memory: 10Mi
limits:
memory: 128Mi

eksCluster: false

0 comments on commit 94d5a08

Please sign in to comment.