Skip to content

Commit

Permalink
Merge pull request #2366 from SEED-platform/doesitbuildbranches
Browse files Browse the repository at this point in the history
Doesitbuildbranches
  • Loading branch information
aviveiros11 committed Aug 11, 2020
2 parents 7f80d1a + f6a684b commit 358d168
Show file tree
Hide file tree
Showing 42 changed files with 312 additions and 332 deletions.
10 changes: 0 additions & 10 deletions charts/admin/dev-namepsace.json

This file was deleted.

21 changes: 0 additions & 21 deletions charts/backend/templates/NOTES.txt

This file was deleted.

15 changes: 0 additions & 15 deletions charts/backend/templates/tests/test-connection.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions charts/frontend/.helmignore

This file was deleted.

21 changes: 0 additions & 21 deletions charts/frontend/Chart.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions charts/frontend/templates/NOTES.txt

This file was deleted.

63 changes: 0 additions & 63 deletions charts/frontend/templates/_helpers.tpl

This file was deleted.

15 changes: 0 additions & 15 deletions charts/frontend/templates/tests/test-connection.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions charts/middleware/.helmignore

This file was deleted.

68 changes: 0 additions & 68 deletions charts/middleware/values.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
storage: 20Gi
status: {}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
storage: 50Gi
status: {}
Empty file added charts/seed-dev/.helmignore
Empty file.
2 changes: 1 addition & 1 deletion charts/backend/Chart.yaml → charts/seed-dev/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: backend
name: seed
description: A Helm chart for Kubernetes

# A chart can be either an 'application' or a 'library' chart.
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "backend.name" -}}
{{- define "seed.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

Expand All @@ -11,7 +11,7 @@ Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "backend.fullname" -}}
{{- define "seed.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
Expand All @@ -27,16 +27,16 @@ If release name contains chart name it will be used as a full name.
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "backend.chart" -}}
{{- define "seed.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Common labels
*/}}
{{- define "backend.labels" -}}
helm.sh/chart: {{ include "backend.chart" . }}
{{ include "backend.selectorLabels" . }}
{{- define "seed.labels" -}}
helm.sh/chart: {{ include "seed.chart" . }}
{{ include "seed.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
Expand All @@ -46,17 +46,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "backend.selectorLabels" -}}
app.kubernetes.io/name: {{ include "backend.name" . }}
{{- define "seed.selectorLabels" -}}
app.kubernetes.io/name: {{ include "seed.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}

{{/*
Create the name of the service account to use
*/}}
{{- define "backend.serviceAccountName" -}}
{{- define "seed.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "backend.fullname" .) .Values.serviceAccount.name }}
{{ default (include "seed.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ spec:
- name: POSTGRES_PASSWORD
value: super-secret-password
- name: POSTGRES_USER
value: seed
image: seedplatform/postgres-seed:11.2
value: seeduser
image: timescale/timescaledb-postgis:latest-pg12
imagePullPolicy: Always
name: db-postrgres
# command: ["tail"]
# args: ['-f', '/dev/null']
Expand Down
File renamed without changes.
Empty file.
Loading

0 comments on commit 358d168

Please sign in to comment.