-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from AntonioDiTuri/microservices-demo
Microservices demo
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|