Skip to content

Commit

Permalink
fix istioctl deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Dec 11, 2023
1 parent 13c75de commit 272af35
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 48 deletions.
27 changes: 1 addition & 26 deletions config/dependencies/istio/istio-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,8 @@ spec:
- enabled: false
name: istio-egressgateway
ingressGateways:
- enabled: true
- enabled: false
name: istio-ingressgateway
k8s:
service:
type: NodePort
ports:
- name: status-port
port: 15021
protocol: TCP
targetPort: 15021
- name: http2
port: 80
protocol: TCP
targetPort: 8080
nodePort: 30950
- name: https
port: 443
protocol: TCP
targetPort: 8443
nodePort: 30951
resources:
requests:
cpu: "0"
pilot:
enabled: true
k8s:
Expand All @@ -48,9 +27,5 @@ spec:
values:
pilot:
autoscaleEnabled: false
gateways:
istio-ingressgateway:
type: ClusterIP
autoscaleEnabled: false
global:
istioNamespace: istio-system
8 changes: 0 additions & 8 deletions doc/user-guides/authenticated-rl-for-app-developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,6 @@ curl -H 'Host: api.toystore.com' http://$GATEWAY_URL/toy -i
# HTTP/1.1 200 OK
```

> **Note**: If the command above fails to hit the Toy Store API on your environment, try forwarding requests to the service and accessing over localhost:
>
> ```sh
> kubectl port-forward -n istio-system service/istio-ingressgateway 9080:80 2>&1 >/dev/null &
> curl -H 'Host: api.toystore.com' http://localhost:9080/toy -i
> # HTTP/1.1 200 OK
> ```
### ③ Enforce authentication on requests to the Toy Store API

Create a Kuadrant `AuthPolicy` to configure the authentication:
Expand Down
8 changes: 0 additions & 8 deletions doc/user-guides/authenticated-rl-with-jwt-and-k8s-authnz.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,6 @@ curl -H 'Host: api.toystore.com' http://$GATEWAY_URL/toy -i

It should return `200 OK`.

> **Note**: If the command above fails to hit the Toy Store API on your environment, try forwarding requests to the service and accessing over localhost:
>
> ```sh
> kubectl port-forward -n istio-system service/istio-ingressgateway 9080:80 2>&1 >/dev/null &
> curl -H 'Host: api.toystore.com' http://localhost:9080/toy -i
> # HTTP/1.1 200 OK
> ```
### ③ Deploy Keycloak

Create the namesapce:
Expand Down
6 changes: 0 additions & 6 deletions doc/user-guides/simple-rl-for-app-developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,6 @@ curl -H 'Host: api.toystore.com' http://$GATEWAY_URL/toys -i
# HTTP/1.1 200 OK
```

> **Note**: If the command above fails to hit the Toy Store API on your environment, try forwarding requests to the service:
>
> ```sh
> kubectl port-forward -n istio-system service/istio-ingressgateway 9080:80 2>&1 >/dev/null &
> ```
### ③ Enforce rate limiting on requests to the Toy Store API

Create a Kuadrant `RateLimitPolicy` to configure rate limiting:
Expand Down

0 comments on commit 272af35

Please sign in to comment.