From 6b1972e154292eda45868a0cac948fd5320357ab Mon Sep 17 00:00:00 2001 From: soukainna Date: Thu, 27 Jul 2023 12:23:14 +0200 Subject: [PATCH] change folder --- {agenda => bases/agenda}/config.yaml | 0 {agenda => bases/agenda}/deployment.yaml | 0 {agenda => bases/agenda}/imageSecret.yaml | 0 {agenda => bases/agenda}/kustomization.yaml | 0 .../agenda}/sealed-db-secret.yaml | 0 {agenda => bases/agenda}/sealed-secret.yaml | 0 {agenda => bases/agenda}/service.yaml | 0 {etcd => bases/etcd}/etcd-statefulset.yaml | 0 {etcd => bases/etcd}/etcdapp.yaml | 0 {etcd => bases/etcd}/kustomization.yaml | 0 {fleets => bases/fleets}/config.yaml | 0 {fleets => bases/fleets}/deployment.yaml | 0 {fleets => bases/fleets}/kustomization.yaml | 0 {fleets => bases/fleets}/service.yaml | 0 .../groups-management}/config.yaml | 0 .../groups-management}/deployment.yaml | 0 .../groups-management}/kustomization.yaml | 0 .../groups-management}/service.yaml | 0 .../mobility-accounts}/config.yaml | 0 .../mobility-accounts}/deployment.yaml | 0 .../mobility-accounts}/kustomization.yaml | 0 .../sealed-mobility-account-secret.yaml | 0 .../mobility-accounts}/service.yaml | 0 {mongodb => bases/mongodb}/kustomization.yaml | 0 {mongodb => bases/mongodb}/mongodb.yaml | 0 .../mongodb}/rbac/kustomization.yaml | 0 {mongodb => bases/mongodb}/rbac/role.yaml | 0 .../mongodb}/rbac/role_binding.yaml | 0 .../mongodb}/rbac/role_binding_database.yaml | 0 .../mongodb}/rbac/role_database.yaml | 0 .../mongodb}/rbac/service_account.yaml | 0 .../rbac/service_account_database.yaml | 0 .../parcoursmob}/config.yaml | 0 .../parcoursmob}/deployment.yaml | 0 .../parcoursmob}/kustomization.yaml | 0 .../sealed-parcoursmob-secret.yaml | 0 .../parcoursmob}/service.yaml | 0 prod.yaml | 23 +++++++++++++++++++ prod/kustomization.yaml | 10 ++++++++ {agenda => utils}/agenda-app.yaml | 0 {etcd => utils}/etcd-app.yaml | 0 {fleets => utils}/fleets-app.yaml | 0 {groups-management => utils}/groups-app.yaml | 0 .../mobility-app.yaml | 0 {parcoursmob => utils}/parcoursmob-app.yaml | 0 45 files changed, 33 insertions(+) rename {agenda => bases/agenda}/config.yaml (100%) rename {agenda => bases/agenda}/deployment.yaml (100%) rename {agenda => bases/agenda}/imageSecret.yaml (100%) rename {agenda => bases/agenda}/kustomization.yaml (100%) rename {agenda => bases/agenda}/sealed-db-secret.yaml (100%) rename {agenda => bases/agenda}/sealed-secret.yaml (100%) rename {agenda => bases/agenda}/service.yaml (100%) rename {etcd => bases/etcd}/etcd-statefulset.yaml (100%) rename {etcd => bases/etcd}/etcdapp.yaml (100%) rename {etcd => bases/etcd}/kustomization.yaml (100%) rename {fleets => bases/fleets}/config.yaml (100%) rename {fleets => bases/fleets}/deployment.yaml (100%) rename {fleets => bases/fleets}/kustomization.yaml (100%) rename {fleets => bases/fleets}/service.yaml (100%) rename {groups-management => bases/groups-management}/config.yaml (100%) rename {groups-management => bases/groups-management}/deployment.yaml (100%) rename {groups-management => bases/groups-management}/kustomization.yaml (100%) rename {groups-management => bases/groups-management}/service.yaml (100%) rename {mobility-accounts => bases/mobility-accounts}/config.yaml (100%) rename {mobility-accounts => bases/mobility-accounts}/deployment.yaml (100%) rename {mobility-accounts => bases/mobility-accounts}/kustomization.yaml (100%) rename {mobility-accounts => bases/mobility-accounts}/sealed-mobility-account-secret.yaml (100%) rename {mobility-accounts => bases/mobility-accounts}/service.yaml (100%) rename {mongodb => bases/mongodb}/kustomization.yaml (100%) rename {mongodb => bases/mongodb}/mongodb.yaml (100%) rename {mongodb => bases/mongodb}/rbac/kustomization.yaml (100%) rename {mongodb => bases/mongodb}/rbac/role.yaml (100%) rename {mongodb => bases/mongodb}/rbac/role_binding.yaml (100%) rename {mongodb => bases/mongodb}/rbac/role_binding_database.yaml (100%) rename {mongodb => bases/mongodb}/rbac/role_database.yaml (100%) rename {mongodb => bases/mongodb}/rbac/service_account.yaml (100%) rename {mongodb => bases/mongodb}/rbac/service_account_database.yaml (100%) rename {parcoursmob => bases/parcoursmob}/config.yaml (100%) rename {parcoursmob => bases/parcoursmob}/deployment.yaml (100%) rename {parcoursmob => bases/parcoursmob}/kustomization.yaml (100%) rename {parcoursmob => bases/parcoursmob}/sealed-parcoursmob-secret.yaml (100%) rename {parcoursmob => bases/parcoursmob}/service.yaml (100%) create mode 100644 prod.yaml create mode 100644 prod/kustomization.yaml rename {agenda => utils}/agenda-app.yaml (100%) rename {etcd => utils}/etcd-app.yaml (100%) rename {fleets => utils}/fleets-app.yaml (100%) rename {groups-management => utils}/groups-app.yaml (100%) rename {mobility-accounts => utils}/mobility-app.yaml (100%) rename {parcoursmob => utils}/parcoursmob-app.yaml (100%) diff --git a/agenda/config.yaml b/bases/agenda/config.yaml similarity index 100% rename from agenda/config.yaml rename to bases/agenda/config.yaml diff --git a/agenda/deployment.yaml b/bases/agenda/deployment.yaml similarity index 100% rename from agenda/deployment.yaml rename to bases/agenda/deployment.yaml diff --git a/agenda/imageSecret.yaml b/bases/agenda/imageSecret.yaml similarity index 100% rename from agenda/imageSecret.yaml rename to bases/agenda/imageSecret.yaml diff --git a/agenda/kustomization.yaml b/bases/agenda/kustomization.yaml similarity index 100% rename from agenda/kustomization.yaml rename to bases/agenda/kustomization.yaml diff --git a/agenda/sealed-db-secret.yaml b/bases/agenda/sealed-db-secret.yaml similarity index 100% rename from agenda/sealed-db-secret.yaml rename to bases/agenda/sealed-db-secret.yaml diff --git a/agenda/sealed-secret.yaml b/bases/agenda/sealed-secret.yaml similarity index 100% rename from agenda/sealed-secret.yaml rename to bases/agenda/sealed-secret.yaml diff --git a/agenda/service.yaml b/bases/agenda/service.yaml similarity index 100% rename from agenda/service.yaml rename to bases/agenda/service.yaml diff --git a/etcd/etcd-statefulset.yaml b/bases/etcd/etcd-statefulset.yaml similarity index 100% rename from etcd/etcd-statefulset.yaml rename to bases/etcd/etcd-statefulset.yaml diff --git a/etcd/etcdapp.yaml b/bases/etcd/etcdapp.yaml similarity index 100% rename from etcd/etcdapp.yaml rename to bases/etcd/etcdapp.yaml diff --git a/etcd/kustomization.yaml b/bases/etcd/kustomization.yaml similarity index 100% rename from etcd/kustomization.yaml rename to bases/etcd/kustomization.yaml diff --git a/fleets/config.yaml b/bases/fleets/config.yaml similarity index 100% rename from fleets/config.yaml rename to bases/fleets/config.yaml diff --git a/fleets/deployment.yaml b/bases/fleets/deployment.yaml similarity index 100% rename from fleets/deployment.yaml rename to bases/fleets/deployment.yaml diff --git a/fleets/kustomization.yaml b/bases/fleets/kustomization.yaml similarity index 100% rename from fleets/kustomization.yaml rename to bases/fleets/kustomization.yaml diff --git a/fleets/service.yaml b/bases/fleets/service.yaml similarity index 100% rename from fleets/service.yaml rename to bases/fleets/service.yaml diff --git a/groups-management/config.yaml b/bases/groups-management/config.yaml similarity index 100% rename from groups-management/config.yaml rename to bases/groups-management/config.yaml diff --git a/groups-management/deployment.yaml b/bases/groups-management/deployment.yaml similarity index 100% rename from groups-management/deployment.yaml rename to bases/groups-management/deployment.yaml diff --git a/groups-management/kustomization.yaml b/bases/groups-management/kustomization.yaml similarity index 100% rename from groups-management/kustomization.yaml rename to bases/groups-management/kustomization.yaml diff --git a/groups-management/service.yaml b/bases/groups-management/service.yaml similarity index 100% rename from groups-management/service.yaml rename to bases/groups-management/service.yaml diff --git a/mobility-accounts/config.yaml b/bases/mobility-accounts/config.yaml similarity index 100% rename from mobility-accounts/config.yaml rename to bases/mobility-accounts/config.yaml diff --git a/mobility-accounts/deployment.yaml b/bases/mobility-accounts/deployment.yaml similarity index 100% rename from mobility-accounts/deployment.yaml rename to bases/mobility-accounts/deployment.yaml diff --git a/mobility-accounts/kustomization.yaml b/bases/mobility-accounts/kustomization.yaml similarity index 100% rename from mobility-accounts/kustomization.yaml rename to bases/mobility-accounts/kustomization.yaml diff --git a/mobility-accounts/sealed-mobility-account-secret.yaml b/bases/mobility-accounts/sealed-mobility-account-secret.yaml similarity index 100% rename from mobility-accounts/sealed-mobility-account-secret.yaml rename to bases/mobility-accounts/sealed-mobility-account-secret.yaml diff --git a/mobility-accounts/service.yaml b/bases/mobility-accounts/service.yaml similarity index 100% rename from mobility-accounts/service.yaml rename to bases/mobility-accounts/service.yaml diff --git a/mongodb/kustomization.yaml b/bases/mongodb/kustomization.yaml similarity index 100% rename from mongodb/kustomization.yaml rename to bases/mongodb/kustomization.yaml diff --git a/mongodb/mongodb.yaml b/bases/mongodb/mongodb.yaml similarity index 100% rename from mongodb/mongodb.yaml rename to bases/mongodb/mongodb.yaml diff --git a/mongodb/rbac/kustomization.yaml b/bases/mongodb/rbac/kustomization.yaml similarity index 100% rename from mongodb/rbac/kustomization.yaml rename to bases/mongodb/rbac/kustomization.yaml diff --git a/mongodb/rbac/role.yaml b/bases/mongodb/rbac/role.yaml similarity index 100% rename from mongodb/rbac/role.yaml rename to bases/mongodb/rbac/role.yaml diff --git a/mongodb/rbac/role_binding.yaml b/bases/mongodb/rbac/role_binding.yaml similarity index 100% rename from mongodb/rbac/role_binding.yaml rename to bases/mongodb/rbac/role_binding.yaml diff --git a/mongodb/rbac/role_binding_database.yaml b/bases/mongodb/rbac/role_binding_database.yaml similarity index 100% rename from mongodb/rbac/role_binding_database.yaml rename to bases/mongodb/rbac/role_binding_database.yaml diff --git a/mongodb/rbac/role_database.yaml b/bases/mongodb/rbac/role_database.yaml similarity index 100% rename from mongodb/rbac/role_database.yaml rename to bases/mongodb/rbac/role_database.yaml diff --git a/mongodb/rbac/service_account.yaml b/bases/mongodb/rbac/service_account.yaml similarity index 100% rename from mongodb/rbac/service_account.yaml rename to bases/mongodb/rbac/service_account.yaml diff --git a/mongodb/rbac/service_account_database.yaml b/bases/mongodb/rbac/service_account_database.yaml similarity index 100% rename from mongodb/rbac/service_account_database.yaml rename to bases/mongodb/rbac/service_account_database.yaml diff --git a/parcoursmob/config.yaml b/bases/parcoursmob/config.yaml similarity index 100% rename from parcoursmob/config.yaml rename to bases/parcoursmob/config.yaml diff --git a/parcoursmob/deployment.yaml b/bases/parcoursmob/deployment.yaml similarity index 100% rename from parcoursmob/deployment.yaml rename to bases/parcoursmob/deployment.yaml diff --git a/parcoursmob/kustomization.yaml b/bases/parcoursmob/kustomization.yaml similarity index 100% rename from parcoursmob/kustomization.yaml rename to bases/parcoursmob/kustomization.yaml diff --git a/parcoursmob/sealed-parcoursmob-secret.yaml b/bases/parcoursmob/sealed-parcoursmob-secret.yaml similarity index 100% rename from parcoursmob/sealed-parcoursmob-secret.yaml rename to bases/parcoursmob/sealed-parcoursmob-secret.yaml diff --git a/parcoursmob/service.yaml b/bases/parcoursmob/service.yaml similarity index 100% rename from parcoursmob/service.yaml rename to bases/parcoursmob/service.yaml diff --git a/prod.yaml b/prod.yaml new file mode 100644 index 0000000..999f698 --- /dev/null +++ b/prod.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: prod-app + namespace: argocd +spec: + project: default + + source: + repoURL: https://git.coopgo.io/soukaina/Argocd-test + targetRevision: HEAD + path: agenda + destination: + server: https://kubernetes.default.svc + namespace: argocd-test + + syncPolicy: + syncOptions: + - CreateNamespace=true + + automated: + selfHeal: true + prune: true \ No newline at end of file diff --git a/prod/kustomization.yaml b/prod/kustomization.yaml new file mode 100644 index 0000000..1a1e710 --- /dev/null +++ b/prod/kustomization.yaml @@ -0,0 +1,10 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +bases: +- ../bases/agenda/ +- ../bases/fleets/ +- ../bases/groups-management/ +- ../bases/mobility-accounts/ +- ../bases/etcd/ +- ../bases/parcoursmob/ \ No newline at end of file diff --git a/agenda/agenda-app.yaml b/utils/agenda-app.yaml similarity index 100% rename from agenda/agenda-app.yaml rename to utils/agenda-app.yaml diff --git a/etcd/etcd-app.yaml b/utils/etcd-app.yaml similarity index 100% rename from etcd/etcd-app.yaml rename to utils/etcd-app.yaml diff --git a/fleets/fleets-app.yaml b/utils/fleets-app.yaml similarity index 100% rename from fleets/fleets-app.yaml rename to utils/fleets-app.yaml diff --git a/groups-management/groups-app.yaml b/utils/groups-app.yaml similarity index 100% rename from groups-management/groups-app.yaml rename to utils/groups-app.yaml diff --git a/mobility-accounts/mobility-app.yaml b/utils/mobility-app.yaml similarity index 100% rename from mobility-accounts/mobility-app.yaml rename to utils/mobility-app.yaml diff --git a/parcoursmob/parcoursmob-app.yaml b/utils/parcoursmob-app.yaml similarity index 100% rename from parcoursmob/parcoursmob-app.yaml rename to utils/parcoursmob-app.yaml