Skip to content

Commit

Permalink
Upgrade guide to consul-api-gateway v0.2.0 (#59)
Browse files Browse the repository at this point in the history
* Update consul-api-gateway image for guide

* Update README.md
  • Loading branch information
nathancoleman authored Apr 27, 2022
1 parent 87fd13d commit 458802b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions api-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
1. Clone repo
2. `cd api-gateway/`
3. `kind create cluster --config=kind/cluster.yaml`
4. `kubectl apply -k "github.com/hashicorp/consul-api-gateway/config/crd?ref=v0.1.0"`
4. `kubectl apply -k "github.com/hashicorp/consul-api-gateway/config/crd?ref=v0.2.0"`
5. `helm repo add hashicorp https://helm.releases.hashicorp.com`
6. `helm repo update`
7. Install Consul
1. Helm:
`helm install --values consul/config.yaml consul hashicorp/consul --create-namespace --namespace consul --version "0.41.1`
`helm install --values consul/config.yaml consul hashicorp/consul --create-namespace --namespace consul --version "0.43.0`
2. Consul K8S:
`consul-k8s install -config-file=consul/config.yaml -set global.image=hashicorp/consul:1.11.3`
`consul-k8s install -config-file=consul/config.yaml -set global.image=hashicorp/consul:1.12.0`
8. `kubectl apply --filename two-services`
9. `kubectl apply --filename api-gw/consul-api-gateway.yaml --namespace consul && kubectl wait --for=condition=ready gateway/example-gateway --namespace consul --timeout=90s && kubectl apply --filename api-gw/routes.yaml --namespace consul`
10. `kubectl port-forward svc/consul-ui --namespace consul 6443:443`
Expand Down
4 changes: 2 additions & 2 deletions api-gateway/consul/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ controller:
enabled: true
apiGateway:
enabled: true
image: "hashicorp/consul-api-gateway:0.1.0"
image: "hashicorp/consul-api-gateway:0.2.0"
managedGatewayClass:
serviceType: NodePort
useHostPorts: true
useHostPorts: true

0 comments on commit 458802b

Please sign in to comment.