diff --git a/README.md b/README.md index 01dc617..8b704fc 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,24 @@ helm install \ caddy-ingress-controller ``` -The helm chart create a service of type `LoadBalancer` in the `caddy-system` +Or + +2. Generate kubernetes yaml file. +```sh +git clone https://github.com/caddyserver/ingress.git +cd ingress + +# generate the yaml file +helm template mycaddy ./charts/caddy-ingress-controller \ + --namespace=caddy-system \ + --set image.tag=latest \ + > mycaddy.yaml + +# apply the file +kubectl apply -f mycaddy.yaml +``` + +This will create a service of type `LoadBalancer` in the `caddy-system` namespace on your cluster. You'll want to set any DNS records for accessing this cluster to the external IP address of this `LoadBalancer` when the external IP is provisioned by your cloud provider.