Skip to content

Commit 446ae79

Browse files
Merge branch 'main' into feat/lfxv2-888-auth-flows-docs
2 parents fe7db90 + 49a48ce commit 446ae79

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

charts/lfx-v2-auth-service/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ apiVersion: v2
55
name: lfx-v2-auth-service
66
description: LFX Platform V2 Auth Service chart
77
type: application
8-
version: 0.3.2
8+
version: 0.3.3
99
appVersion: "latest"

charts/lfx-v2-auth-service/templates/deployment.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
name: {{ .Chart.Name }}
88
namespace: {{ .Release.Namespace }}
99
spec:
10-
replicas: 1
10+
replicas: {{ .Values.replicaCount }}
1111
selector:
1212
matchLabels:
1313
app: {{ .Chart.Name }}
@@ -38,6 +38,10 @@ spec:
3838
ports:
3939
- containerPort: {{ .Values.service.port }}
4040
name: web
41+
{{- if .Values.resources }}
42+
resources:
43+
{{- toYaml .Values.resources | nindent 12 }}
44+
{{- end }}
4145
livenessProbe:
4246
httpGet:
4347
path: /livez

charts/lfx-v2-auth-service/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Copyright The Linux Foundation and each contributor to LFX.
22
# SPDX-License-Identifier: MIT
33
---
4+
# replicaCount is the number of replicas for the deployment
5+
replicaCount: 3
6+
47
image:
58
repository: ghcr.io/linuxfoundation/lfx-v2-auth-service/server
69
# tag is the container image tag (overrides appVersion from Chart.yaml)
@@ -13,6 +16,15 @@ service:
1316
# port is the service port
1417
port: 8080
1518

19+
# resources is the configuration for resource requests and limits
20+
resources:
21+
limits:
22+
cpu: 500m
23+
memory: 512Mi
24+
requests:
25+
cpu: 100m
26+
memory: 128Mi
27+
1628
nats:
1729
# url is the URL of the NATS server
1830
url: nats://lfx-platform-nats.lfx.svc.cluster.local:4222

0 commit comments

Comments
 (0)