Skip to content

Commit a7fc745

Browse files
committed
Sample value override file
1 parent cf61401 commit a7fc745

File tree

5 files changed

+34
-4
lines changed

5 files changed

+34
-4
lines changed

deploy/helm/templates/web/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
image: {{ .Values.web.image }}:{{ .Chart.AppVersion }}
2424
imagePullPolicy: {{ .Values.imagePullPolicy }}
2525
ports:
26-
- containerPort: {{ .Values.web.port }}
26+
- containerPort: 80
2727
{{- if .Values.web.resources }}
2828
resources:
2929
{{- toYaml .Values.web.resources | nindent 12 }}

deploy/helm/templates/web/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- toYaml .Values.web.service.labels | nindent 4 }}
88
spec:
99
ports:
10-
- port: {{ .Values.web.service.port }}
10+
- port: {{ .Values.web.port }}
1111
targetPort: 80
1212
nodePort: {{ .Values.web.service.nodePort }}
1313
name: nginx
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Default values for crapi.
2+
# This is a YAML-formatted file.
3+
# Declare variables to be passed into your templates.
4+
replicaCount: 1
5+
imagePullPolicy: Always
6+
7+
enableLog4j: true
8+
enableShellInjection: true
9+
10+
web:
11+
image: crapi/crapi-web
12+
port: 80
13+
identity:
14+
image: crapi/crapi-identity
15+
port: 8080
16+
community:
17+
image: crapi/crapi-community
18+
port: 8087
19+
workshop:
20+
image: crapi/crapi-workshop
21+
port: 8000
22+
mailhog:
23+
image: crapi/mailhog
24+
webPort: 8025
25+
mongodb:
26+
image: mongo
27+
version: 5.0
28+
postgresdb:
29+
image: postgres
30+
version: 14

deploy/helm/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ web:
2020
name: crapi-web
2121
labels:
2222
app: crapi-web
23-
port: 8880
2423
nodePort: 30080
2524
config:
2625
name: crapi-web-configmap

deploy/k8s/base/identity/config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ data:
1414
DB_PORT: "5432"
1515
APP_NAME: "crapi-identity"
1616
ENABLE_SHELL_INJECTION: "false"
17+
ENABLE_LOG4J: "true"
1718
MAILHOG_HOST: mailhog
1819
MAILHOG_PORT: "1025"
1920
MAILHOG_DOMAIN: "example.com"
@@ -24,4 +25,4 @@ data:
2425
SMTP_FROM: "[email protected]"
2526
SMTP_AUTH: "true"
2627
SMTP_STARTTLS: "true"
27-
SERVER_PORT: "8080"
28+
SERVER_PORT: "8080"

0 commit comments

Comments
 (0)