Some checks failed
Continuous Integration - Pull Request / code-tests (pull_request) Has been cancelled
Continuous Integration - Pull Request / deployment-tests (local-code) (pull_request) Has been cancelled
helm-chart-ci / helm-chart-ci (pull_request) Has been cancelled
kubevious-manifests-ci / kubevious-manifests-ci (pull_request) Has been cancelled
kustomize-build-ci / kustomize-build-ci (pull_request) Has been cancelled
terraform-validate-ci / terraform-validate-ci (pull_request) Has been cancelled
Clean up deployment / cleanup-namespace (pull_request) Has been cancelled
Continuous Integration - Main/Release / code-tests (push) Has been cancelled
Continuous Integration - Main/Release / deployment-tests (local-code) (push) Has been cancelled
helm-chart-ci / helm-chart-ci (push) Has been cancelled
kubevious-manifests-ci / kubevious-manifests-ci (push) Has been cancelled
kustomize-build-ci / kustomize-build-ci (push) Has been cancelled
terraform-validate-ci / terraform-validate-ci (push) Has been cancelled
38 lines
2.0 KiB
Markdown
38 lines
2.0 KiB
Markdown
# Helm chart for Online Boutique
|
||
|
||
If you'd like to deploy Online Boutique via its Helm chart, you could leverage the following instructions.
|
||
|
||
**Warning:** Online Boutique's Helm chart is currently experimental. If you have feedback or run into issues, let us know inside [GitHub Issue #1319](https://github.com/GoogleCloudPlatform/microservices-demo/issues/1319) or by creating a [new GitHub Issue](https://github.com/GoogleCloudPlatform/microservices-demo/issues/new/choose).
|
||
|
||
Deploy the default setup of Online Boutique:
|
||
```sh
|
||
helm upgrade onlineboutique oci://us-docker.pkg.dev/online-boutique-ci/charts/onlineboutique \
|
||
--install
|
||
```
|
||
|
||
Deploy advanced scenario of Online Boutique:
|
||
```sh
|
||
helm upgrade onlineboutique oci://us-docker.pkg.dev/online-boutique-ci/charts/onlineboutique \
|
||
--install \
|
||
--create-namespace \
|
||
--set images.repository=us-docker.pkg.dev/my-project/microservices-demo \
|
||
--set frontend.externalService=false \
|
||
--set redis.create=false \
|
||
--set cartservice.database.type=spanner \
|
||
--set cartservice.database.connectionString=projects/my-project/instances/onlineboutique/databases/carts \
|
||
--set serviceAccounts.create=true \
|
||
--set authorizationPolicies.create=true \
|
||
--set networkPolicies.create=true \
|
||
--set sidecars.create=true \
|
||
--set frontend.virtualService.create=true \
|
||
--set 'serviceAccounts.annotations.iam\.gke\.io/gcp-service-account=spanner-db-user@my-project.iam.gserviceaccount.com' \
|
||
--set serviceAccounts.annotationsOnlyForCartservice=true \
|
||
-n onlineboutique
|
||
```
|
||
|
||
For the full list of configurations, see [values.yaml](./values.yaml).
|
||
|
||
You could also find advanced scenarios with these blogs below:
|
||
- [Online Boutique sample’s Helm chart, to simplify the setup of advanced and secured scenarios with Service Mesh and GitOps](https://medium.com/google-cloud/246119e46d53)
|
||
- [gRPC health probes with Kubernetes 1.24+](https://medium.com/google-cloud/b5bd26253a4c)
|
||
- [Use Google Cloud Spanner with the Online Boutique sample](https://medium.com/google-cloud/f7248e077339) |