diff --git a/templates/deployment.yaml.j2 b/templates/deployment.yaml.j2 index d498cc0..b3921fe 100644 --- a/templates/deployment.yaml.j2 +++ b/templates/deployment.yaml.j2 @@ -9,7 +9,7 @@ kind: Deployment {% endif %} metadata: name: {{ app_name }} - namespace: {{ namespace }} + namespace: "{{ namespace | string }}" labels: app: {{ app_name }} service: {{ app_name }} diff --git a/templates/pvc.yaml.j2 b/templates/pvc.yaml.j2 index b98fd32..5566c2c 100644 --- a/templates/pvc.yaml.j2 +++ b/templates/pvc.yaml.j2 @@ -4,7 +4,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ app_name }} - namespace: {{ namespace }} + namespace: "{{ namespace | string }}" spec: accessModes: - ReadWriteOnce diff --git a/templates/service.yaml.j2 b/templates/service.yaml.j2 index f6eb1d0..d15aef3 100644 --- a/templates/service.yaml.j2 +++ b/templates/service.yaml.j2 @@ -4,7 +4,7 @@ apiVersion: v1 kind: Service metadata: name: {{ app_name }} - namespace: {{ namespace }} + namespace: "{{ namespace | string }}" labels: app: {{ app_name }} service: {{ app_name }}