Skip to content

Commit

Permalink
Bug 1625161 - Typecast namespace to string (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
dymurray committed Sep 4, 2018
1 parent 9e27d87 commit 83eb0ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ kind: Deployment
{% endif %}
metadata:
name: {{ app_name }}
namespace: {{ namespace }}
namespace: "{{ namespace | string }}"
labels:
app: {{ app_name }}
service: {{ app_name }}
Expand Down
2 changes: 1 addition & 1 deletion templates/pvc.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ app_name }}
namespace: {{ namespace }}
namespace: "{{ namespace | string }}"
spec:
accessModes:
- ReadWriteOnce
Expand Down
2 changes: 1 addition & 1 deletion templates/service.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ app_name }}
namespace : {{ namespace }}
namespace : "{{ namespace | string }}"
labels:
app: {{ app_name }}
service: {{ app_name }}
Expand Down

0 comments on commit 83eb0ff

Please sign in to comment.