diff --git a/clusters/projects/falco/microservices-demo.yaml b/clusters/projects/falco/microservices-demo.yaml new file mode 100644 index 0000000..0719f80 --- /dev/null +++ b/clusters/projects/falco/microservices-demo.yaml @@ -0,0 +1,26 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: online-boutique + namespace: falco +spec: + interval: 24h + type: oci + url: oci://us-docker.pkg.dev/online-boutique-ci/charts +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: online-boutique + namespace: falco +spec: + interval: 24h + chart: + spec: + chart: online-boutique + sourceRef: + kind: HelmRepository + name: online-boutique + releaseName: online-boutique + \ No newline at end of file diff --git a/docs/microservices_demo.md b/docs/microservices_demo.md new file mode 100644 index 0000000..1013de5 --- /dev/null +++ b/docs/microservices_demo.md @@ -0,0 +1,21 @@ +# How to install it manually + +1. Get access to the dev-cluster (ask Tag/WG leads) + +2. run the following command: + +``` +helm upgrade online-boutique oci://us-docker.pkg.dev/online-boutique-ci/charts/online-boutique --install +``` +3. to uninstall + +``` +helm delete online-boutique +``` + +# How to install it via flux + +We opted for installing microservice demo using flux-oci: example here: https://fluxcd.io/flux/cheatsheets/oci-artifacts/. +A tmp configuration file can be found under clusters/micrservices-demo.yaml + +