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
syncPolicy:
automated: {}
source:
repoURL: https://gitlab.com/oceanbox/manifests.git
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
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:
- cluster: https://kubernetes.default.svc
env: prod
- cluster: https://staging-vcluster.staging-vcluster
env: staging
# - cluster: https://staging-vcluster.staging-vcluster
# env: staging
template:
metadata:
name: '{{ env }}-atlantis-resources'
@@ -21,7 +21,7 @@ spec:
destination:
server: '{{ cluster }}'
namespace: atlantis
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: 'resources/atlantis/manifests/{{ env }}'
sources: {}
# - repoURL: https://gitlab.com/oceanbox/manifests.git
# targetRevision: main
# path: 'resources/atlantis/manifests/{{ env }}'
@@ -2,6 +2,7 @@ apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: pubsub
namespace: atlantis
spec:
type: pubsub.rabbitmq
version: v1
@@ -2,6 +2,7 @@ apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: statestore
namespace: atlantis
spec:
type: state.redis
version: v1