Files
robot-shop/K8s/helm/README.md
Steve Waterworth 9c774bc088 helm v3
2020-03-17 11:42:28 +00:00

1.5 KiB

Stan's Robot Shop

Use this helm chart to customise your install of Stan's Robot Shop.

Helm v2.x

$ helm install --name robot-shop --namespace robot-shop .

Helm v3.x

$ kubectl create ns robot-shop
$ helm install robot-shop --namespace robot-shop .

Images

By default the images are pulled from Docker Hub. Setting image.repo this can be changed, for example:

$ helm install --set image.repo=eu.gcr.io/acme ...

Will pull images from the European Google registry project acme.

By default the latest version of the images is pulled. A specific version can be used:

$ helm install --set image.version=0.1.2 ...

It is recommened to always use the latest version.

Pod Security Policy

If you wish to enable PSP

$ helm install --set psp.enabled=true ...

Payment Gateway

By default the payment service uses https://www.paypal.com as the pseudo payment provider. The code only does a HTTP GET against this url. You can use a different url.

$ helm install --set payment.gateway=https://foobar.com ...

End User Monitoring

Optionally End User Monitoring can be enabled for the web pages. Take a look at the documentation to see how to get a key and an endpoint url.

$ helm install \
    --set eum.key=xxxxxxxxx \
    --set eum.url=https://eum-eu-west-1.instana.io \
    ...