diff --git a/charts/README.md b/charts/README.md deleted file mode 100644 index 19918ad73b..0000000000 --- a/charts/README.md +++ /dev/null @@ -1,5 +0,0 @@ -## Deploy on Kubernetes - -_Note: this deployment requires an existing Amazon EKS cluster. Instructions below show how to create the cluster, but many configurations options are available and show be reviewed._ - -See the instructions in [k8s deployment](../docs/source/kubernetes_deployment.rst) or in the [source code documentation](https://seed-platform.org/code_documentation/latest/kubernetes_deployment.html). Note that the instructions may be slightly behind the other documentation. diff --git a/charts/persistentvolumes/.helmignore b/charts/persistentvolumes/.helmignore deleted file mode 100644 index 0e8a0eb36f..0000000000 --- a/charts/persistentvolumes/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/charts/persistentvolumes/Chart.yaml b/charts/persistentvolumes/Chart.yaml deleted file mode 100644 index 39150be4e2..0000000000 --- a/charts/persistentvolumes/Chart.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: v2 -name: persistentvolumes -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: 1.16.0 diff --git a/charts/persistentvolumes/templates/_helpers.tpl b/charts/persistentvolumes/templates/_helpers.tpl deleted file mode 100644 index 4d7d8a233b..0000000000 --- a/charts/persistentvolumes/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "persistantvolumes.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -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 "persistantvolumes.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "persistantvolumes.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "persistantvolumes.labels" -}} -helm.sh/chart: {{ include "persistantvolumes.chart" . }} -{{ include "persistantvolumes.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "persistantvolumes.selectorLabels" -}} -app.kubernetes.io/name: {{ include "persistantvolumes.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "persistantvolumes.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "persistantvolumes.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/persistentvolumes/templates/seed-media-persistentvolumeclaim.yaml b/charts/persistentvolumes/templates/seed-media-persistentvolumeclaim.yaml deleted file mode 100644 index 00692bcf98..0000000000 --- a/charts/persistentvolumes/templates/seed-media-persistentvolumeclaim.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: seed-media - name: seed-media -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20Gi -status: {} diff --git a/charts/persistentvolumes/templates/seed-pgdata-persistentvolumeclaim.yaml b/charts/persistentvolumes/templates/seed-pgdata-persistentvolumeclaim.yaml deleted file mode 100644 index 2115e7670a..0000000000 --- a/charts/persistentvolumes/templates/seed-pgdata-persistentvolumeclaim.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - creationTimestamp: null - labels: - io.kompose.service: seed-pgdata - name: seed-pgdata -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 100Gi -status: {} diff --git a/charts/persistentvolumes/values.yaml b/charts/persistentvolumes/values.yaml deleted file mode 100644 index 89c2660687..0000000000 --- a/charts/persistentvolumes/values.yaml +++ /dev/null @@ -1,72 +0,0 @@ -# Default values for persistentvolumes. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - repository: nginx - pullPolicy: IfNotPresent - -imagePullSecrets: [] -nameOverride: '' -fullnameOverride: '' - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: - -podSecurityContext: - {} - # fsGroup: 2000 - -securityContext: - {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 - -service: - type: ClusterIP - port: 80 - -ingress: - enabled: false - annotations: - {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: [] - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - -resources: - {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/seed/.helmignore b/charts/seed/.helmignore deleted file mode 100644 index 0e8a0eb36f..0000000000 --- a/charts/seed/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/charts/seed/Chart.yaml b/charts/seed/Chart.yaml deleted file mode 100644 index 514029e3ea..0000000000 --- a/charts/seed/Chart.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: v2 -name: seed -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. -appVersion: 1.16.0 diff --git a/charts/seed/templates/NOTES.txt b/charts/seed/templates/NOTES.txt deleted file mode 100644 index 297809833d..0000000000 --- a/charts/seed/templates/NOTES.txt +++ /dev/null @@ -1,21 +0,0 @@ -1. Get the application URL by running these commands: -{{- if .Values.ingress.enabled }} -{{- range $host := .Values.ingress.hosts }} - {{- range .paths }} - http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }} - {{- end }} -{{- end }} -{{- else if contains "NodePort" .Values.service.type }} - export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "seed-stage.fullname" . }}) - export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") - echo http://$NODE_IP:$NODE_PORT -{{- else if contains "LoadBalancer" .Values.service.type }} - NOTE: It may take a few minutes for the LoadBalancer IP to be available. - You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "seed-stage.fullname" . }}' - export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "seed-stage.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") - echo http://$SERVICE_IP:{{ .Values.service.port }} -{{- else if contains "ClusterIP" .Values.service.type }} - export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "seed-stage.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") - echo "Visit http://127.0.0.1:8080 to use your application" - kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80 -{{- end }} diff --git a/charts/seed/templates/_helpers.tpl b/charts/seed/templates/_helpers.tpl deleted file mode 100644 index 805a308199..0000000000 --- a/charts/seed/templates/_helpers.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "seed-stage.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -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 "seed-stage.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "seed-stage.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Common labels -*/}} -{{- define "seed-stage.labels" -}} -helm.sh/chart: {{ include "seed-stage.chart" . }} -{{ include "seed-stage.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* -Selector labels -*/}} -{{- define "seed-stage.selectorLabels" -}} -app.kubernetes.io/name: {{ include "seed-stage.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} - -{{/* -Create the name of the service account to use -*/}} -{{- define "seed-stage.serviceAccountName" -}} -{{- if .Values.serviceAccount.create -}} - {{ default (include "seed-stage.fullname" .) .Values.serviceAccount.name }} -{{- else -}} - {{ default "default" .Values.serviceAccount.name }} -{{- end -}} -{{- end -}} diff --git a/charts/seed/templates/bsyncr-deployment.yaml b/charts/seed/templates/bsyncr-deployment.yaml deleted file mode 100644 index d41485d7cb..0000000000 --- a/charts/seed/templates/bsyncr-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: bsyncr - name: bsyncr -spec: - progressDeadlineSeconds: 2147483647 - replicas: 1 - revisionHistoryLimit: 2147483647 - selector: - matchLabels: - io.kompose.service: bsyncr - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: bsyncr - spec: - containers: - - args: - env: - - name: NOAA_TOKEN - value: - image: seedplatform/bsyncr-server:latest - imagePullPolicy: Always - ports: - - containerPort: 5000 - name: bsyncr - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - dnsPolicy: ClusterFirst - restartPolicy: Always - schedulerName: default-scheduler - securityContext: {} - terminationGracePeriodSeconds: 30 -status: {} diff --git a/charts/seed/templates/bsyncr-service.yaml b/charts/seed/templates/bsyncr-service.yaml deleted file mode 100644 index 0892970b07..0000000000 --- a/charts/seed/templates/bsyncr-service.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: bsyncr -spec: - selector: - io.kompose.service: bsyncr - ports: - - port: 5000 - targetPort: 5000 diff --git a/charts/seed/templates/db-postgres-deployment.yaml b/charts/seed/templates/db-postgres-deployment.yaml deleted file mode 100644 index 5e2988094f..0000000000 --- a/charts/seed/templates/db-postgres-deployment.yaml +++ /dev/null @@ -1,71 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: db-postgres - name: db-postgres -spec: - progressDeadlineSeconds: 2147483647 - replicas: 1 - revisionHistoryLimit: 2147483647 - selector: - matchLabels: - io.kompose.service: db-postgres - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: db-postgres - spec: - containers: - - env: - - name: POSTGRES_DB - value: seed - - name: POSTGRES_PASSWORD - value: super-secret-password - - name: POSTGRES_USER - value: seeduser - - name: PGDATA - value: /var/lib/postgresql/data/pgdata - image: timescale/timescaledb-postgis:latest-pg12 - imagePullPolicy: Always - name: db-postrgres - # command: ["tail"] - # args: ['-f', '/dev/null'] - ports: - - containerPort: 5432 - protocol: TCP - resources: - limits: - cpu: 300m - requests: - cpu: 300m - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - volumeMounts: - - mountPath: /var/lib/postgresql/data/db-files - name: seed-pgdata - - mountPath: /seed-backups/backups - name: seed-backups - dnsPolicy: ClusterFirst - restartPolicy: Always - schedulerName: default-scheduler - securityContext: {} - terminationGracePeriodSeconds: 30 - volumes: - - name: seed-pgdata - persistentVolumeClaim: - claimName: seed-pgdata - - name: seed-backups - hostPath: - path: /etc/seedbackups -status: {} diff --git a/charts/seed/templates/db-postgres-service.yaml b/charts/seed/templates/db-postgres-service.yaml deleted file mode 100644 index 499fc6ddd9..0000000000 --- a/charts/seed/templates/db-postgres-service.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: db-postgres - name: db-postgres -spec: - ports: - - name: "5432" - port: 5432 - targetPort: 5432 - selector: - io.kompose.service: db-postgres -status: - loadBalancer: {} diff --git a/charts/seed/templates/db-redis-deployment.yaml b/charts/seed/templates/db-redis-deployment.yaml deleted file mode 100644 index c3c24bff4b..0000000000 --- a/charts/seed/templates/db-redis-deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: db-redis - name: db-redis -spec: - progressDeadlineSeconds: 2147483647 - replicas: 1 - revisionHistoryLimit: 2147483647 - selector: - matchLabels: - io.kompose.service: db-redis - strategy: - rollingUpdate: - maxSurge: 1 - maxUnavailable: 1 - type: RollingUpdate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: db-redis - spec: - containers: - - image: redis:5.0.1 - imagePullPolicy: IfNotPresent - name: db-redis - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - dnsPolicy: ClusterFirst - restartPolicy: Always - schedulerName: default-scheduler - securityContext: {} - terminationGracePeriodSeconds: 30 -status: {} diff --git a/charts/seed/templates/redis-service.yaml b/charts/seed/templates/redis-service.yaml deleted file mode 100644 index b05a4644e4..0000000000 --- a/charts/seed/templates/redis-service.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: db-redis -spec: - selector: - io.kompose.service: db-redis - ports: - - port: 6379 - targetPort: 6379 diff --git a/charts/seed/templates/tests/test-connection.yaml b/charts/seed/templates/tests/test-connection.yaml deleted file mode 100644 index 9660f39b0f..0000000000 --- a/charts/seed/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "seed-stage.fullname" . }}-test-connection" - labels: - {{- include "seed-stage.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": test-success -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "seed-stage.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/charts/seed/templates/web-celery-deployment.yaml b/charts/seed/templates/web-celery-deployment.yaml deleted file mode 100644 index 8f96a0548b..0000000000 --- a/charts/seed/templates/web-celery-deployment.yaml +++ /dev/null @@ -1,81 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: web-celery - name: web-celery -spec: - progressDeadlineSeconds: 2147483647 - replicas: 1 - revisionHistoryLimit: 2147483647 - selector: - matchLabels: - io.kompose.service: web-celery - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: web-celery - spec: - containers: - - args: - - /seed/docker/start_celery_docker.sh - env: - - name: AWS_ACCESS_KEY_ID - value: - - name: AWS_SECRET_ACCESS_KEY - value: - - name: AWS_SES_REGION_NAME - value: us-west-2 - - name: AWS_SES_REGION_ENDPOINT - value: email.us-west-2.amazonaws.com - - name: SERVER_EMAIL - value: info@seed-platform.org - - name: DJANGO_SETTINGS_MODULE - value: config.settings.docker - - name: POSTGRES_DB - value: seed - - name: POSTGRES_PASSWORD - value: super-secret-password - - name: POSTGRES_PORT - value: "5432" - - name: POSTGRES_USER - value: seeduser - - name: SECRET_KEY - value: - - name: BSYNCR_SERVER_PORT - value: "5000" - - name: BSYNCR_SERVER_HOST - value: bsyncr - - name: BETTER_HOST - value: https://better-lbnl-development.herokuapp.com - - name: AUDIT_TEMPLATE_HOST - value: https://api.labworks.org - image: seedplatform/seed: - imagePullPolicy: Always - name: web-celery - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - volumeMounts: - - mountPath: /seed/media - name: seed-media - dnsPolicy: ClusterFirst - restartPolicy: Always - schedulerName: default-scheduler - securityContext: {} - terminationGracePeriodSeconds: 30 - volumes: - - name: seed-media - persistentVolumeClaim: - claimName: seed-media -status: {} diff --git a/charts/seed/templates/web-celery-service.yaml b/charts/seed/templates/web-celery-service.yaml deleted file mode 100644 index 9a1e3009ca..0000000000 --- a/charts/seed/templates/web-celery-service.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: web-celery -spec: - selector: - io.kompose.service: web-celery - ports: - - port: 5432 - targetPort: 5432 diff --git a/charts/seed/templates/web-deployment.yaml b/charts/seed/templates/web-deployment.yaml deleted file mode 100644 index ab82140bbe..0000000000 --- a/charts/seed/templates/web-deployment.yaml +++ /dev/null @@ -1,99 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: web - name: web -spec: - progressDeadlineSeconds: 2147483647 - replicas: 1 - revisionHistoryLimit: 2147483647 - selector: - matchLabels: - io.kompose.service: web - strategy: - type: Recreate - template: - metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: web - spec: - containers: - - env: - - name: AWS_ACCESS_KEY_ID - value: - - name: AWS_SECRET_ACCESS_KEY - value: - - name: AWS_SES_REGION_NAME - value: us-west-2 - - name: AWS_SES_REGION_ENDPOINT - value: email.us-west-2.amazonaws.com - - name: SERVER_EMAIL - value: info@seed-platform.org - - name: DJANGO_SETTINGS_MODULE - value: config.settings.docker - - name: POSTGRES_DB - value: seed - - name: POSTGRES_PASSWORD - value: super-secret-password - - name: POSTGRES_PORT - value: "5432" - - name: POSTGRES_USER - value: seeduser - - name: SECRET_KEY - # secret key generator -- https://djskgen.herokuapp.com - value: - - name: SEED_ADMIN_ORG - value: default - - name: SEED_ADMIN_PASSWORD - value: super-secret-password - - name: SEED_ADMIN_USER - value: user@seed-platform.org - - name: BSYNCR_SERVER_PORT - value: "5000" - - name: BSYNCR_SERVER_HOST - value: bsyncr - - name: BETTER_HOST - value: https://better-lbnl-development.herokuapp.com - - name: AUDIT_TEMPLATE_HOST - value: https://api.labworks.org - - name: SENTRY_JS_DSN - value: - - name: SENTRY_RAVEN_DSN - value: - - name: GOOGLE_RECAPTCHA_SITE_KEY - value: - - name: GOOGLE_RECAPTCHA_SECRET_KEY - value: - - name: INCLUDE_ACCT_REG - value: "TRUE" - image: seedplatform/seed:develop - imagePullPolicy: Always - name: web - ports: - - containerPort: 80 - protocol: TCP - resources: {} - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - volumeMounts: - - mountPath: /seed/media - name: seed-media - dnsPolicy: ClusterFirst - restartPolicy: Always - schedulerName: default-scheduler - securityContext: {} - terminationGracePeriodSeconds: 30 - volumes: - - name: seed-media - persistentVolumeClaim: - claimName: seed-media -status: {} diff --git a/charts/seed/templates/web-service.yaml b/charts/seed/templates/web-service.yaml deleted file mode 100644 index 076dd7a353..0000000000 --- a/charts/seed/templates/web-service.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - annotations: - kompose.cmd: kompose convert - kompose.version: 1.20.0 () - creationTimestamp: null - labels: - io.kompose.service: web - name: web -spec: - ports: - - name: "80" - port: 80 - targetPort: 80 - selector: - io.kompose.service: web - type: LoadBalancer diff --git a/charts/seed/values.yaml b/charts/seed/values.yaml deleted file mode 100644 index d7e7fc3a8c..0000000000 --- a/charts/seed/values.yaml +++ /dev/null @@ -1,72 +0,0 @@ -# Default values for seed-stage. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - repository: nginx - pullPolicy: IfNotPresent - -imagePullSecrets: [] -nameOverride: '' -fullnameOverride: '' - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: - -podSecurityContext: - {} - # fsGroup: 2000 - -securityContext: - {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 - -service: - type: ClusterIP - port: 80 - -ingress: - enabled: false - annotations: - {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: [] - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - -resources: - {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/charts/values.yaml b/charts/values.yaml deleted file mode 100644 index 5c7ff60bef..0000000000 --- a/charts/values.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -# Permit co-located instances for solitary minikube virtual machines. -antiAffinity: 'soft' - -# Shrink default JVM heap. -esJavaOpts: '-Xmx128m -Xms128m' - -# Allocate smaller chunks of memory per pod. -resources: - requests: - cpu: '100m' - memory: '512M' - limits: - cpu: '1000m' - memory: '512M' - -# Request smaller persistent volumes. -volumeClaimTemplate: - accessModes: ['ReadWriteOnce'] - storageClassName: 'standard' - resources: - requests: - storage: 100M