Skip to content

Commit ef1db2c

Browse files
authored
fix: error with deployment env (#27)
1 parent a877fb2 commit ef1db2c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/tibiadata-api-go/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type: application
2424
# This is the chart version. This version number should be incremented each time you make changes
2525
# to the chart and its templates, including the app version.
2626
# Versions are expected to follow Semantic Versioning (https://semver.org/)
27-
version: 1.2.7
27+
version: 1.2.8
2828

2929
# This is the version number of the application being deployed. This version number should be
3030
# incremented each time you make changes to the application. Versions are not expected to

charts/tibiadata-api-go/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ spec:
6767
valueFrom:
6868
fieldRef:
6969
fieldPath: metadata.uid
70+
{{- if .Values.env }}
7071
{{- toYaml .Values.env | nindent 12 }}
72+
{{- end }}
7173
envFrom:
7274
- configMapRef:
7375
name: {{ include "tibiadata-api-go.fullname" . }}

charts/tibiadata-api-go/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ configMap:
3737
TIBIADATA_HOST: undefined
3838
TIBIADATA_RESTRICTION_MODE: false
3939

40+
env: []
41+
4042
podAnnotations: {}
4143

4244
podSecurityContext:

0 commit comments

Comments
 (0)