refactor: move general resources to separte top-level folder
This commit is contained in:
@@ -11,5 +11,5 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://gitlab.com/oceanbox/manifests.git
|
repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/atlantis-resources/host-manifests
|
path: resources/atlantis/host-manifests
|
||||||
|
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/atlantis-resources/manifests
|
path: resources/atlantis/manifests
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
- op: add
|
- op: add
|
||||||
path: /metadata/annotations
|
path: /metadata/annotations
|
||||||
value:
|
value:
|
||||||
secret-syncer.cloudarmin.me/enabled: "true"
|
secret-syncer.vcluster-plugin.sh/enabled: "true"
|
||||||
secret-syncer.cloudarmin.me/destination-namespace: "atlantis"
|
secret-syncer.vcluster-plugin.sh/destination-namespace: "atlantis"
|
||||||
|
|||||||
+34
-1
@@ -24,6 +24,7 @@ spec:
|
|||||||
- Namespace
|
- Namespace
|
||||||
names:
|
names:
|
||||||
- atlantis
|
- atlantis
|
||||||
|
- '*-vcluster'
|
||||||
- name: sync-rabbitmq-secrets
|
- name: sync-rabbitmq-secrets
|
||||||
generate:
|
generate:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -42,5 +43,37 @@ spec:
|
|||||||
- Namespace
|
- Namespace
|
||||||
names:
|
names:
|
||||||
- atlantis
|
- atlantis
|
||||||
|
- '*-vcluster'
|
||||||
|
- name: sync-archmeister-replication-ca
|
||||||
|
generate:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
name: prod-archmeister-ca
|
||||||
|
namespace: '{{request.object.metadata.name}}'
|
||||||
|
synchronize: true
|
||||||
|
clone:
|
||||||
|
namespace: atlantis
|
||||||
|
name: prod-archmeister-ca
|
||||||
|
match:
|
||||||
|
resources:
|
||||||
|
kinds:
|
||||||
|
- Namespace
|
||||||
|
names:
|
||||||
|
- '*-vcluster'
|
||||||
|
- name: sync-archmeister-replication-replication
|
||||||
|
generate:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
name: prod-archmeister-replication
|
||||||
|
namespace: '{{request.object.metadata.name}}'
|
||||||
|
synchronize: true
|
||||||
|
clone:
|
||||||
|
namespace: atlantis
|
||||||
|
name: prod-archmeister-replication
|
||||||
|
match:
|
||||||
|
resources:
|
||||||
|
kinds:
|
||||||
|
- Namespace
|
||||||
|
names:
|
||||||
|
- '*-vcluster'
|
||||||
validationFailureAction: audit
|
validationFailureAction: audit
|
||||||
|
|
||||||
Reference in New Issue
Block a user