Modular logistics and supply chain operating system (LSOS)
JavaScript driver-appfleet-managementfreight-managementinfrastructureinventory-managementlast-mile-deliverylogisticsondemandopen-sourceorder-managementroute-optimizationsupply-chain-managementtracking-and-monitoringtransport-management-systemtransportationwarehouse-management
Remove helm service hooks. Use DNS names for services
Eugene Dementyevcd9be057145a
diff --git a/infra/helm/templates/_helpers.tpl b/infra/helm/templates/_helpers.tplindex d921805a..580c61a4 100644--- a/infra/helm/templates/_helpers.tpl+++ b/infra/helm/templates/_helpers.tpl@@ -52,13 +52,13 @@ app.kubernetes.io/instance: {{ .Release.Name }}{{- define "helm.commonVariables" -}}- name: CACHE_URL- value: $(REDIS_SERVICE_PORT)/1+ value: tcp://redis-service.{{ .Release.Namespace }}.svc.cluster.local/1- name: CACHE_DRIVERvalue: redis- name: SOCKETCLUSTER_PORTvalue: "80"- name: SOCKETCLUSTER_HOST- value: $(SOCKETCLUSTER_SERVICE_HOST)+ value: socketcluster.{{ .Release.Namespace }}.svc.cluster.local{{- end }}{{/*Create the name of the service account to usediff --git a/infra/helm/templates/redis.yaml b/infra/helm/templates/redis.yamlindex 45dda8e2..8fa4a97e 100644--- a/infra/helm/templates/redis.yaml+++ b/infra/helm/templates/redis.yaml@@ -22,9 +22,6 @@ apiVersion: v1kind: Servicemetadata:name: redis-service- annotations:- helm.sh/hook: pre-install,pre-upgrade- helm.sh/hook-weight: "10"spec:selector:app: redisdiff --git a/infra/helm/templates/service.yaml b/infra/helm/templates/service.yamlindex c0c84ed5..7c32fbdc 100644--- a/infra/helm/templates/service.yaml+++ b/infra/helm/templates/service.yaml@@ -2,9 +2,6 @@ apiVersion: v1kind: Servicemetadata:name: {{ include "helm.fullname" . }}- annotations:- helm.sh/hook: pre-install,pre-upgrade- helm.sh/hook-weight: "10"labels:{{- include "helm.labels" . | nindent 4 }}spec:diff --git a/infra/helm/templates/socketcluster.yaml b/infra/helm/templates/socketcluster.yamlindex 894373f5..62feedcb 100644--- a/infra/helm/templates/socketcluster.yaml+++ b/infra/helm/templates/socketcluster.yaml@@ -25,9 +25,6 @@ apiVersion: v1kind: Servicemetadata:name: socketcluster- annotations:- helm.sh/hook: pre-install,pre-upgrade- helm.sh/hook-weight: "10"spec:selector:app: socketcluster