To get started with the Varnish Controller Helm Chart, make sure
Run the following command to quickly install Varnish Controller Helm Chart:
helm install --set global.imagePullSecrets[0].name=varnish-pull-secret --set brainz.licenseSecret=varnish-license varnish-controller varnish/varnish-controller
Substitute varnish-pull-secret
and brainz.licenseSecret
for the image pull secret and license file you created in the image pull secret and license instruction.
To configure Varnish Controller Helm Chart, create values.yaml
and populate the values. For example, to configure Varnish Controller with Ingress:
---
global:
imagePullSecrets:
- name: varnish-pull-secret
brainz:
licenseSecret: varnish-controller-license
ui:
enabled: true
ingress:
enabled: true
hosts:
- host: varnish-controller.example.com
paths: []
Then install or upgrade using the new values, e.g.:
$ helm upgrade -f values.yaml varnish-controller varnish/varnish-controller
To retrieve the default admin password, run the following command:
kubectl get secrets -o jsonpath="{.data.varnish-admin-password}" varnish-controller-credentials | base64 --decode