diff --git a/deploy/k8s/backend-deployment.yaml b/deploy/k8s/backend-deployment.yaml index eebaa70..1d03ee8 100644 --- a/deploy/k8s/backend-deployment.yaml +++ b/deploy/k8s/backend-deployment.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: adopt-a-street-backend - namespace: adopt-a-street labels: app: backend spec: @@ -19,7 +18,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: adopt-a-street-backend - namespace: adopt-a-street spec: replicas: 2 selector: diff --git a/deploy/k8s/configmap.yaml b/deploy/k8s/configmap.yaml index aab7dda..00f4fde 100644 --- a/deploy/k8s/configmap.yaml +++ b/deploy/k8s/configmap.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: ConfigMap metadata: name: adopt-a-street-config - namespace: adopt-a-street data: # CouchDB Connection COUCHDB_URL: "http://adopt-a-street-couchdb:5984" diff --git a/deploy/k8s/couchdb-configmap.yaml b/deploy/k8s/couchdb-configmap.yaml index bf31796..7651609 100644 --- a/deploy/k8s/couchdb-configmap.yaml +++ b/deploy/k8s/couchdb-configmap.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: ConfigMap metadata: name: couchdb-config - namespace: adopt-a-street data: 10-cluster.ini: | [cluster] diff --git a/deploy/k8s/couchdb-statefulset.yaml b/deploy/k8s/couchdb-statefulset.yaml index 13dfaf6..72c7863 100644 --- a/deploy/k8s/couchdb-statefulset.yaml +++ b/deploy/k8s/couchdb-statefulset.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: adopt-a-street-couchdb - namespace: adopt-a-street labels: app: couchdb spec: @@ -23,7 +22,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: adopt-a-street-couchdb - namespace: adopt-a-street spec: serviceName: adopt-a-street-couchdb replicas: 1 @@ -70,7 +68,7 @@ spec: name: adopt-a-street-secrets key: COUCHDB_SECRET - name: NODENAME - value: couchdb@0.adopt-a-street-couchdb.adopt-a-street + value: couchdb@0.adopt-a-street-couchdb - name: ERL_FLAGS value: "+K true +A 4" - name: COUCHDB_SINGLE_NODE_ENABLED diff --git a/deploy/k8s/frontend-deployment.yaml b/deploy/k8s/frontend-deployment.yaml index be18bcf..087c6de 100644 --- a/deploy/k8s/frontend-deployment.yaml +++ b/deploy/k8s/frontend-deployment.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: adopt-a-street-frontend - namespace: adopt-a-street labels: app: frontend spec: @@ -19,7 +18,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: adopt-a-street-frontend - namespace: adopt-a-street spec: replicas: 2 selector: diff --git a/deploy/k8s/image-pull-secret.yaml b/deploy/k8s/image-pull-secret.yaml index 0d2b02f..31ffae0 100644 --- a/deploy/k8s/image-pull-secret.yaml +++ b/deploy/k8s/image-pull-secret.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Secret metadata: name: regcred - namespace: adopt-a-street type: kubernetes.io/dockerconfigjson data: .dockerconfigjson: eyJhdXRocyI6eyJnaXRlYS1odHRwLnRhaWxkYjM0OTQudHMubmV0Ijp7InVzZXJuYW1lIjoid2lsbCIsInBhc3N3b3JkIjoiW1lPVVJfR0lURUFfUEFTU1dPUkRdIiwiYXV0aCI6IltBVVRIX1RPS0VOXSJ9fX0= diff --git a/deploy/k8s/ingress.yaml b/deploy/k8s/ingress.yaml index 31557c6..d1b4af5 100644 --- a/deploy/k8s/ingress.yaml +++ b/deploy/k8s/ingress.yaml @@ -2,7 +2,6 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: adopt-a-street-ingress - namespace: adopt-a-street annotations: # Uncomment the appropriate ingress class for your cluster kubernetes.io/ingress.class: "traefik" # For Traefik diff --git a/deploy/k8s/mongodb-statefulset.yaml b/deploy/k8s/mongodb-statefulset.yaml index 0d0471a..82d4568 100644 --- a/deploy/k8s/mongodb-statefulset.yaml +++ b/deploy/k8s/mongodb-statefulset.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: adopt-a-street-mongodb - namespace: adopt-a-street labels: app: mongodb spec: @@ -19,7 +18,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: adopt-a-street-mongodb - namespace: adopt-a-street spec: serviceName: adopt-a-street-mongodb replicas: 1 diff --git a/deploy/k8s/secrets.yaml.example b/deploy/k8s/secrets.yaml.example index 7f67deb..64a4075 100644 --- a/deploy/k8s/secrets.yaml.example +++ b/deploy/k8s/secrets.yaml.example @@ -2,7 +2,6 @@ apiVersion: v1 kind: Secret metadata: name: adopt-a-street-secrets - namespace: adopt-a-street type: Opaque stringData: # JWT Secret - CHANGE THIS IN PRODUCTION!