Skip to content

Commit

Permalink
Fix: gateway references in template conditionals
Browse files Browse the repository at this point in the history
After 52cf046
Bump the revad chart version to 0.1.2 for this
  • Loading branch information
SamuAlfageme committed May 29, 2020
1 parent 7db1240 commit 7955f6a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion revad/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: revad
description: The Reva daemon (revad) helm chart
type: application
version: 0.1.1
version: 0.1.2
appVersion: v0.1.0
icon: https://reva.link/logo.svg
home: https://reva.link
Expand Down
2 changes: 1 addition & 1 deletion revad/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
volumeMounts:
- name: {{ include "revad.fullname" . }}-configfiles
mountPath: /etc/revad/
{{- if .Values.gateway }}
{{- if .Values.service.gateway }}
- name: {{ .Chart.Name }}-gateway
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down
2 changes: 1 addition & 1 deletion revad/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
targetPort: grpc
protocol: TCP
name: grpc
{{- if .Values.gateway }}
{{- if .Values.service.gateway }}
- port: {{ .Values.service.gateway.grpc.port }}
targetPort: gateway
protocol: TCP
Expand Down

0 comments on commit 7955f6a

Please sign in to comment.