diff --git a/argo/apps/bff.yaml b/argo/apps/bff.yaml new file mode 100644 index 0000000..afefcab --- /dev/null +++ b/argo/apps/bff.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: ws-bff + namespace: argocd + labels: + scope: workshop +spec: + project: default + source: + repoURL: https://github.com/snothub/potential-system + path: bff + helm: + releaseName: bff + valueFiles: + - values.yaml + ignoreMissingValueFiles: true + destination: + server: https://kubernetes.default.svc + namespace: kubews + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/argo/apps/distr.yaml b/argo/apps/distr.yaml new file mode 100644 index 0000000..a346f3e --- /dev/null +++ b/argo/apps/distr.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: ws-distr + namespace: argocd + labels: + scope: workshop +spec: + project: default + source: + repoURL: https://github.com/snothub/potential-system + path: distr + helm: + releaseName: distr + valueFiles: + - values.yaml + ignoreMissingValueFiles: true + destination: + server: https://kubernetes.default.svc + namespace: kubews + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/argo/apps/product.yaml b/argo/apps/product.yaml new file mode 100644 index 0000000..fcd511a --- /dev/null +++ b/argo/apps/product.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: ws-prod + namespace: argocd + labels: + scope: workshop +spec: + project: default + source: + repoURL: https://github.com/snothub/potential-system + path: products + helm: + releaseName: prod + valueFiles: + - values.yaml + ignoreMissingValueFiles: true + destination: + server: https://kubernetes.default.svc + namespace: kubews + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/argo/apps/ui.yaml b/argo/apps/ui.yaml new file mode 100644 index 0000000..cf98df2 --- /dev/null +++ b/argo/apps/ui.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: ws-ui + namespace: argocd + labels: + scope: workshop +spec: + project: default + source: + repoURL: https://github.com/snothub/potential-system + path: ui + helm: + releaseName: ui + valueFiles: + - values.yaml + ignoreMissingValueFiles: true + destination: + server: https://kubernetes.default.svc + namespace: kubews + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/argo/apps/vat.yaml b/argo/apps/vat.yaml new file mode 100644 index 0000000..2bdce6b --- /dev/null +++ b/argo/apps/vat.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: ws-vat + namespace: argocd + labels: + scope: workshop +spec: + project: default + source: + repoURL: https://github.com/snothub/potential-system + path: vat + helm: + releaseName: vat + valueFiles: + - values.yaml + ignoreMissingValueFiles: true + destination: + server: https://kubernetes.default.svc + namespace: kubews + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/argo/workshop.yaml b/argo/workshop.yaml new file mode 100644 index 0000000..77016ce --- /dev/null +++ b/argo/workshop.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: app-of-apps + namespace: argocd + labels: + scope: workshop +spec: + project: default + source: + repoURL: https://github.com/snothub/psychic-octo-eureka + path: argo/apps + destination: + server: https://kubernetes.default.svc + namespace: kubews + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true