diff --git a/K8s/Istio/gateway.yaml b/K8s/Istio/gateway.yaml index 5016f05..a4359a0 100644 --- a/K8s/Istio/gateway.yaml +++ b/K8s/Istio/gateway.yaml @@ -14,7 +14,7 @@ spec: hosts: - "*" --- -apiVersion: networking.istio.io/v1aplha3 +apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: robotshop @@ -24,11 +24,9 @@ spec: gateways: - robotshop-gateway http: - - match: - - uri: - prefix: / - route: + # default route + - route: - destination: - host: web.robot-shop.svc.cluster.local - port: - number: 8080 + host: web.robot-shop.svc.cluster.local + port: + number: 8080 diff --git a/K8s/descriptors/mysql-deployment.yaml b/K8s/descriptors/mysql-deployment.yaml index 57b3013..de2ae2d 100644 --- a/K8s/descriptors/mysql-deployment.yaml +++ b/K8s/descriptors/mysql-deployment.yaml @@ -13,6 +13,8 @@ spec: metadata: labels: service: mysql + annotations: + sidecar.istio.io/inject: "false" spec: containers: - name: mysql diff --git a/K8s/descriptors/resource-quota.yaml b/K8s/resource-quota.yaml similarity index 100% rename from K8s/descriptors/resource-quota.yaml rename to K8s/resource-quota.yaml