fix: fix atlantis prod resource namespaces and application
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user