Skip to content

Commit 2ab5bf6

Browse files
committed
Fix helm
1 parent 2d98e02 commit 2ab5bf6

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

deploy/helm/templates/mailhog/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: {{ .Values.mailhog.name }}
5-
namespace: {{ .Values.mailhog.namespace }}
5+
namespace: {{ .Release.Namespace }}
66
labels:
77
release: {{ .Release.Name }}
88
{{- with .Values.mailhog.deploymentLabels }}

deploy/helm/templates/mailhog/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: {{ .Values.mailhog.webService.name }}-ingress
5-
namespace: {{ .Values.mailhog.namespace }}
5+
namespace: {{ .Release.Namespace }}
66
labels:
77
release: {{ .Release.Name }}
88
{{- with .Values.mailhog.webService.labels }}

deploy/helm/templates/mailhog/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: {{ .Values.mailhog.smtpService.name }}
5-
namespace: {{ .Values.mailhog.namespace }}
5+
namespace: {{ .Release.Namespace }}
66
labels:
77
release: {{ .Release.Name }}
88
{{- with .Values.mailhog.smtpService.labels }}

deploy/helm/templates/mailhog/webservice.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: {{ .Values.mailhog.webService.name }}
5-
namespace: {{ .Values.mailhog.namespace }}
5+
namespace: {{ .Release.Namespace }}
66
labels:
77
release: {{ .Release.Name }}
88
{{- with .Values.mailhog.webService.labels }}

deploy/helm/values.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ identity:
133133
app: crapi-identity
134134
serviceSelectorLabels:
135135
app: crapi-identity
136+
autoscaling:
137+
enabled: false
138+
minReplicas: 1
139+
maxReplicas: 3
140+
targetCPUUtilizationPercentage: 70
141+
targetMemoryUtilizationPercentage: 80
136142

137143
community:
138144
name: crapi-community
@@ -157,6 +163,12 @@ community:
157163
app: crapi-community
158164
serviceSelectorLabels:
159165
app: crapi-community
166+
autoscaling:
167+
enabled: false
168+
minReplicas: 1
169+
maxReplicas: 3
170+
targetCPUUtilizationPercentage: 70
171+
targetMemoryUtilizationPercentage: 80
160172

161173
workshop:
162174
name: crapi-workshop
@@ -279,7 +291,6 @@ mailhog:
279291
replicaCount: 1
280292
minReadySeconds: 10
281293
progressDeadlineSeconds: 600
282-
namespace: {{ .Release.Namespace }}
283294
smtpService:
284295
name: mailhog
285296
labels:
@@ -457,4 +468,4 @@ chromadb:
457468
statefulsetLabels:
458469
app: chromadb
459470
statefulsetSelectorMatchLabels:
460-
app: chromadb
471+
app: chromadb

0 commit comments

Comments
 (0)