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