deployment: create namespace
This commit is contained in:
		@@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
 | 
			
		||||
kind: Kustomization
 | 
			
		||||
 | 
			
		||||
resources:
 | 
			
		||||
  - namespace.yaml
 | 
			
		||||
  - deployments.yaml
 | 
			
		||||
  - services.yaml
 | 
			
		||||
  - configmap.yaml
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: Namespace
 | 
			
		||||
metadata:
 | 
			
		||||
  name: robocar
 | 
			
		||||
@@ -3,6 +3,7 @@ apiVersion: v1
 | 
			
		||||
kind: Secret
 | 
			
		||||
metadata:
 | 
			
		||||
  name: mqtt-credentials
 | 
			
		||||
  namespace: robocar
 | 
			
		||||
stringData:
 | 
			
		||||
  MQTT_USERNAME: satanas
 | 
			
		||||
  MQTT_PASSWORD: satanas
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
 | 
			
		||||
kind: Kustomization
 | 
			
		||||
 | 
			
		||||
resources:
 | 
			
		||||
  - namespace.yaml
 | 
			
		||||
  - https://github.com/stakater/Reloader/deployments/kubernetes
 | 
			
		||||
 | 
			
		||||
namespace: reloader
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: Namespace
 | 
			
		||||
metadata:
 | 
			
		||||
  name: reloader
 | 
			
		||||
		Reference in New Issue
	
	Block a user