Skip to content

Commit

Permalink
fix: fix on chart without secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Vicente Giner Sanchez committed Feb 6, 2023
1 parent ed6d82e commit ce7854c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/one-beyond-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.3
version: 0.1.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 3 additions & 1 deletion charts/one-beyond-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ spec:
{{- with .Values.env }}
env:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
{{- with .Values.secrets }}
envFrom:
- secretRef:
name: {{ include "ob-service.fullname" . }}
{{- end }}
{{- with .Values.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 12 }}
Expand Down

0 comments on commit ce7854c

Please sign in to comment.