diff --git a/ansible/roles/microservices/files/robocar/common/kustomization.yaml b/ansible/roles/microservices/files/robocar/common/kustomization.yaml index 874219b..f573190 100644 --- a/ansible/roles/microservices/files/robocar/common/kustomization.yaml +++ b/ansible/roles/microservices/files/robocar/common/kustomization.yaml @@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - namespace.yaml - deployments.yaml - services.yaml - configmap.yaml diff --git a/ansible/roles/microservices/files/robocar/common/namespace.yaml b/ansible/roles/microservices/files/robocar/common/namespace.yaml new file mode 100644 index 0000000..edefad4 --- /dev/null +++ b/ansible/roles/microservices/files/robocar/common/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: robocar \ No newline at end of file diff --git a/ansible/roles/microservices/files/robocar/common/secrets.yaml b/ansible/roles/microservices/files/robocar/common/secrets.yaml index ce4533d..338dc21 100644 --- a/ansible/roles/microservices/files/robocar/common/secrets.yaml +++ b/ansible/roles/microservices/files/robocar/common/secrets.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Secret metadata: name: mqtt-credentials + namespace: robocar stringData: MQTT_USERNAME: satanas MQTT_PASSWORD: satanas diff --git a/ansible/roles/microservices/files/robocar/reloader/kustomization.yaml b/ansible/roles/microservices/files/robocar/reloader/kustomization.yaml index c8a4350..764273c 100644 --- a/ansible/roles/microservices/files/robocar/reloader/kustomization.yaml +++ b/ansible/roles/microservices/files/robocar/reloader/kustomization.yaml @@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - namespace.yaml - https://github.com/stakater/Reloader/deployments/kubernetes namespace: reloader \ No newline at end of file diff --git a/ansible/roles/microservices/files/robocar/reloader/namespace.yaml b/ansible/roles/microservices/files/robocar/reloader/namespace.yaml new file mode 100644 index 0000000..4d19156 --- /dev/null +++ b/ansible/roles/microservices/files/robocar/reloader/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: reloader \ No newline at end of file