From 6fbc8899c73b00c572f2d0b866563a223e271148 Mon Sep 17 00:00:00 2001 From: Vilsol Date: Fri, 2 Oct 2020 17:07:00 +0300 Subject: [PATCH 1/7] GH Actions, Console, Store-Front --- ct.yaml => .github/ct.yaml | 2 +- .github/helm-docs.sh | 13 +++ .github/kubeval.sh | 16 +++ .github/workflows/release.yaml | 70 +++++++++++++ chart-testing/chart_schema.yaml | 18 +++- charts/access-control-srv/Chart.yaml | 6 +- charts/access-control-srv/README.md | 6 ++ charts/access-control-srv/values.yaml | 2 +- charts/console/.helmignore | 23 +++++ charts/console/Chart.yaml | 13 +++ charts/console/README.md | 46 +++++++++ charts/console/templates/_helpers.tpl | 76 ++++++++++++++ charts/console/templates/deployment.yaml | 73 ++++++++++++++ charts/console/templates/hpa.yaml | 28 ++++++ charts/console/templates/service.yaml | 15 +++ charts/console/templates/serviceaccount.yaml | 12 +++ charts/console/values.yaml | 98 +++++++++++++++++++ charts/identity-srv/Chart.yaml | 6 +- charts/identity-srv/README.md | 6 ++ charts/identity-srv/values.yaml | 2 +- charts/notification-srv/Chart.yaml | 6 +- charts/notification-srv/README.md | 6 ++ charts/notification-srv/values.yaml | 2 +- charts/ostorage-srv/Chart.yaml | 6 +- charts/ostorage-srv/README.md | 6 ++ charts/ostorage-srv/values.yaml | 2 +- charts/pdf-rendering-srv/Chart.yaml | 8 +- charts/pdf-rendering-srv/README.md | 11 ++- charts/pdf-rendering-srv/values.yaml | 13 --- charts/rendering-srv/Chart.yaml | 6 +- charts/rendering-srv/README.md | 8 +- charts/rendering-srv/values.yaml | 2 +- charts/scheduling-srv/Chart.yaml | 6 +- charts/scheduling-srv/README.md | 6 ++ charts/scheduling-srv/values.yaml | 2 +- charts/store-front/.helmignore | 23 +++++ charts/store-front/Chart.yaml | 13 +++ charts/store-front/README.md | 46 +++++++++ charts/store-front/templates/_helpers.tpl | 76 ++++++++++++++ charts/store-front/templates/deployment.yaml | 73 ++++++++++++++ charts/store-front/templates/hpa.yaml | 28 ++++++ charts/store-front/templates/service.yaml | 15 +++ .../store-front/templates/serviceaccount.yaml | 12 +++ charts/store-front/values.yaml | 98 +++++++++++++++++++ charts/system/Chart.yaml | 8 +- charts/system/README.md | 8 +- .../charts/arangodb-deployments/Chart.yaml | 3 - .../templates/deployment.yaml | 12 --- charts/system/templates/_helpers.tpl | 76 ++++++++++++++ charts/system/templates/job-migrations.yaml | 40 ++++++++ charts/system/values.yaml | 38 ++++++- 51 files changed, 1136 insertions(+), 54 deletions(-) rename ct.yaml => .github/ct.yaml (93%) create mode 100644 .github/helm-docs.sh create mode 100644 .github/kubeval.sh create mode 100644 .github/workflows/release.yaml create mode 100644 charts/console/.helmignore create mode 100644 charts/console/Chart.yaml create mode 100644 charts/console/README.md create mode 100644 charts/console/templates/_helpers.tpl create mode 100644 charts/console/templates/deployment.yaml create mode 100644 charts/console/templates/hpa.yaml create mode 100644 charts/console/templates/service.yaml create mode 100644 charts/console/templates/serviceaccount.yaml create mode 100644 charts/console/values.yaml create mode 100644 charts/store-front/.helmignore create mode 100644 charts/store-front/Chart.yaml create mode 100644 charts/store-front/README.md create mode 100644 charts/store-front/templates/_helpers.tpl create mode 100644 charts/store-front/templates/deployment.yaml create mode 100644 charts/store-front/templates/hpa.yaml create mode 100644 charts/store-front/templates/service.yaml create mode 100644 charts/store-front/templates/serviceaccount.yaml create mode 100644 charts/store-front/values.yaml delete mode 100644 charts/system/charts/arangodb-deployments/Chart.yaml delete mode 100644 charts/system/charts/arangodb-deployments/templates/deployment.yaml create mode 100644 charts/system/templates/_helpers.tpl create mode 100644 charts/system/templates/job-migrations.yaml diff --git a/ct.yaml b/.github/ct.yaml similarity index 93% rename from ct.yaml rename to .github/ct.yaml index a305852..efeafcf 100644 --- a/ct.yaml +++ b/.github/ct.yaml @@ -4,4 +4,4 @@ debug: true lint-conf: ./chart-testing/lintconf.yaml chart-yaml-schema: ./chart-testing/chart_schema.yaml chart-dirs: - - charts/* \ No newline at end of file + - charts \ No newline at end of file diff --git a/.github/helm-docs.sh b/.github/helm-docs.sh new file mode 100644 index 0000000..87d3ea5 --- /dev/null +++ b/.github/helm-docs.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -euxo pipefail + +HELM_DOCS_VERSION="0.15.0" + +# install helm-docs +curl --silent --show-error --fail --location --output /tmp/helm-docs.tar.gz https://github.com/norwoodj/helm-docs/releases/download/v"${HELM_DOCS_VERSION}"/helm-docs_"${HELM_DOCS_VERSION}"_Linux_x86_64.tar.gz +tar -xf /tmp/helm-docs.tar.gz helm-docs + +# validate docs +./helm-docs +git diff --exit-code \ No newline at end of file diff --git a/.github/kubeval.sh b/.github/kubeval.sh new file mode 100644 index 0000000..4cc4007 --- /dev/null +++ b/.github/kubeval.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +set -euxo pipefail + +CHART_DIRS="$(git diff --find-renames --name-only "$(git rev-parse --abbrev-ref HEAD)" remotes/origin/master -- charts | cut -d '/' -f 2 | uniq)" +KUBEVAL_VERSION="0.15.0" +SCHEMA_LOCATION="https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/" + +# install kubeval +curl --silent --show-error --fail --location --output /tmp/kubeval.tar.gz https://github.com/instrumenta/kubeval/releases/download/"${KUBEVAL_VERSION}"/kubeval-linux-amd64.tar.gz +tar -xf /tmp/kubeval.tar.gz kubeval + +# validate charts +for CHART_DIR in ${CHART_DIRS}; do + helm template charts/"${CHART_DIR}" | ./kubeval --strict --ignore-missing-schemas --kubernetes-version "${KUBERNETES_VERSION#v}" --schema-location "${SCHEMA_LOCATION}" +done \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..d5dec3c --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,70 @@ +name: Release Charts + +on: + push: + paths: + - 'charts/**' + pull_request: + paths: + - 'charts/**' + +jobs: + lint-chart: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Run chart-testing (lint) + uses: helm/chart-testing-action@master + with: + command: lint + config: .github/ct.yaml + + lint-docs: + runs-on: ubuntu-latest + needs: lint-chart + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Run helm-docs + run: .github/helm-docs.sh + + kubeval-chart: + runs-on: ubuntu-latest + needs: + - lint-chart + - lint-docs + strategy: + matrix: + k8s: + - v1.17.12 + - v1.18.9 + - v1.19.2 + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Run kubeval + env: + KUBERNETES_VERSION: ${{ matrix.k8s }} + run: .github/kubeval.sh + + release: + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/master' && github.event_name == 'push' + needs: + - lint-chart + - lint-docs + - kubeval-chart + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.0.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/chart-testing/chart_schema.yaml b/chart-testing/chart_schema.yaml index 6fba01a..97572d0 100644 --- a/chart-testing/chart_schema.yaml +++ b/chart-testing/chart_schema.yaml @@ -1,5 +1,5 @@ name: str() -home: str() +home: str(required=False) version: str() apiVersion: str() appVersion: any(str(), num(), required=False) @@ -7,6 +7,7 @@ description: str() keywords: list(str(), required=False) sources: list(str(), required=False) maintainers: list(include('maintainer'), required=False) +dependencies: list(include('dependency'), required=False) icon: str(required=False) engine: str(required=False) condition: str(required=False) @@ -14,8 +15,23 @@ tags: str(required=False) deprecated: bool(required=False) kubeVersion: str(required=False) annotations: map(str(), str(), required=False) +type: str(required=False) --- maintainer: name: str() email: str(required=False) url: str(required=False) +--- +dependency: + name: str() + version: str() + repository: str() + condition: str(required=False) + tags: list(str(), required=False) + enabled: bool(required=False) + import-values: any(list(str()), list(include('import-value')), required=False) + alias: str(required=False) +--- +import-value: + child: str() + parent: str() \ No newline at end of file diff --git a/charts/access-control-srv/Chart.yaml b/charts/access-control-srv/Chart.yaml index bdb29fb..de81adf 100644 --- a/charts/access-control-srv/Chart.yaml +++ b/charts/access-control-srv/Chart.yaml @@ -7,4 +7,8 @@ appVersion: 0.1.3 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/access-control-srv/index.html sources: - - https://github.com/restorecommerce/access-control-srv \ No newline at end of file + - https://github.com/restorecommerce/access-control-srv +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/access-control-srv/README.md b/charts/access-control-srv/README.md index 2a1ca30..d2f4c9e 100644 --- a/charts/access-control-srv/README.md +++ b/charts/access-control-srv/README.md @@ -6,6 +6,12 @@ A Helm chart for restorecommerce access-control-srv **Homepage:** +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + ## Source Code * diff --git a/charts/access-control-srv/values.yaml b/charts/access-control-srv/values.yaml index 8a0fa6d..5c1c460 100644 --- a/charts/access-control-srv/values.yaml +++ b/charts/access-control-srv/values.yaml @@ -108,4 +108,4 @@ config: # config.literal -- Provide the literal config through this string. # Has to be in a JSON format - literal: "" \ No newline at end of file + literal: "" diff --git a/charts/console/.helmignore b/charts/console/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/charts/console/.helmignore @@ -0,0 +1,23 @@ +# 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/console/Chart.yaml b/charts/console/Chart.yaml new file mode 100644 index 0000000..a72c2aa --- /dev/null +++ b/charts/console/Chart.yaml @@ -0,0 +1,13 @@ +apiVersion: v2 +name: console +description: A Helm chart for restorecommerce console +type: application +version: 0.1.0 +appVersion: 0.1.0 +icon: https://avatars0.githubusercontent.com/u/8339525 +sources: + - https://github.com/restorecommerce/console +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/console/README.md b/charts/console/README.md new file mode 100644 index 0000000..2fe2238 --- /dev/null +++ b/charts/console/README.md @@ -0,0 +1,46 @@ +# console + +![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) + +A Helm chart for restorecommerce console + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + +## Source Code + +* + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| affinity | object | `{}` | Specify the affinity for all pods | +| autoscaling.enabled | bool | `false` | Enable HPA | +| autoscaling.maxReplicas | int | `100` | Max amount of replicas for HPA | +| autoscaling.minReplicas | int | `1` | Min amount of replicas for HPA | +| autoscaling.targetCPUUtilizationPercentage | int | `80` | Target CPU usage for HPA | +| autoscaling.targetMemoryUtilizationPercentage | int | `80` | Target memory usage for HPA | +| env.extras | list | `[]` | Any extra environment variables appended to all pods | +| env.nodeEnv | string | `"production"` | The selected node environment and config | +| fullnameOverride | string | `""` | Full name override for all resources | +| image.pullPolicy | string | `"IfNotPresent"` | Pull policy of the deployment | +| image.repository | string | `"restorecommerce/console"` | Image to be used for deployment | +| image.tag | string | `"0.1.0"` | Image tag | +| imagePullSecrets | list | `[]` | List of secrets for images | +| nameOverride | string | `""` | Name override for all resources | +| nodeSelector | object | `{}` | Specify the nodeSelector for all pods | +| podAnnotations | object | `{}` | Any extra annotations for all pods | +| podSecurityContext | object | `{}` | Security context override for all pods | +| replicaCount | int | `1` | Replica count of the deployment | +| resources | object | `{}` | Any resource configuration applied to all pods | +| securityContext | object | `{}` | Security context override for all containers | +| service.port | int | `80` | Port to be exposed on the service | +| service.type | string | `"ClusterIP"` | Service type to be used | +| serviceAccount.annotations | object | `{}` | Annotations to add to the service account | +| serviceAccount.create | bool | `true` | Specifies whether a service account should be created | +| serviceAccount.name | string | `""` | The name of the service account to use. If not set and serviceAccount.create is true, a name is generated using the fullname template | +| tolerations | list | `[]` | Specify the tolerations for all pods | diff --git a/charts/console/templates/_helpers.tpl b/charts/console/templates/_helpers.tpl new file mode 100644 index 0000000..435129e --- /dev/null +++ b/charts/console/templates/_helpers.tpl @@ -0,0 +1,76 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "console.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 "console.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 "console.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "console.labels" -}} +helm.sh/chart: {{ include "console.chart" . }} +{{ include "console.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "console.selectorLabels" -}} +app.kubernetes.io/name: {{ include "console.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "console.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "console.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} + +{{/* +Create the NODE_ENV variable. +*/}} +{{- define "console.nodeEnv" -}} +{{- if .Values.config.name }} +{{- printf "%s:%s" .Values.env.nodeEnv (.Values.config.file | trimPrefix (printf "config_%s_" .Values.env.nodeEnv) | trimSuffix ".json") }} +{{- else if .Values.config.literal }} +{{- printf "%s:override" .Values.env.nodeEnv }} +{{- else }} +{{- printf "%s" .Values.env.nodeEnv }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/console/templates/deployment.yaml b/charts/console/templates/deployment.yaml new file mode 100644 index 0000000..d9bbd08 --- /dev/null +++ b/charts/console/templates/deployment.yaml @@ -0,0 +1,73 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "console.fullname" . }} + labels: + {{- include "console.labels" . | nindent 4 }} +spec: +{{- if not .Values.autoscaling.enabled }} + replicas: {{ .Values.replicaCount }} +{{- end }} + selector: + matchLabels: + {{- include "console.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "console.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "console.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: + - name: {{ .Chart.Name }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + ports: + - name: http + containerPort: 80 + protocol: TCP + {{- if .Values.env.extras }} + env: + {{- toYaml .Values.env.extras | nindent 12 }} + {{- end }} + livenessProbe: + initialDelaySeconds: 10 + periodSeconds: 30 + exec: + command: + - curl + - -I + - http://localhost:80/ + readinessProbe: + initialDelaySeconds: 10 + periodSeconds: 30 + exec: + command: + - curl + - -I + - http://localhost:80/ + resources: + {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} \ No newline at end of file diff --git a/charts/console/templates/hpa.yaml b/charts/console/templates/hpa.yaml new file mode 100644 index 0000000..3bb730a --- /dev/null +++ b/charts/console/templates/hpa.yaml @@ -0,0 +1,28 @@ +{{- if .Values.autoscaling.enabled }} +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "console.fullname" . }} + labels: + {{- include "console.labels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "console.fullname" . }} + minReplicas: {{ .Values.autoscaling.minReplicas }} + maxReplicas: {{ .Values.autoscaling.maxReplicas }} + metrics: + {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} + {{- end }} + {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} + {{- end }} +{{- end }} diff --git a/charts/console/templates/service.yaml b/charts/console/templates/service.yaml new file mode 100644 index 0000000..990d0db --- /dev/null +++ b/charts/console/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "console.fullname" . }} + labels: + {{- include "console.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: grpc + protocol: TCP + name: grpc + selector: + {{- include "console.selectorLabels" . | nindent 4 }} diff --git a/charts/console/templates/serviceaccount.yaml b/charts/console/templates/serviceaccount.yaml new file mode 100644 index 0000000..cbe93f5 --- /dev/null +++ b/charts/console/templates/serviceaccount.yaml @@ -0,0 +1,12 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "console.serviceAccountName" . }} + labels: + {{- include "console.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/charts/console/values.yaml b/charts/console/values.yaml new file mode 100644 index 0000000..66dc638 --- /dev/null +++ b/charts/console/values.yaml @@ -0,0 +1,98 @@ +# Default values for console. + +# replicaCount -- Replica count of the deployment +replicaCount: 1 + +image: + # image.repository -- Image to be used for deployment + repository: restorecommerce/console + + # image.pullPolicy -- Pull policy of the deployment + pullPolicy: IfNotPresent + + # image.tag -- Image tag + tag: 0.1.0 + +# imagePullSecrets -- List of secrets for images +imagePullSecrets: [] + +# nameOverride -- Name override for all resources +nameOverride: "" + +# fullnameOverride -- Full name override for all resources +fullnameOverride: "" + +serviceAccount: + # serviceAccount.create -- Specifies whether a service account should be created + create: true + + # serviceAccount.annotations -- Annotations to add to the service account + annotations: {} + + # serviceAccount.name -- The name of the service account to use. + # If not set and serviceAccount.create is true, a name is generated using the fullname template + name: "" + +# podAnnotations -- Any extra annotations for all pods +podAnnotations: {} + +# podSecurityContext -- Security context override for all pods +podSecurityContext: {} + # fsGroup: 2000 + +# securityContext -- Security context override for all containers +securityContext: {} + # capabilities: + # drop: + # - ALL + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + +service: + # service.type -- Service type to be used + type: ClusterIP + + # service.port -- Port to be exposed on the service + port: 80 + +# resources -- Any resource configuration applied to all pods +resources: {} + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +autoscaling: + # autoscaling.enabled -- Enable HPA + enabled: false + + # autoscaling.minReplicas -- Min amount of replicas for HPA + minReplicas: 1 + + # autoscaling.maxReplicas -- Max amount of replicas for HPA + maxReplicas: 100 + + # autoscaling.targetCPUUtilizationPercentage -- Target CPU usage for HPA + targetCPUUtilizationPercentage: 80 + + # autoscaling.targetMemoryUtilizationPercentage -- Target memory usage for HPA + targetMemoryUtilizationPercentage: 80 + +# nodeSelector -- Specify the nodeSelector for all pods +nodeSelector: {} + +# tolerations -- Specify the tolerations for all pods +tolerations: [] + +# affinity -- Specify the affinity for all pods +affinity: {} + +env: + # env.nodeEnv -- The selected node environment and config + nodeEnv: production + + # env.extras -- Any extra environment variables appended to all pods + extras: [] diff --git a/charts/identity-srv/Chart.yaml b/charts/identity-srv/Chart.yaml index 931ef73..9b9a622 100644 --- a/charts/identity-srv/Chart.yaml +++ b/charts/identity-srv/Chart.yaml @@ -7,4 +7,8 @@ appVersion: 0.1.5 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/identity-srv/index.html sources: - - https://github.com/restorecommerce/identity-srv \ No newline at end of file + - https://github.com/restorecommerce/identity-srv +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/identity-srv/README.md b/charts/identity-srv/README.md index 3ed8776..55421d7 100644 --- a/charts/identity-srv/README.md +++ b/charts/identity-srv/README.md @@ -6,6 +6,12 @@ A Helm chart for restorecommerce identity-srv **Homepage:** +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + ## Source Code * diff --git a/charts/identity-srv/values.yaml b/charts/identity-srv/values.yaml index 0f5319f..ebedc79 100644 --- a/charts/identity-srv/values.yaml +++ b/charts/identity-srv/values.yaml @@ -108,4 +108,4 @@ config: # config.literal -- Provide the literal config through this string. # Has to be in a JSON format - literal: "" \ No newline at end of file + literal: "" diff --git a/charts/notification-srv/Chart.yaml b/charts/notification-srv/Chart.yaml index a05261b..4e762e8 100644 --- a/charts/notification-srv/Chart.yaml +++ b/charts/notification-srv/Chart.yaml @@ -7,4 +7,8 @@ appVersion: 0.1.2 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/notification-srv/index.html sources: - - https://github.com/restorecommerce/notification-srv \ No newline at end of file + - https://github.com/restorecommerce/notification-srv +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/notification-srv/README.md b/charts/notification-srv/README.md index 3517096..191c278 100644 --- a/charts/notification-srv/README.md +++ b/charts/notification-srv/README.md @@ -6,6 +6,12 @@ A Helm chart for restorecommerce notification-srv **Homepage:** +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + ## Source Code * diff --git a/charts/notification-srv/values.yaml b/charts/notification-srv/values.yaml index eb0c9dd..737e49e 100644 --- a/charts/notification-srv/values.yaml +++ b/charts/notification-srv/values.yaml @@ -108,4 +108,4 @@ config: # config.literal -- Provide the literal config through this string. # Has to be in a JSON format - literal: "" \ No newline at end of file + literal: "" diff --git a/charts/ostorage-srv/Chart.yaml b/charts/ostorage-srv/Chart.yaml index 93d37e4..4a34af8 100644 --- a/charts/ostorage-srv/Chart.yaml +++ b/charts/ostorage-srv/Chart.yaml @@ -7,4 +7,8 @@ appVersion: 0.1.3 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/ostorage-srv/index.html sources: - - https://github.com/restorecommerce/ostorage-srv \ No newline at end of file + - https://github.com/restorecommerce/ostorage-srv +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/ostorage-srv/README.md b/charts/ostorage-srv/README.md index 989c363..ac9149e 100644 --- a/charts/ostorage-srv/README.md +++ b/charts/ostorage-srv/README.md @@ -6,6 +6,12 @@ A Helm chart for restorecommerce ostorage-srv **Homepage:** +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + ## Source Code * diff --git a/charts/ostorage-srv/values.yaml b/charts/ostorage-srv/values.yaml index f9347d5..22d6e00 100644 --- a/charts/ostorage-srv/values.yaml +++ b/charts/ostorage-srv/values.yaml @@ -108,4 +108,4 @@ config: # config.literal -- Provide the literal config through this string. # Has to be in a JSON format - literal: "" \ No newline at end of file + literal: "" diff --git a/charts/pdf-rendering-srv/Chart.yaml b/charts/pdf-rendering-srv/Chart.yaml index 414e087..01301b3 100644 --- a/charts/pdf-rendering-srv/Chart.yaml +++ b/charts/pdf-rendering-srv/Chart.yaml @@ -2,9 +2,13 @@ apiVersion: v2 name: pdf-rendering-srv description: A Helm chart for restorecommerce pdf-rendering-srv type: application -version: 0.1.0 +version: 0.1.1 appVersion: 0.1.0 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/pdf-rendering-srv/index.html sources: - - https://github.com/restorecommerce/pdf-rendering-srv \ No newline at end of file + - https://github.com/restorecommerce/pdf-rendering-srv +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/pdf-rendering-srv/README.md b/charts/pdf-rendering-srv/README.md index 2a97096..e20174b 100644 --- a/charts/pdf-rendering-srv/README.md +++ b/charts/pdf-rendering-srv/README.md @@ -1,11 +1,17 @@ # pdf-rendering-srv -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) A Helm chart for restorecommerce pdf-rendering-srv **Homepage:** +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + ## Source Code * @@ -20,9 +26,6 @@ A Helm chart for restorecommerce pdf-rendering-srv | autoscaling.minReplicas | int | `1` | Min amount of replicas for HPA | | autoscaling.targetCPUUtilizationPercentage | int | `80` | Target CPU usage for HPA | | autoscaling.targetMemoryUtilizationPercentage | int | `80` | Target memory usage for HPA | -| config.file | string | `"config_production_override.json"` | Name of the file in the config map | -| config.literal | string | `""` | Provide the literal config through this string. Has to be in a JSON format | -| config.name | string | `""` | Name of the config map to be mounted. If specified, config will be appended to the node environment automatically | | env.extras | list | `[]` | Any extra environment variables appended to all pods | | env.nodeEnv | string | `"production"` | The selected node environment and config | | fullnameOverride | string | `""` | Full name override for all resources | diff --git a/charts/pdf-rendering-srv/values.yaml b/charts/pdf-rendering-srv/values.yaml index bf80bc9..214510a 100644 --- a/charts/pdf-rendering-srv/values.yaml +++ b/charts/pdf-rendering-srv/values.yaml @@ -96,16 +96,3 @@ env: # env.extras -- Any extra environment variables appended to all pods extras: [] - -# Override the config of the container -config: - # config.name -- Name of the config map to be mounted. - # If specified, config will be appended to the node environment automatically - name: "" - - # config.file -- Name of the file in the config map - file: "config_production_override.json" - - # config.literal -- Provide the literal config through this string. - # Has to be in a JSON format - literal: "" \ No newline at end of file diff --git a/charts/rendering-srv/Chart.yaml b/charts/rendering-srv/Chart.yaml index 899a13a..620275e 100644 --- a/charts/rendering-srv/Chart.yaml +++ b/charts/rendering-srv/Chart.yaml @@ -7,4 +7,8 @@ appVersion: 0.1.2 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/rendering-srv/index.html sources: - - https://github.com/restorecommerce/rendering-srv \ No newline at end of file + - https://github.com/restorecommerce/rendering-srv +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/rendering-srv/README.md b/charts/rendering-srv/README.md index ebe6a5e..94a910f 100644 --- a/charts/rendering-srv/README.md +++ b/charts/rendering-srv/README.md @@ -6,6 +6,12 @@ A Helm chart for restorecommerce rendering-srv **Homepage:** +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + ## Source Code * @@ -26,7 +32,7 @@ A Helm chart for restorecommerce rendering-srv | env.extras | list | `[]` | Any extra environment variables appended to all pods | | env.nodeEnv | string | `"production"` | The selected node environment and config | | fullnameOverride | string | `""` | Full name override for all resources | -| handlebars | object | `{"helper-list.js":"module.exports = function listHandlebarsExtensions(hbs, opts) {\n hbs.registerHelper(\"list\", function(items, options) {\n const itemsAsHtml = items.map(item => \"
  • \" + options.fn(item) + \"
  • \");\n return \"
      \\n\" + itemsAsHtml.join(\"\\n\") + \"\\n
    \";\n });\n};"}` | Handlebar helpers to be injected in the container More information: https://github.com/restorecommerce/handlebars-helperized | +| handlebars | object | `{"helper-list.js":"module.exports = function listHandlebarsExtensions(hbs, opts) {\n hbs.registerHelper(\"list\", function(items, options) {\n const itemsAsHtml = items.map(item => \"
  • \" + options.fn(item) + \"
  • \");\n return \"
      \\n\" + itemsAsHtml.join(\"\\n\") + \"\\n
    \";\n });\n};\n"}` | Handlebar helpers to be injected in the container More information: https://github.com/restorecommerce/handlebars-helperized | | image.pullPolicy | string | `"IfNotPresent"` | Pull policy of the deployment | | image.repository | string | `"restorecommerce/rendering-srv"` | Image to be used for deployment | | image.tag | string | `"0.1.2"` | Image tag | diff --git a/charts/rendering-srv/values.yaml b/charts/rendering-srv/values.yaml index e55718e..2327aec 100644 --- a/charts/rendering-srv/values.yaml +++ b/charts/rendering-srv/values.yaml @@ -119,4 +119,4 @@ handlebars: const itemsAsHtml = items.map(item => "
  • " + options.fn(item) + "
  • "); return "
      \n" + itemsAsHtml.join("\n") + "\n
    "; }); - }; \ No newline at end of file + }; diff --git a/charts/scheduling-srv/Chart.yaml b/charts/scheduling-srv/Chart.yaml index 6442694..8f52c81 100644 --- a/charts/scheduling-srv/Chart.yaml +++ b/charts/scheduling-srv/Chart.yaml @@ -7,4 +7,8 @@ appVersion: 0.1.4 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/scheduling-srv/index.html sources: - - https://github.com/restorecommerce/scheduling-srv \ No newline at end of file + - https://github.com/restorecommerce/scheduling-srv +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/scheduling-srv/README.md b/charts/scheduling-srv/README.md index 9c074e2..dd59ef3 100644 --- a/charts/scheduling-srv/README.md +++ b/charts/scheduling-srv/README.md @@ -6,6 +6,12 @@ A Helm chart for restorecommerce scheduling-srv **Homepage:** +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + ## Source Code * diff --git a/charts/scheduling-srv/values.yaml b/charts/scheduling-srv/values.yaml index 51eab1e..896689e 100644 --- a/charts/scheduling-srv/values.yaml +++ b/charts/scheduling-srv/values.yaml @@ -108,4 +108,4 @@ config: # config.literal -- Provide the literal config through this string. # Has to be in a JSON format - literal: "" \ No newline at end of file + literal: "" diff --git a/charts/store-front/.helmignore b/charts/store-front/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/charts/store-front/.helmignore @@ -0,0 +1,23 @@ +# 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/store-front/Chart.yaml b/charts/store-front/Chart.yaml new file mode 100644 index 0000000..36509c4 --- /dev/null +++ b/charts/store-front/Chart.yaml @@ -0,0 +1,13 @@ +apiVersion: v2 +name: store-front +description: A Helm chart for restorecommerce store-front +type: application +version: 0.1.0 +appVersion: 0.1.0 +icon: https://avatars0.githubusercontent.com/u/8339525 +sources: + - https://github.com/restorecommerce/store-front +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io diff --git a/charts/store-front/README.md b/charts/store-front/README.md new file mode 100644 index 0000000..1d824fa --- /dev/null +++ b/charts/store-front/README.md @@ -0,0 +1,46 @@ +# store-front + +![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) + +A Helm chart for restorecommerce store-front + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + +## Source Code + +* + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| affinity | object | `{}` | Specify the affinity for all pods | +| autoscaling.enabled | bool | `false` | Enable HPA | +| autoscaling.maxReplicas | int | `100` | Max amount of replicas for HPA | +| autoscaling.minReplicas | int | `1` | Min amount of replicas for HPA | +| autoscaling.targetCPUUtilizationPercentage | int | `80` | Target CPU usage for HPA | +| autoscaling.targetMemoryUtilizationPercentage | int | `80` | Target memory usage for HPA | +| env.extras | list | `[]` | Any extra environment variables appended to all pods | +| env.nodeEnv | string | `"production"` | The selected node environment and config | +| fullnameOverride | string | `""` | Full name override for all resources | +| image.pullPolicy | string | `"IfNotPresent"` | Pull policy of the deployment | +| image.repository | string | `"restorecommerce/store-front"` | Image to be used for deployment | +| image.tag | string | `"0.1.0"` | Image tag | +| imagePullSecrets | list | `[]` | List of secrets for images | +| nameOverride | string | `""` | Name override for all resources | +| nodeSelector | object | `{}` | Specify the nodeSelector for all pods | +| podAnnotations | object | `{}` | Any extra annotations for all pods | +| podSecurityContext | object | `{}` | Security context override for all pods | +| replicaCount | int | `1` | Replica count of the deployment | +| resources | object | `{}` | Any resource configuration applied to all pods | +| securityContext | object | `{}` | Security context override for all containers | +| service.port | int | `80` | Port to be exposed on the service | +| service.type | string | `"ClusterIP"` | Service type to be used | +| serviceAccount.annotations | object | `{}` | Annotations to add to the service account | +| serviceAccount.create | bool | `true` | Specifies whether a service account should be created | +| serviceAccount.name | string | `""` | The name of the service account to use. If not set and serviceAccount.create is true, a name is generated using the fullname template | +| tolerations | list | `[]` | Specify the tolerations for all pods | diff --git a/charts/store-front/templates/_helpers.tpl b/charts/store-front/templates/_helpers.tpl new file mode 100644 index 0000000..5132b68 --- /dev/null +++ b/charts/store-front/templates/_helpers.tpl @@ -0,0 +1,76 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "store-front.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 "store-front.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 "store-front.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "store-front.labels" -}} +helm.sh/chart: {{ include "store-front.chart" . }} +{{ include "store-front.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "store-front.selectorLabels" -}} +app.kubernetes.io/name: {{ include "store-front.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "store-front.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "store-front.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} + +{{/* +Create the NODE_ENV variable. +*/}} +{{- define "store-front.nodeEnv" -}} +{{- if .Values.config.name }} +{{- printf "%s:%s" .Values.env.nodeEnv (.Values.config.file | trimPrefix (printf "config_%s_" .Values.env.nodeEnv) | trimSuffix ".json") }} +{{- else if .Values.config.literal }} +{{- printf "%s:override" .Values.env.nodeEnv }} +{{- else }} +{{- printf "%s" .Values.env.nodeEnv }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/store-front/templates/deployment.yaml b/charts/store-front/templates/deployment.yaml new file mode 100644 index 0000000..e152349 --- /dev/null +++ b/charts/store-front/templates/deployment.yaml @@ -0,0 +1,73 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "store-front.fullname" . }} + labels: + {{- include "store-front.labels" . | nindent 4 }} +spec: +{{- if not .Values.autoscaling.enabled }} + replicas: {{ .Values.replicaCount }} +{{- end }} + selector: + matchLabels: + {{- include "store-front.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "store-front.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "store-front.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: + - name: {{ .Chart.Name }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + ports: + - name: http + containerPort: 80 + protocol: TCP + {{- if .Values.env.extras }} + env: + {{- toYaml .Values.env.extras | nindent 12 }} + {{- end }} + livenessProbe: + initialDelaySeconds: 10 + periodSeconds: 30 + exec: + command: + - curl + - -I + - http://localhost:80/ + readinessProbe: + initialDelaySeconds: 10 + periodSeconds: 30 + exec: + command: + - curl + - -I + - http://localhost:80/ + resources: + {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} \ No newline at end of file diff --git a/charts/store-front/templates/hpa.yaml b/charts/store-front/templates/hpa.yaml new file mode 100644 index 0000000..0949fa9 --- /dev/null +++ b/charts/store-front/templates/hpa.yaml @@ -0,0 +1,28 @@ +{{- if .Values.autoscaling.enabled }} +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "store-front.fullname" . }} + labels: + {{- include "store-front.labels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "store-front.fullname" . }} + minReplicas: {{ .Values.autoscaling.minReplicas }} + maxReplicas: {{ .Values.autoscaling.maxReplicas }} + metrics: + {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} + {{- end }} + {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} + {{- end }} +{{- end }} diff --git a/charts/store-front/templates/service.yaml b/charts/store-front/templates/service.yaml new file mode 100644 index 0000000..94d2885 --- /dev/null +++ b/charts/store-front/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "store-front.fullname" . }} + labels: + {{- include "store-front.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: grpc + protocol: TCP + name: grpc + selector: + {{- include "store-front.selectorLabels" . | nindent 4 }} diff --git a/charts/store-front/templates/serviceaccount.yaml b/charts/store-front/templates/serviceaccount.yaml new file mode 100644 index 0000000..e830d64 --- /dev/null +++ b/charts/store-front/templates/serviceaccount.yaml @@ -0,0 +1,12 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "store-front.serviceAccountName" . }} + labels: + {{- include "store-front.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/charts/store-front/values.yaml b/charts/store-front/values.yaml new file mode 100644 index 0000000..58c5bfa --- /dev/null +++ b/charts/store-front/values.yaml @@ -0,0 +1,98 @@ +# Default values for store-front. + +# replicaCount -- Replica count of the deployment +replicaCount: 1 + +image: + # image.repository -- Image to be used for deployment + repository: restorecommerce/store-front + + # image.pullPolicy -- Pull policy of the deployment + pullPolicy: IfNotPresent + + # image.tag -- Image tag + tag: 0.1.0 + +# imagePullSecrets -- List of secrets for images +imagePullSecrets: [] + +# nameOverride -- Name override for all resources +nameOverride: "" + +# fullnameOverride -- Full name override for all resources +fullnameOverride: "" + +serviceAccount: + # serviceAccount.create -- Specifies whether a service account should be created + create: true + + # serviceAccount.annotations -- Annotations to add to the service account + annotations: {} + + # serviceAccount.name -- The name of the service account to use. + # If not set and serviceAccount.create is true, a name is generated using the fullname template + name: "" + +# podAnnotations -- Any extra annotations for all pods +podAnnotations: {} + +# podSecurityContext -- Security context override for all pods +podSecurityContext: {} + # fsGroup: 2000 + +# securityContext -- Security context override for all containers +securityContext: {} + # capabilities: + # drop: + # - ALL + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + +service: + # service.type -- Service type to be used + type: ClusterIP + + # service.port -- Port to be exposed on the service + port: 80 + +# resources -- Any resource configuration applied to all pods +resources: {} + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +autoscaling: + # autoscaling.enabled -- Enable HPA + enabled: false + + # autoscaling.minReplicas -- Min amount of replicas for HPA + minReplicas: 1 + + # autoscaling.maxReplicas -- Max amount of replicas for HPA + maxReplicas: 100 + + # autoscaling.targetCPUUtilizationPercentage -- Target CPU usage for HPA + targetCPUUtilizationPercentage: 80 + + # autoscaling.targetMemoryUtilizationPercentage -- Target memory usage for HPA + targetMemoryUtilizationPercentage: 80 + +# nodeSelector -- Specify the nodeSelector for all pods +nodeSelector: {} + +# tolerations -- Specify the tolerations for all pods +tolerations: [] + +# affinity -- Specify the affinity for all pods +affinity: {} + +env: + # env.nodeEnv -- The selected node environment and config + nodeEnv: production + + # env.extras -- Any extra environment variables appended to all pods + extras: [] diff --git a/charts/system/Chart.yaml b/charts/system/Chart.yaml index aac5826..5fe9f14 100644 --- a/charts/system/Chart.yaml +++ b/charts/system/Chart.yaml @@ -2,9 +2,13 @@ apiVersion: v2 name: system description: A Helm chart for the restorecommerce system type: application -version: 0.1.1 +version: 0.1.2 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://github.com/restorecommerce/system +maintainers: + - name: restorecommerce + url: https://restorecommerce.io/ + email: info@restorecommerce.io dependencies: - name: identity-srv version: 0.1.0 @@ -47,4 +51,4 @@ dependencies: repository: https://helm.elastic.co - name: kibana version: 7.9.1 - repository: https://helm.elastic.co \ No newline at end of file + repository: https://helm.elastic.co diff --git a/charts/system/README.md b/charts/system/README.md index b0c2c6c..99773f3 100644 --- a/charts/system/README.md +++ b/charts/system/README.md @@ -1,11 +1,17 @@ # system -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Helm chart for the restorecommerce system **Homepage:** +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| restorecommerce | info@restorecommerce.io | https://restorecommerce.io/ | + ## Requirements | Repository | Name | Version | diff --git a/charts/system/charts/arangodb-deployments/Chart.yaml b/charts/system/charts/arangodb-deployments/Chart.yaml deleted file mode 100644 index 5acc414..0000000 --- a/charts/system/charts/arangodb-deployments/Chart.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: arangodb-deployments -version: 0.0.1 -apiVersion: v1 \ No newline at end of file diff --git a/charts/system/charts/arangodb-deployments/templates/deployment.yaml b/charts/system/charts/arangodb-deployments/templates/deployment.yaml deleted file mode 100644 index 0f4250c..0000000 --- a/charts/system/charts/arangodb-deployments/templates/deployment.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: database.arangodb.com/v1alpha -kind: ArangoDeployment -metadata: - name: arangodb -spec: - mode: Single - auth: - jwtSecretName: None - externalAccess: - type: None - tls: - caSecretName: None \ No newline at end of file diff --git a/charts/system/templates/_helpers.tpl b/charts/system/templates/_helpers.tpl new file mode 100644 index 0000000..9c98aec --- /dev/null +++ b/charts/system/templates/_helpers.tpl @@ -0,0 +1,76 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "system.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 "system.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 "system.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "system.labels" -}} +helm.sh/chart: {{ include "system.chart" . }} +{{ include "system.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "system.selectorLabels" -}} +app.kubernetes.io/name: {{ include "system.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "system.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "system.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} + +{{/* +Create the NODE_ENV variable. +*/}} +{{- define "system.nodeEnv" -}} +{{- if .Values.config.name }} +{{- printf "%s:%s" .Values.env.nodeEnv (.Values.config.file | trimPrefix (printf "config_%s_" .Values.env.nodeEnv) | trimSuffix ".json") }} +{{- else if .Values.config.literal }} +{{- printf "%s:override" .Values.env.nodeEnv }} +{{- else }} +{{- printf "%s" .Values.env.nodeEnv }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/system/templates/job-migrations.yaml b/charts/system/templates/job-migrations.yaml new file mode 100644 index 0000000..8afe6fa --- /dev/null +++ b/charts/system/templates/job-migrations.yaml @@ -0,0 +1,40 @@ +{{- if .Values.jobs.migrations.enabled }} +apiVersion: batch/v1 +kind: Job +metadata: + name: {{ include "system.fullname" . }}-migrations + labels: + {{- include "system.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": post-install,post-upgrade + "helm.sh/hook-delete-policy": before-hook-creation +spec: + activeDeadlineSeconds: {{ .Values.jobs.migrations.activeDeadlineSeconds }} + backoffLimit: {{ .Values.jobs.migrations.backoffLimit }} + + template: + metadata: + labels: + {{- include "system.labels" . | nindent 8 }} + spec: + {{- if .Values.jobs.migrations.tolerations }} + tolerations: + {{- toYaml .Values.jobs.migrations.tolerations | nindent 8 }} + {{- end }} + securityContext: + runAsUser: {{ .Values.jobs.migrations.securityContext.runAsUser }} + fsGroup: {{ .Values.jobs.migrations.securityContext.fsGroup }} + restartPolicy: OnFailure + containers: + - name: migrations + image: "{{ .Values.jobs.migrations.image.repository }}:{{ .Values.jobs.migrations.image.tag }}" + args: + - echo + - hello + resources: + {{- toYaml .Values.jobs.migrations.resources | nindent 12 }} + {{- if .Values.jobs.migrations.nodeSelector }} + nodeSelector: + {{- toYaml .Values.jobs.migrations.nodeSelector | nindent 8 }} + {{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/system/values.yaml b/charts/system/values.yaml index f37c047..acd8584 100644 --- a/charts/system/values.yaml +++ b/charts/system/values.yaml @@ -1,4 +1,23 @@ +jobs: + migrations: + enabled: true + activeDeadlineSeconds: 3600 + backoffLimit: 6 + image: + pullSecrets: [] + pullPolicy: IfNotPresent + repository: busybox + tag: latest + resources: + requests: + cpu: 250m + memory: 200Mi + securityContext: + runAsUser: 1000 + fsGroup: 1000 + identity-srv: + fullnameOverride: identity-srv env: extras: - name: authorization__cache__host @@ -35,6 +54,7 @@ identity-srv: } notification-srv: + fullnameOverride: notification-srv env: extras: - name: redis__host @@ -67,6 +87,7 @@ notification-srv: } access-control-srv: + fullnameOverride: access-control-srv env: extras: - name: authorization__cache__host @@ -77,6 +98,7 @@ access-control-srv: value: http://elasticsearch-master:9200 ostorage-srv: + fullnameOverride: ostorage-srv env: extras: - name: authorization__cache__host @@ -125,6 +147,7 @@ ostorage-srv: } scheduling-srv: + fullnameOverride: scheduling-srv env: extras: - name: authorization__cache__host @@ -170,6 +193,7 @@ scheduling-srv: } rendering-srv: + fullnameOverride: rendering-srv env: extras: - name: redis__host @@ -199,13 +223,21 @@ rendering-srv: } } +pdf-rendering-srv: + fullnameOverride: pdf-rendering-srv + +zookeeper: + fullnameOverride: zookeeper + minio: + fullnameOverride: minio accessKey: REPLACE_ME_ACCESS secretKey: REPLACE_ME_SECRET persistence: size: 10Gi kafka: + fullnameOverride: kafka zookeeper: enabled: false externalZookeeper: @@ -215,6 +247,7 @@ kafka: autoCreateTopicsEnable: true kafka-manager: + fullnameOverride: kafka-manager zkHosts: "zookeeper:2181" applicationSecret: "REPLACE_ME" basicAuth: @@ -223,12 +256,13 @@ kafka-manager: password: "REPLACE_ME" redis: + fullnameOverride: redis usePassword: false elasticsearch: antiAffinity: "soft" volumeClaimTemplate: - accessModes: [ "ReadWriteOnce" ] + accessModes: ["ReadWriteOnce"] resources: requests: storage: 10Gi @@ -236,4 +270,4 @@ elasticsearch: kibana: fullnameOverride: kibana - elasticsearchHosts: "http://elasticsearch-master:9200" \ No newline at end of file + elasticsearchHosts: "http://elasticsearch-master:9200" From 37f2f3cadfb2f8572bcd43ab2d52bea65ff61284 Mon Sep 17 00:00:00 2001 From: Vilsol Date: Fri, 2 Oct 2020 17:10:20 +0300 Subject: [PATCH 2/7] Fix permissions, lint all charts --- .github/helm-docs.sh | 0 .github/kubeval.sh | 0 .github/workflows/release.yaml | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 .github/helm-docs.sh mode change 100644 => 100755 .github/kubeval.sh diff --git a/.github/helm-docs.sh b/.github/helm-docs.sh old mode 100644 new mode 100755 diff --git a/.github/kubeval.sh b/.github/kubeval.sh old mode 100644 new mode 100755 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d5dec3c..3e826ad 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: - name: Run chart-testing (lint) uses: helm/chart-testing-action@master with: - command: lint + command: lint --all config: .github/ct.yaml lint-docs: From f8bea85c2af4616b2df351464ea808cd18eea0ed Mon Sep 17 00:00:00 2001 From: Vilsol Date: Fri, 2 Oct 2020 17:20:31 +0300 Subject: [PATCH 3/7] Lint only changes --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3e826ad..d5dec3c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: - name: Run chart-testing (lint) uses: helm/chart-testing-action@master with: - command: lint --all + command: lint config: .github/ct.yaml lint-docs: From 55b6e99ec410344a1e4c16a63f9bec52b72438c8 Mon Sep 17 00:00:00 2001 From: Vilsol Date: Fri, 2 Oct 2020 17:27:22 +0300 Subject: [PATCH 4/7] Add helm repo for linting --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d5dec3c..5ab78eb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 + - name: Add restorecommerce helm repo + run: helm repo add restorecommerce https://restorecommerce.github.io/helm/ - name: Run chart-testing (lint) uses: helm/chart-testing-action@master with: From 39da58e46f851acf8c3af5f9abb3cd5777e17298 Mon Sep 17 00:00:00 2001 From: Vilsol Date: Fri, 2 Oct 2020 17:33:44 +0300 Subject: [PATCH 5/7] Add all missing helm repos --- .github/add-repos.sh | 9 +++++++++ .github/workflows/release.yaml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 .github/add-repos.sh diff --git a/.github/add-repos.sh b/.github/add-repos.sh new file mode 100755 index 0000000..2064a98 --- /dev/null +++ b/.github/add-repos.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -euxo pipefail + +helm repo add restorecommerce https://restorecommerce.github.io/helm/ +helm repo add minio https://helm.min.io +helm repo add bitnami https://charts.bitnami.com/bitnami +helm repo add elastic https://helm.elastic.co +helm repo add stable https://kubernetes-charts.storage.googleapis.com \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5ab78eb..dac3bfe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,8 +14,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 - - name: Add restorecommerce helm repo - run: helm repo add restorecommerce https://restorecommerce.github.io/helm/ + - name: Add helm repos + run: .github/add-repos.sh - name: Run chart-testing (lint) uses: helm/chart-testing-action@master with: From 0785147bf9af235ba41aea5d5f8ae376fc3251e2 Mon Sep 17 00:00:00 2001 From: Vilsol Date: Fri, 2 Oct 2020 17:37:31 +0300 Subject: [PATCH 6/7] Add chart repos to ct --- .github/ct.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/ct.yaml b/.github/ct.yaml index efeafcf..b1b02c2 100644 --- a/.github/ct.yaml +++ b/.github/ct.yaml @@ -4,4 +4,10 @@ debug: true lint-conf: ./chart-testing/lintconf.yaml chart-yaml-schema: ./chart-testing/chart_schema.yaml chart-dirs: - - charts \ No newline at end of file + - charts +chart-repos: + - restorecommerce=https://restorecommerce.github.io/helm/ + - minio=https://helm.min.io + - bitnami=https://charts.bitnami.com/bitnami + - elastic=https://helm.elastic.co + - stable=https://kubernetes-charts.storage.googleapis.com \ No newline at end of file From 13089cce20292e3dc527469962693c601136d5c6 Mon Sep 17 00:00:00 2001 From: Vilsol Date: Fri, 2 Oct 2020 17:41:04 +0300 Subject: [PATCH 7/7] Version bump charts --- charts/access-control-srv/Chart.yaml | 2 +- charts/access-control-srv/README.md | 2 +- charts/identity-srv/Chart.yaml | 2 +- charts/identity-srv/README.md | 2 +- charts/notification-srv/Chart.yaml | 2 +- charts/notification-srv/README.md | 2 +- charts/ostorage-srv/Chart.yaml | 2 +- charts/ostorage-srv/README.md | 2 +- charts/rendering-srv/Chart.yaml | 2 +- charts/rendering-srv/README.md | 2 +- charts/scheduling-srv/Chart.yaml | 2 +- charts/scheduling-srv/README.md | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/charts/access-control-srv/Chart.yaml b/charts/access-control-srv/Chart.yaml index de81adf..7894d86 100644 --- a/charts/access-control-srv/Chart.yaml +++ b/charts/access-control-srv/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: access-control-srv description: A Helm chart for restorecommerce access-control-srv type: application -version: 0.1.0 +version: 0.1.1 appVersion: 0.1.3 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/access-control-srv/index.html diff --git a/charts/access-control-srv/README.md b/charts/access-control-srv/README.md index d2f4c9e..f88768e 100644 --- a/charts/access-control-srv/README.md +++ b/charts/access-control-srv/README.md @@ -1,6 +1,6 @@ # access-control-srv -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.3](https://img.shields.io/badge/AppVersion-0.1.3-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.3](https://img.shields.io/badge/AppVersion-0.1.3-informational?style=flat-square) A Helm chart for restorecommerce access-control-srv diff --git a/charts/identity-srv/Chart.yaml b/charts/identity-srv/Chart.yaml index 9b9a622..66c5d45 100644 --- a/charts/identity-srv/Chart.yaml +++ b/charts/identity-srv/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: identity-srv description: A Helm chart for restorecommerce identity-srv type: application -version: 0.1.0 +version: 0.1.1 appVersion: 0.1.5 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/identity-srv/index.html diff --git a/charts/identity-srv/README.md b/charts/identity-srv/README.md index 55421d7..f6dedb3 100644 --- a/charts/identity-srv/README.md +++ b/charts/identity-srv/README.md @@ -1,6 +1,6 @@ # identity-srv -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.5](https://img.shields.io/badge/AppVersion-0.1.5-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.5](https://img.shields.io/badge/AppVersion-0.1.5-informational?style=flat-square) A Helm chart for restorecommerce identity-srv diff --git a/charts/notification-srv/Chart.yaml b/charts/notification-srv/Chart.yaml index 4e762e8..3e910c0 100644 --- a/charts/notification-srv/Chart.yaml +++ b/charts/notification-srv/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: notification-srv description: A Helm chart for restorecommerce notification-srv type: application -version: 0.1.0 +version: 0.1.1 appVersion: 0.1.2 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/notification-srv/index.html diff --git a/charts/notification-srv/README.md b/charts/notification-srv/README.md index 191c278..d882ea9 100644 --- a/charts/notification-srv/README.md +++ b/charts/notification-srv/README.md @@ -1,6 +1,6 @@ # notification-srv -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.2](https://img.shields.io/badge/AppVersion-0.1.2-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.2](https://img.shields.io/badge/AppVersion-0.1.2-informational?style=flat-square) A Helm chart for restorecommerce notification-srv diff --git a/charts/ostorage-srv/Chart.yaml b/charts/ostorage-srv/Chart.yaml index 4a34af8..ad554d5 100644 --- a/charts/ostorage-srv/Chart.yaml +++ b/charts/ostorage-srv/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: ostorage-srv description: A Helm chart for restorecommerce ostorage-srv type: application -version: 0.1.0 +version: 0.1.1 appVersion: 0.1.3 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/ostorage-srv/index.html diff --git a/charts/ostorage-srv/README.md b/charts/ostorage-srv/README.md index ac9149e..a332d53 100644 --- a/charts/ostorage-srv/README.md +++ b/charts/ostorage-srv/README.md @@ -1,6 +1,6 @@ # ostorage-srv -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.3](https://img.shields.io/badge/AppVersion-0.1.3-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.3](https://img.shields.io/badge/AppVersion-0.1.3-informational?style=flat-square) A Helm chart for restorecommerce ostorage-srv diff --git a/charts/rendering-srv/Chart.yaml b/charts/rendering-srv/Chart.yaml index 620275e..52df15e 100644 --- a/charts/rendering-srv/Chart.yaml +++ b/charts/rendering-srv/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: rendering-srv description: A Helm chart for restorecommerce rendering-srv type: application -version: 0.1.0 +version: 0.1.1 appVersion: 0.1.2 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/rendering-srv/index.html diff --git a/charts/rendering-srv/README.md b/charts/rendering-srv/README.md index 94a910f..f30be10 100644 --- a/charts/rendering-srv/README.md +++ b/charts/rendering-srv/README.md @@ -1,6 +1,6 @@ # rendering-srv -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.2](https://img.shields.io/badge/AppVersion-0.1.2-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.2](https://img.shields.io/badge/AppVersion-0.1.2-informational?style=flat-square) A Helm chart for restorecommerce rendering-srv diff --git a/charts/scheduling-srv/Chart.yaml b/charts/scheduling-srv/Chart.yaml index 8f52c81..73f02c8 100644 --- a/charts/scheduling-srv/Chart.yaml +++ b/charts/scheduling-srv/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: scheduling-srv description: A Helm chart for restorecommerce scheduling-srv type: application -version: 0.1.0 +version: 0.1.1 appVersion: 0.1.4 icon: https://avatars0.githubusercontent.com/u/8339525 home: https://docs.restorecommerce.io/scheduling-srv/index.html diff --git a/charts/scheduling-srv/README.md b/charts/scheduling-srv/README.md index dd59ef3..dae6e5b 100644 --- a/charts/scheduling-srv/README.md +++ b/charts/scheduling-srv/README.md @@ -1,6 +1,6 @@ # scheduling-srv -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.4](https://img.shields.io/badge/AppVersion-0.1.4-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.4](https://img.shields.io/badge/AppVersion-0.1.4-informational?style=flat-square) A Helm chart for restorecommerce scheduling-srv