Browse Source

namespace

pull/82/head
brandon 4 years ago
parent
commit
6d66608ba1
  1. 1
      helm-guestbook/templates/deployment.yaml
  2. 4
      helm-guestbook/templates/namespace.yaml
  3. 1
      helm-guestbook/templates/service.yaml

1
helm-guestbook/templates/deployment.yaml

@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ template "helm-guestbook.fullname" . }} name: {{ template "helm-guestbook.fullname" . }}
namespace: {{ template "helm-guestbook.fullname" . }}
labels: labels:
app: {{ template "helm-guestbook.name" . }} app: {{ template "helm-guestbook.name" . }}
chart: {{ template "helm-guestbook.chart" . }} chart: {{ template "helm-guestbook.chart" . }}

4
helm-guestbook/templates/namespace.yaml

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: {{ template "helm-guestbook.fullname" . }}

1
helm-guestbook/templates/service.yaml

@ -2,6 +2,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ template "helm-guestbook.fullname" . }} name: {{ template "helm-guestbook.fullname" . }}
namespace: {{ template "helm-guestbook.fullname" . }}
labels: labels:
app: {{ template "helm-guestbook.name" . }} app: {{ template "helm-guestbook.name" . }}
chart: {{ template "helm-guestbook.chart" . }} chart: {{ template "helm-guestbook.chart" . }}

Loading…
Cancel
Save