Browse Source

fix email

EUGENIO SOUZA CARVALHO 2 years ago
parent
commit
d8bd5a7b4c
4 changed files with 4 additions and 3 deletions
  1. 1 1
      templates/deployment.yaml
  2. 1 1
      templates/ingress.yaml
  3. 1 0
      templates/service.yaml
  4. 1 1
      values.yaml

+ 1 - 1
templates/deployment.yaml

@@ -2,7 +2,7 @@ kind: Deployment
 apiVersion: apps/v1
 metadata:
   name: {{ template "deploy-name" . }}
-  # namespace: {{ .Values.namespace }}
+  namespace: {{ .Values.namespace }}
   labels:
     app: {{ template "app-name" . }}
     release: {{ .Release.Name }}

+ 1 - 1
templates/ingress.yaml

@@ -2,9 +2,9 @@ apiVersion: traefik.containo.us/v1alpha1
 kind: IngressRoute
 metadata:
   name: {{ template "app-name" . }}-ingress
+  namespace: {{ .Values.namespace }}
   annotations:
     traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
-  # namespace: argocd
 spec:
   entryPoints:
     - websecure

+ 1 - 0
templates/service.yaml

@@ -2,6 +2,7 @@ apiVersion: v1
 kind: Service
 metadata:
   name: {{ template "app-name" . }}
+  namespace: {{ .Values.namespace }}
   labels:
     app: {{ template "app-name" . }}
     release: {{ .Release.Name }}

+ 1 - 1
values.yaml

@@ -3,7 +3,7 @@
 # Declare variables to be passed into your templates.
 
 replicaCount: 2
-# namespace: app-teste
+namespace: argocd
 
 image:
   repository: eugeniucarvalho1/teste