diff --git a/applications/atlantis-host-resources.yaml b/applications/atlantis-host-resources.yaml index 564e83f4..7c3984cf 100644 --- a/applications/atlantis-host-resources.yaml +++ b/applications/atlantis-host-resources.yaml @@ -11,5 +11,5 @@ spec: source: repoURL: https://gitlab.com/oceanbox/manifests.git targetRevision: HEAD - path: charts/atlantis-resources/host-manifests + path: resources/atlantis/host-manifests diff --git a/applications/atlantis-resources.yaml b/applications/atlantis-resources.yaml index ce21f02d..ad1e5e90 100644 --- a/applications/atlantis-resources.yaml +++ b/applications/atlantis-resources.yaml @@ -22,4 +22,4 @@ spec: sources: - repoURL: https://gitlab.com/oceanbox/manifests.git targetRevision: HEAD - path: charts/atlantis-resources/manifests + path: resources/atlantis/manifests diff --git a/charts/redis/staging/secret_patch.yaml b/charts/redis/staging/secret_patch.yaml index 075fad87..fcb62570 100644 --- a/charts/redis/staging/secret_patch.yaml +++ b/charts/redis/staging/secret_patch.yaml @@ -1,5 +1,5 @@ - op: add path: /metadata/annotations value: - secret-syncer.cloudarmin.me/enabled: "true" - secret-syncer.cloudarmin.me/destination-namespace: "atlantis" + secret-syncer.vcluster-plugin.sh/enabled: "true" + secret-syncer.vcluster-plugin.sh/destination-namespace: "atlantis" diff --git a/charts/atlantis-resources/host-manifests/allow-loft-analytics.yaml b/resources/atlantis/host-manifests/allow-loft-analytics.yaml similarity index 100% rename from charts/atlantis-resources/host-manifests/allow-loft-analytics.yaml rename to resources/atlantis/host-manifests/allow-loft-analytics.yaml diff --git a/charts/atlantis-resources/host-manifests/sync-atlantis-secrets.yaml b/resources/atlantis/host-manifests/sync-atlantis-secrets.yaml similarity index 52% rename from charts/atlantis-resources/host-manifests/sync-atlantis-secrets.yaml rename to resources/atlantis/host-manifests/sync-atlantis-secrets.yaml index 453c894a..7636df09 100644 --- a/charts/atlantis-resources/host-manifests/sync-atlantis-secrets.yaml +++ b/resources/atlantis/host-manifests/sync-atlantis-secrets.yaml @@ -24,6 +24,7 @@ spec: - Namespace names: - atlantis + - '*-vcluster' - name: sync-rabbitmq-secrets generate: apiVersion: v1 @@ -42,5 +43,37 @@ spec: - Namespace names: - 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 - diff --git a/charts/atlantis-resources/manifests/allow-atlantis-services.yaml b/resources/atlantis/manifests/allow-atlantis-services.yaml similarity index 100% rename from charts/atlantis-resources/manifests/allow-atlantis-services.yaml rename to resources/atlantis/manifests/allow-atlantis-services.yaml diff --git a/charts/atlantis-resources/manifests/allow-external-s3.yaml b/resources/atlantis/manifests/allow-external-s3.yaml similarity index 100% rename from charts/atlantis-resources/manifests/allow-external-s3.yaml rename to resources/atlantis/manifests/allow-external-s3.yaml diff --git a/charts/atlantis-resources/manifests/allow-external-services.yaml b/resources/atlantis/manifests/allow-external-services.yaml similarity index 100% rename from charts/atlantis-resources/manifests/allow-external-services.yaml rename to resources/atlantis/manifests/allow-external-services.yaml diff --git a/charts/atlantis-resources/manifests/dapr-tracing.yaml b/resources/atlantis/manifests/dapr-tracing.yaml similarity index 100% rename from charts/atlantis-resources/manifests/dapr-tracing.yaml rename to resources/atlantis/manifests/dapr-tracing.yaml