From 6bceef72ea389938cf57b4de20622a989ea98b33 Mon Sep 17 00:00:00 2001 From: saif_maruf Date: Thu, 7 Dec 2023 03:27:53 +0600 Subject: [PATCH 1/6] Renamed gauzy-api charts into ever-gauzy-api --- .../{gauzy-api => ever-gauzy-api}/.helmignore | 0 .../{gauzy-api => ever-gauzy-api}/Chart.lock | 0 .../{gauzy-api => ever-gauzy-api}/Chart.yaml | 4 +-- .../{gauzy-api => ever-gauzy-api}/README.md | 20 +++++++-------- .../charts/postgresql-13.2.9.tgz | Bin .../demo-env-deployment-with-ingress.yaml | 0 .../templates/_helpers.tpl | 24 +++++++++--------- .../templates/deployment.yaml | 14 +++++----- .../templates/ingress.yaml | 4 +-- .../templates/service.yaml | 6 ++--- .../templates/serviceaccount.yaml | 4 +-- .../{gauzy-api => ever-gauzy-api}/values.yaml | 2 +- 12 files changed, 39 insertions(+), 39 deletions(-) rename charts/{gauzy-api => ever-gauzy-api}/.helmignore (100%) rename charts/{gauzy-api => ever-gauzy-api}/Chart.lock (100%) rename charts/{gauzy-api => ever-gauzy-api}/Chart.yaml (90%) rename charts/{gauzy-api => ever-gauzy-api}/README.md (93%) rename charts/{gauzy-api => ever-gauzy-api}/charts/postgresql-13.2.9.tgz (100%) rename charts/{gauzy-api => ever-gauzy-api}/examples/demo-env-deployment-with-ingress.yaml (100%) rename charts/{gauzy-api => ever-gauzy-api}/templates/_helpers.tpl (75%) rename charts/{gauzy-api => ever-gauzy-api}/templates/deployment.yaml (94%) rename charts/{gauzy-api => ever-gauzy-api}/templates/ingress.yaml (94%) rename charts/{gauzy-api => ever-gauzy-api}/templates/service.yaml (58%) rename charts/{gauzy-api => ever-gauzy-api}/templates/serviceaccount.yaml (70%) rename charts/{gauzy-api => ever-gauzy-api}/values.yaml (99%) diff --git a/charts/gauzy-api/.helmignore b/charts/ever-gauzy-api/.helmignore similarity index 100% rename from charts/gauzy-api/.helmignore rename to charts/ever-gauzy-api/.helmignore diff --git a/charts/gauzy-api/Chart.lock b/charts/ever-gauzy-api/Chart.lock similarity index 100% rename from charts/gauzy-api/Chart.lock rename to charts/ever-gauzy-api/Chart.lock diff --git a/charts/gauzy-api/Chart.yaml b/charts/ever-gauzy-api/Chart.yaml similarity index 90% rename from charts/gauzy-api/Chart.yaml rename to charts/ever-gauzy-api/Chart.yaml index 53f96d1..cd222c4 100644 --- a/charts/gauzy-api/Chart.yaml +++ b/charts/ever-gauzy-api/Chart.yaml @@ -1,11 +1,11 @@ apiVersion: v2 -name: gauzy-api +name: ever-gauzy-api description: A Helm chart for Ever Gauzy Platform type: application version: 0.1.0 appVersion: "1.16.0" keywords: - - "gauzy-api" + - "ever-gauzy-api" dependencies: - name: postgresql condition: global.env.production diff --git a/charts/gauzy-api/README.md b/charts/ever-gauzy-api/README.md similarity index 93% rename from charts/gauzy-api/README.md rename to charts/ever-gauzy-api/README.md index 3edfc92..161b5ec 100644 --- a/charts/gauzy-api/README.md +++ b/charts/ever-gauzy-api/README.md @@ -1,6 +1,6 @@ ###### based on [Ever-Gauzy](https://github.com/ever-co/ever-gauzy) -# Ever-Gauzy-API +# Ever-Gauzy-Api [Ever-Gauzy](https://github.com/ever-co/ever-gauzy) An Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. @@ -14,7 +14,7 @@ ```console helm repo add ever-co https://charts.ever.co -helm install ever-co/gauzy-api +helm install ever-co/ever-gauzy-api ``` ## Introduction @@ -27,9 +27,9 @@ To install the chart with the release name `my-release`: ```console $ # Helm 2 -helm install --name my-release ever-co/gauzy-api +helm install --name my-release ever-co/ever-gauzy-api $ # Helm 3 -helm install my-release ever-co/gauzy-api +helm install my-release ever-co/ever-gauzy-api ``` The command deploys ever-gauzy on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation. @@ -54,7 +54,7 @@ The command removes nearly all the Kubernetes components associated with the cha | `global.baseUrls.api` | The base URL for the API | `""` | | `global.baseUrls.client` | The base URL for the client | `""` | | `replicaCount` | Number of ever-gauzy API replicas | `1` | -| `image.repository` | Repository for API image | `ghcr.io/ever-co/gauzy-api-demo` | +| `image.repository` | Repository for API image | `ghcr.io/ever-co/ever-gauzy-api-demo` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.tag` | Image tag | `"latest"` | | `imagePullSecrets` | List of Docker registry secret names | `[]` | @@ -152,10 +152,10 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm ```console $ # Helm 2 -helm install ever-co/gauzy-api --name my-release \ +helm install ever-co/ever-gauzy-api --name my-release \ --set global.env.production=true $ # Helm 3 -helm install my-release ever-co/gauzy-api \ +helm install my-release ever-co/ever-gauzy-api \ --set global.env.production=true ``` @@ -164,10 +164,10 @@ provided while installing the chart. For example: ```console $ # Helm 2 -helm install ever-co/gauzy-api --name my-release -f values.yaml +helm install ever-co/ever-gauzy-api --name my-release -f values.yaml $ # Helm 3 -helm install my-release ever-co/gauzy-api -f values.yaml +helm install my-release ever-co/ever-gauzy-api -f values.yaml ``` -> **Tip**: You can use the default [values.yaml](https://github.com/ever-co/ever-charts/blob/develop/charts/gauzy-api/values.yaml) and look on [examples](https://github.com/ever-co/ever-charts/tree/develop/charts/gauzy-api/examples). +> **Tip**: You can use the default [values.yaml](https://github.com/ever-co/ever-charts/blob/develop/charts/ever-gauzy-api/values.yaml) and look on [examples](https://github.com/ever-co/ever-charts/tree/develop/charts/ever-gauzy-api/examples). diff --git a/charts/gauzy-api/charts/postgresql-13.2.9.tgz b/charts/ever-gauzy-api/charts/postgresql-13.2.9.tgz similarity index 100% rename from charts/gauzy-api/charts/postgresql-13.2.9.tgz rename to charts/ever-gauzy-api/charts/postgresql-13.2.9.tgz diff --git a/charts/gauzy-api/examples/demo-env-deployment-with-ingress.yaml b/charts/ever-gauzy-api/examples/demo-env-deployment-with-ingress.yaml similarity index 100% rename from charts/gauzy-api/examples/demo-env-deployment-with-ingress.yaml rename to charts/ever-gauzy-api/examples/demo-env-deployment-with-ingress.yaml diff --git a/charts/gauzy-api/templates/_helpers.tpl b/charts/ever-gauzy-api/templates/_helpers.tpl similarity index 75% rename from charts/gauzy-api/templates/_helpers.tpl rename to charts/ever-gauzy-api/templates/_helpers.tpl index ea53484..e3b5e9c 100644 --- a/charts/gauzy-api/templates/_helpers.tpl +++ b/charts/ever-gauzy-api/templates/_helpers.tpl @@ -1,7 +1,7 @@ {{/* Expand the name of the chart. */}} -{{- define "gauzy-api.name" -}} +{{- define "ever-gauzy-api.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} {{- end }} @@ -10,7 +10,7 @@ Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). If release name contains chart name it will be used as a full name. */}} -{{- define "gauzy-api.fullname" -}} +{{- define "ever-gauzy-api.fullname" -}} {{- if .Values.fullnameOverride }} {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} {{- else }} @@ -26,16 +26,16 @@ If release name contains chart name it will be used as a full name. {{/* Create chart name and version as used by the chart label. */}} -{{- define "gauzy-api.chart" -}} +{{- define "ever-gauzy-api.chart" -}} {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} {{- end }} {{/* Common labels */}} -{{- define "gauzy-api.labels" -}} -helm.sh/chart: {{ include "gauzy-api.chart" . }} -{{ include "gauzy-api.selectorLabels" . }} +{{- define "ever-gauzy-api.labels" -}} +helm.sh/chart: {{ include "ever-gauzy-api.chart" . }} +{{ include "ever-gauzy-api.selectorLabels" . }} {{- if .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} @@ -45,17 +45,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{/* Selector labels */}} -{{- define "gauzy-api.selectorLabels" -}} -app.kubernetes.io/name: {{ include "gauzy-api.name" . }} +{{- define "ever-gauzy-api.selectorLabels" -}} +app.kubernetes.io/name: {{ include "ever-gauzy-api.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} {{- end }} {{/* Create the name of the service account to use */}} -{{- define "gauzy-api.serviceAccountName" -}} +{{- define "ever-gauzy-api.serviceAccountName" -}} {{- if .Values.serviceAccount.create }} -{{- default (include "gauzy-api.fullname" .) .Values.serviceAccount.name }} +{{- default (include "ever-gauzy-api.fullname" .) .Values.serviceAccount.name }} {{- else }} {{- default "default" .Values.serviceAccount.name }} {{- end }} @@ -64,14 +64,14 @@ Create the name of the service account to use {{/* Create a variable based on demo env */}} -{{- define "gauzy-api.demoenv" -}} +{{- define "ever-gauzy-api.demoenv" -}} {{- if not .Values.global.env.demo -}} true {{- else -}} false {{- end -}} {{- end -}} -{{- define "gauzy-api.nodeenv" -}} +{{- define "ever-gauzy-api.nodeenv" -}} {{- if not .Values.global.env.demo -}} development {{- else -}} diff --git a/charts/gauzy-api/templates/deployment.yaml b/charts/ever-gauzy-api/templates/deployment.yaml similarity index 94% rename from charts/gauzy-api/templates/deployment.yaml rename to charts/ever-gauzy-api/templates/deployment.yaml index 48e8f10..727c2da 100644 --- a/charts/gauzy-api/templates/deployment.yaml +++ b/charts/ever-gauzy-api/templates/deployment.yaml @@ -1,14 +1,14 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "gauzy-api.fullname" . }} + name: {{ include "ever-gauzy-api.fullname" . }} labels: - {{- include "gauzy-api.labels" . | nindent 4 }} + {{- include "ever-gauzy-api.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} selector: matchLabels: - {{- include "gauzy-api.selectorLabels" . | nindent 6 }} + {{- include "ever-gauzy-api.selectorLabels" . | nindent 6 }} template: metadata: {{- with .Values.podAnnotations }} @@ -16,7 +16,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: - {{- include "gauzy-api.labels" . | nindent 8 }} + {{- include "ever-gauzy-api.labels" . | nindent 8 }} {{- with .Values.podLabels }} {{- toYaml . | nindent 8 }} {{- end }} @@ -25,7 +25,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - serviceAccountName: {{ include "gauzy-api.serviceAccountName" . }} + serviceAccountName: {{ include "ever-gauzy-api.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: @@ -38,11 +38,11 @@ spec: {{- . | toYaml | trim | nindent 12 }} {{- end }} - name: DEMO - value: {{ include "gauzy-api.demoenv" . | quote }} + value: {{ include "ever-gauzy-api.demoenv" . | quote }} - name: API_HOST value: 0.0.0.0 - name: NODE_ENV - value: {{ include "gauzy-api.nodeenv" . | quote }} + value: {{ include "ever-gauzy-api.nodeenv" . | quote }} - name: API_BASE_URL value: {{ .Values.global.baseUrls.api | quote }} - name: CLIENT_BASE_URL diff --git a/charts/gauzy-api/templates/ingress.yaml b/charts/ever-gauzy-api/templates/ingress.yaml similarity index 94% rename from charts/gauzy-api/templates/ingress.yaml rename to charts/ever-gauzy-api/templates/ingress.yaml index 2af2cf2..d6b93bc 100644 --- a/charts/gauzy-api/templates/ingress.yaml +++ b/charts/ever-gauzy-api/templates/ingress.yaml @@ -1,5 +1,5 @@ {{- if .Values.ingress.enabled -}} -{{- $fullName := include "gauzy-api.fullname" . -}} +{{- $fullName := include "ever-gauzy-api.fullname" . -}} {{- $svcPort := .Values.service.port -}} {{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} {{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }} @@ -17,7 +17,7 @@ kind: Ingress metadata: name: {{ $fullName }} labels: - {{- include "gauzy-api.labels" . | nindent 4 }} + {{- include "ever-gauzy-api.labels" . | nindent 4 }} {{- with .Values.ingress.annotations }} annotations: {{- toYaml . | nindent 4 }} diff --git a/charts/gauzy-api/templates/service.yaml b/charts/ever-gauzy-api/templates/service.yaml similarity index 58% rename from charts/gauzy-api/templates/service.yaml rename to charts/ever-gauzy-api/templates/service.yaml index 921a923..bfbbadc 100644 --- a/charts/gauzy-api/templates/service.yaml +++ b/charts/ever-gauzy-api/templates/service.yaml @@ -1,9 +1,9 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "gauzy-api.fullname" . }} + name: {{ include "ever-gauzy-api.fullname" . }} labels: - {{- include "gauzy-api.labels" . | nindent 4 }} + {{- include "ever-gauzy-api.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} ports: @@ -12,4 +12,4 @@ spec: protocol: TCP name: http selector: - {{- include "gauzy-api.selectorLabels" . | nindent 4 }} + {{- include "ever-gauzy-api.selectorLabels" . | nindent 4 }} diff --git a/charts/gauzy-api/templates/serviceaccount.yaml b/charts/ever-gauzy-api/templates/serviceaccount.yaml similarity index 70% rename from charts/gauzy-api/templates/serviceaccount.yaml rename to charts/ever-gauzy-api/templates/serviceaccount.yaml index b27f4ab..453070b 100644 --- a/charts/gauzy-api/templates/serviceaccount.yaml +++ b/charts/ever-gauzy-api/templates/serviceaccount.yaml @@ -2,9 +2,9 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: {{ include "gauzy-api.serviceAccountName" . }} + name: {{ include "ever-gauzy-api.serviceAccountName" . }} labels: - {{- include "gauzy-api.labels" . | nindent 4 }} + {{- include "ever-gauzy-api.labels" . | nindent 4 }} {{- with .Values.serviceAccount.annotations }} annotations: {{- toYaml . | nindent 4 }} diff --git a/charts/gauzy-api/values.yaml b/charts/ever-gauzy-api/values.yaml similarity index 99% rename from charts/gauzy-api/values.yaml rename to charts/ever-gauzy-api/values.yaml index 25722af..ca72c07 100644 --- a/charts/gauzy-api/values.yaml +++ b/charts/ever-gauzy-api/values.yaml @@ -10,7 +10,7 @@ global: replicaCount: 1 image: - repository: ghcr.io/ever-co/gauzy-api-demo + repository: ghcr.io/ever-co/ever-gauzy-api-demo pullPolicy: IfNotPresent tag: "latest" imagePullSecrets: [] From 0305557e656bdd48cc40ea7cc4dec3195a1b6420 Mon Sep 17 00:00:00 2001 From: Ruslan K Date: Wed, 6 Dec 2023 22:31:44 +0100 Subject: [PATCH 2/6] Update README.md --- charts/ever-gauzy-api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/ever-gauzy-api/README.md b/charts/ever-gauzy-api/README.md index 161b5ec..604aa87 100644 --- a/charts/ever-gauzy-api/README.md +++ b/charts/ever-gauzy-api/README.md @@ -1,8 +1,8 @@ ###### based on [Ever-Gauzy](https://github.com/ever-co/ever-gauzy) -# Ever-Gauzy-Api +# Ever Gauzy API -[Ever-Gauzy](https://github.com/ever-co/ever-gauzy) An Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. +[Ever-Gauzy](https://github.com/ever-co/ever-gauzy) - Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. - Enterprise Resource Planning (ERP) software. - Customer Relationship Management (CRM) software. From 1c9be01b699d69a78acc075a8166136ef2bede77 Mon Sep 17 00:00:00 2001 From: Ruslan K Date: Wed, 6 Dec 2023 22:32:51 +0100 Subject: [PATCH 3/6] Update README.md --- charts/ever-gauzy/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/ever-gauzy/README.md b/charts/ever-gauzy/README.md index 0e212ec..38092a3 100644 --- a/charts/ever-gauzy/README.md +++ b/charts/ever-gauzy/README.md @@ -1,8 +1,8 @@ ###### based on [Ever-Gauzy](https://github.com/ever-co/ever-gauzy) -# Ever-Gauzy +# Ever Gauzy -[Ever-Gauzy](https://github.com/ever-co/ever-gauzy) An Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. +[Ever-Gauzy](https://github.com/ever-co/ever-gauzy) - Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. - Enterprise Resource Planning (ERP) software. - Customer Relationship Management (CRM) software. From 6f3e20cce1fa7d0e335bb1395c00292cbb92df84 Mon Sep 17 00:00:00 2001 From: Ruslan K Date: Wed, 6 Dec 2023 22:33:52 +0100 Subject: [PATCH 4/6] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b3b3451..9abcf35 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ Helm Charts for [Ever Platform](https://github.com/ever-co). Content: -- [Ever Gauzy Helm Chart](https://github.com/ever-co/ever-charts/tree/develop/charts/ever-gauzy) ([README](https://github.com/ever-co/ever-charts/blob/develop/charts/ever-gauzy/README.md)) +- [Ever Gauzy Platform Helm Chart](https://github.com/ever-co/ever-charts/tree/develop/charts/ever-gauzy) ([README](https://github.com/ever-co/ever-charts/blob/develop/charts/ever-gauzy/README.md)) +- [Ever Gauzy API Helm Chart](https://github.com/ever-co/ever-charts/tree/develop/charts/ever-gauzy-api) ([README](https://github.com/ever-co/ever-charts/blob/develop/charts/ever-gauzy-api/README.md)) ## 🔗 Links From 9beae7d23bbd10fdc6cc974e41b1547029f0ed30 Mon Sep 17 00:00:00 2001 From: Ruslan K Date: Wed, 6 Dec 2023 22:34:18 +0100 Subject: [PATCH 5/6] Update README.md --- charts/ever-gauzy-api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ever-gauzy-api/README.md b/charts/ever-gauzy-api/README.md index 604aa87..4c8d16b 100644 --- a/charts/ever-gauzy-api/README.md +++ b/charts/ever-gauzy-api/README.md @@ -2,7 +2,7 @@ # Ever Gauzy API -[Ever-Gauzy](https://github.com/ever-co/ever-gauzy) - Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. +[Ever Gauzy](https://github.com/ever-co/ever-gauzy) - Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. - Enterprise Resource Planning (ERP) software. - Customer Relationship Management (CRM) software. From bcfdb6660d1fe9423747bae6e17ea449ab033d51 Mon Sep 17 00:00:00 2001 From: Ruslan K Date: Wed, 6 Dec 2023 22:34:36 +0100 Subject: [PATCH 6/6] Update README.md --- charts/ever-gauzy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ever-gauzy/README.md b/charts/ever-gauzy/README.md index 38092a3..0d506b3 100644 --- a/charts/ever-gauzy/README.md +++ b/charts/ever-gauzy/README.md @@ -2,7 +2,7 @@ # Ever Gauzy -[Ever-Gauzy](https://github.com/ever-co/ever-gauzy) - Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. +[Ever Gauzy](https://github.com/ever-co/ever-gauzy) - Open Business Management Platform for Collaborative, On-Demand and Sharing Economies. - Enterprise Resource Planning (ERP) software. - Customer Relationship Management (CRM) software.