diff --git a/environments/staging/app-1/0-namespace.yaml b/environments/staging/app-1/0-namespace.yaml index 221a15a..a70bb1d 100644 --- a/environments/staging/app-1/0-namespace.yaml +++ b/environments/staging/app-1/0-namespace.yaml @@ -1,4 +1,4 @@ apiVersion: v1 kind: Namespace metadata: - name: app1 \ No newline at end of file + name: app-1 \ No newline at end of file diff --git a/environments/staging/app-1/1-deployment.yaml b/environments/staging/app-1/1-deployment.yaml index 1ab3139..69b0749 100644 --- a/environments/staging/app-1/1-deployment.yaml +++ b/environments/staging/app-1/1-deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nginx - namespace: app2 + namespace: app-2 spec: replicas: 1 selector: diff --git a/environments/staging/app-2/0-namespace.yaml b/environments/staging/app-2/0-namespace.yaml index 4e22c56..20431fb 100644 --- a/environments/staging/app-2/0-namespace.yaml +++ b/environments/staging/app-2/0-namespace.yaml @@ -1,4 +1,4 @@ apiVersion: v1 kind: Namespace metadata: - name: app2 \ No newline at end of file + name: app-2 \ No newline at end of file diff --git a/environments/staging/app-2/1-deployment.yaml b/environments/staging/app-2/1-deployment.yaml index dfef37e..2a2272c 100644 --- a/environments/staging/app-2/1-deployment.yaml +++ b/environments/staging/app-2/1-deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nginx - namespace: app1 + namespace: app-1 spec: replicas: 1 selector: diff --git a/environments/staging/argo-apps/app1.yaml b/environments/staging/argo-apps/app1.yaml index 3061ff7..b564d00 100644 --- a/environments/staging/argo-apps/app1.yaml +++ b/environments/staging/argo-apps/app1.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: app1 + name: app-1 namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io @@ -10,7 +10,7 @@ spec: source: repoURL: 'https://github.com/MeranaTona/argocd-tutorial-app.git' targetRevision: HEAD - path: environments/staging/app1 + path: environments/staging/app-1 destination: server: https://kubernetes.default.svc syncPolicy: diff --git a/environments/staging/argo-apps/app2.yaml b/environments/staging/argo-apps/app2.yaml index ee2e56c..a419e90 100644 --- a/environments/staging/argo-apps/app2.yaml +++ b/environments/staging/argo-apps/app2.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: app2 + name: app-2 namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io @@ -10,7 +10,7 @@ spec: source: repoURL: 'https://github.com/MeranaTona/argocd-tutorial-app.git' targetRevision: HEAD - path: environments/staging/app2 + path: environments/staging/app-2 destination: server: https://kubernetes.default.svc syncPolicy: