fix: fix atlantis prod resource namespaces and application

This commit is contained in:
2024-04-20 18:45:50 +02:00
parent c96a86a141
commit 44223c5ed1
4 changed files with 13 additions and 8 deletions
+5 -2
View File
@@ -9,8 +9,11 @@ spec:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
syncPolicy: syncPolicy:
automated: {} automated: {}
source: sources:
repoURL: https://gitlab.com/oceanbox/manifests.git - repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main targetRevision: main
path: resources/atlantis/host-manifests path: resources/atlantis/host-manifests
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: 'resources/atlantis/manifests/prod'
+6 -6
View File
@@ -9,8 +9,8 @@ spec:
elements: elements:
- cluster: https://kubernetes.default.svc - cluster: https://kubernetes.default.svc
env: prod env: prod
- cluster: https://staging-vcluster.staging-vcluster # - cluster: https://staging-vcluster.staging-vcluster
env: staging # env: staging
template: template:
metadata: metadata:
name: '{{ env }}-atlantis-resources' name: '{{ env }}-atlantis-resources'
@@ -21,7 +21,7 @@ spec:
destination: destination:
server: '{{ cluster }}' server: '{{ cluster }}'
namespace: atlantis namespace: atlantis
sources: sources: {}
- repoURL: https://gitlab.com/oceanbox/manifests.git # - repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main # targetRevision: main
path: 'resources/atlantis/manifests/{{ env }}' # path: 'resources/atlantis/manifests/{{ env }}'
@@ -2,6 +2,7 @@ apiVersion: dapr.io/v1alpha1
kind: Component kind: Component
metadata: metadata:
name: pubsub name: pubsub
namespace: atlantis
spec: spec:
type: pubsub.rabbitmq type: pubsub.rabbitmq
version: v1 version: v1
@@ -2,6 +2,7 @@ apiVersion: dapr.io/v1alpha1
kind: Component kind: Component
metadata: metadata:
name: statestore name: statestore
namespace: atlantis
spec: spec:
type: state.redis type: state.redis
version: v1 version: v1