Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Embraser01 authored Mar 27, 2022
1 parent 748910e commit fae5e43
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,17 @@ Or

2. Generate kubernetes yaml file.
```sh
# clone this repo
git clone git@github.com:caddyserver/ingress.git;

# cd to the repository folder
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
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`
Expand Down

0 comments on commit fae5e43

Please sign in to comment.