diff --git a/app/server/chart/backend/Chart.lock b/app/server/chart/backend/Chart.lock new file mode 100644 index 0000000000000000000000000000000000000000..2cf189d351ce0dedcb26649cf189364f80c7e9ca --- /dev/null +++ b/app/server/chart/backend/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: mongodb + repository: https://charts.bitnami.com/bitnami + version: 10.10.2 +digest: sha256:f1c853224061e8a0fc7fdbfa341318ae2a380b928c4650397b3dfb72ccfbe88f +generated: "2021-03-14T16:35:10.24238+01:00" diff --git a/app/server/chart/backend/Chart.yaml b/app/server/chart/backend/Chart.yaml index c700e89dc2d9a6fc50ff19042435574038659405..c237f6b3913412563b44fe99c2cdabd641620e36 100644 --- a/app/server/chart/backend/Chart.yaml +++ b/app/server/chart/backend/Chart.yaml @@ -1,24 +1,15 @@ apiVersion: v2 name: backend -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. +description: The backend service consisting of a node js server coupled to mongodb 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. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +# This is the chart version. SemVer! +version: '0.1.0' + +# This is the version number of the application being deployed. No neccessarily SemVer! +appVersion: 'v0.0.1' -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" +dependencies: + - name: mongodb + repository: https://charts.bitnami.com/bitnami + version: '10.10.2' diff --git a/app/server/chart/backend/charts/mongodb-10.10.2.tgz b/app/server/chart/backend/charts/mongodb-10.10.2.tgz new file mode 100644 index 0000000000000000000000000000000000000000..a72f27b6d7aa05f4e2298f351286894842aaa259 Binary files /dev/null and b/app/server/chart/backend/charts/mongodb-10.10.2.tgz differ diff --git a/app/server/chart/backend/values.yaml b/app/server/chart/backend/values.yaml index 01c11c5167107cc51c994ffe9666c8d41a9703b6..b000fdfe106274bc1a4b0b2d0730100fd8b748e4 100644 --- a/app/server/chart/backend/values.yaml +++ b/app/server/chart/backend/values.yaml @@ -1,14 +1,11 @@ -# Default values for backend. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - +# Backend value definitions: replicaCount: 1 image: - repository: node #! change to container registry if possible + repository: backend #! change to container registry if possible pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "" + tag: "v0.0.1" imagePullSecrets: [] nameOverride: "" @@ -77,3 +74,18 @@ nodeSelector: {} tolerations: [] affinity: {} + +# Depedencies definition +mongodb: + fullnameOverride: 'mongodb' + image: + registry: 'docker.io' + repository: 'bitnami/mongodb' + tag: '10.10.2' + service: + port: 3002 + # auth: + # rootPassword: mongodb + # persistence: + # enabled: true + # existingClaim: 'pvc-db'