Skip to content

Commit a6f88ff

Browse files
authored
Bug 1625161 - Typecast namespace to string (#64)
1 parent deb5e95 commit a6f88ff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

templates/deployment.yaml.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ kind: Deployment
99
{% endif %}
1010
metadata:
1111
name: {{ app_name }}
12-
namespace: {{ namespace }}
12+
namespace: "{{ namespace | string }}"
1313
labels:
1414
app: {{ app_name }}
1515
service: {{ app_name }}

templates/pvc.yaml.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: v1
44
kind: PersistentVolumeClaim
55
metadata:
66
name: {{ app_name }}
7-
namespace: {{ namespace }}
7+
namespace: "{{ namespace | string }}"
88
spec:
99
accessModes:
1010
- ReadWriteOnce

templates/service.yaml.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apiVersion: v1
44
kind: Service
55
metadata:
66
name: {{ app_name }}
7-
namespace: {{ namespace }}
7+
namespace: "{{ namespace | string }}"
88
labels:
99
app: {{ app_name }}
1010
service: {{ app_name }}

0 commit comments

Comments
 (0)