Skip to content

Commit

Permalink
Bug 1625161 - Typecast namespace to string (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
dymurray authored Sep 4, 2018
1 parent 2a4775f commit bf3f98c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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/route.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: route.openshift.io/v1
kind: Route
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/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 bf3f98c

Please sign in to comment.