deployment: create namespace

This commit is contained in:
Cyrille Nofficial 2022-11-11 18:01:24 +01:00
parent b6879da90e
commit 6e543d36e4
5 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- namespace.yaml
- deployments.yaml - deployments.yaml
- services.yaml - services.yaml
- configmap.yaml - configmap.yaml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: robocar

View File

@ -3,6 +3,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: mqtt-credentials name: mqtt-credentials
namespace: robocar
stringData: stringData:
MQTT_USERNAME: satanas MQTT_USERNAME: satanas
MQTT_PASSWORD: satanas MQTT_PASSWORD: satanas

View File

@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- namespace.yaml
- https://github.com/stakater/Reloader/deployments/kubernetes - https://github.com/stakater/Reloader/deployments/kubernetes
namespace: reloader namespace: reloader

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: reloader