diff --git a/eks-anywhere-common/Addons/Partner/Solo.io/namespace.yaml b/eks-anywhere-common/Addons/Partner/Solo.io/namespace.yaml index 224c9360..e65b59c0 100644 --- a/eks-anywhere-common/Addons/Partner/Solo.io/namespace.yaml +++ b/eks-anywhere-common/Addons/Partner/Solo.io/namespace.yaml @@ -1,9 +1,8 @@ apiVersion: v1 kind: Namespace metadata: - name: solo-istio-system + name: istio-system labels: - istio.io/rev: 1-18-3-solo aws.conformance.vendor: solo.io aws.conformance.vendor-solution: solo-istiod - aws.conformance.vendor-solution-version: 1.18.3-eks-a + aws.conformance.vendor-solution-version: 1.18.3-eks-a \ No newline at end of file diff --git a/eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod-source.yaml b/eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod-source.yaml index 04aed2e5..4089eb46 100644 --- a/eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod-source.yaml +++ b/eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod-source.yaml @@ -1,3 +1,4 @@ +--- apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod.yaml b/eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod.yaml index 3a14cc1e..e055c25c 100644 --- a/eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod.yaml +++ b/eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod.yaml @@ -1,8 +1,9 @@ +--- apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: solo-istiod - namespace: solo-istio-system + namespace: istio-system spec: chart: spec: @@ -13,9 +14,4 @@ spec: name: solo-istiod-charts namespace: flux-system version: 1.18.3-eks-a - values: - revision: 1-18-3-solo - global: - istioNamespace: solo-istio-system interval: 1m0s - diff --git a/eks-anywhere-common/Testers/Solo.io/solo-istiod-testJob.yaml b/eks-anywhere-common/Testers/Solo.io/solo-istiod-testJob.yaml index 46b88e74..4985f2fb 100644 --- a/eks-anywhere-common/Testers/Solo.io/solo-istiod-testJob.yaml +++ b/eks-anywhere-common/Testers/Solo.io/solo-istiod-testJob.yaml @@ -2,15 +2,12 @@ apiVersion: batch/v1 kind: CronJob metadata: name: solo-istiod-health-test - namespace: solo-istio-system + namespace: istio-system spec: schedule: "10 10 * * *" jobTemplate: spec: template: - metadata: - annotations: - sidecar.istio.io/inject: "false" spec: containers: - name: solo-istiod-healthtest diff --git a/eks-anywhere-common/Testers/Solo.io/solo-istiod-testjob-script.yaml b/eks-anywhere-common/Testers/Solo.io/solo-istiod-testjob-script.yaml index 235784d0..9673913f 100644 --- a/eks-anywhere-common/Testers/Solo.io/solo-istiod-testjob-script.yaml +++ b/eks-anywhere-common/Testers/Solo.io/solo-istiod-testjob-script.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: tetsjob-script - namespace: solo-istio-system + namespace: istio-system data: run-functional-tests.sh: |- #!/bin/sh @@ -10,8 +10,8 @@ data: # Cleanup function to remove resources cleanup() { echo "Cleaning up resources..." - kubectl delete gateway httpbin-gateway -n solo-istio-system - kubectl delete deployment custom-ingressgateway -n solo-istio-system + kubectl delete gateway httpbin-gateway -n istio-system + kubectl delete deployment custom-ingressgateway -n istio-system # Any additional cleanup commands go here echo "Cleanup completed." } @@ -33,7 +33,7 @@ data: kind: Deployment metadata: name: custom-ingressgateway - namespace: solo-istio-system + namespace: istio-system spec: replicas: 1 selector: @@ -53,7 +53,7 @@ data: EOF # Verify the custom gateway has been deployed - kubectl get deployment custom-ingressgateway -n solo-istio-system + kubectl get deployment custom-ingressgateway -n istio-system } deploy_test_gateway() { @@ -63,7 +63,7 @@ data: kind: Gateway metadata: name: httpbin-gateway - namespace: solo-istio-system + namespace: istio-system spec: selector: istio: custom-ingress-gw # this should match the label of your Istio ingress gateway deployment @@ -77,7 +77,7 @@ data: EOF # Verify the Gateway has been created - kubectl get gateway httpbin-gateway -n solo-istio-system + kubectl get gateway httpbin-gateway -n istio-system } deploy_test_virtualservice() { @@ -87,7 +87,7 @@ data: kind: VirtualService metadata: name: httpbin-virtualservice - namespace: solo-istio-system + namespace: istio-system spec: hosts: - "httpbin.example.com" @@ -105,15 +105,15 @@ data: EOF # Verify the VirtualService has been created - kubectl get virtualservice httpbin-virtualservice -n solo-istio-system + kubectl get virtualservice httpbin-virtualservice -n istio-system } check_istio_gateway_config() { # Get the name of the Istio ingressgateway pod - local ingress_gateway_pod=$(kubectl get pod -l istio=custom-ingress-gw -n solo-istio-system -o jsonpath='{.items[0].metadata.name}') + local ingress_gateway_pod=$(kubectl get pod -l istio=custom-ingress-gw -n istio-system -o jsonpath='{.items[0].metadata.name}') # Check if the ingress gateway has received configuration from Istiod - local gateway_status=$(kubectl exec "$ingress_gateway_pod" -n solo-istio-system -- curl -s 'http://localhost:15000/config_dump') + local gateway_status=$(kubectl exec "$ingress_gateway_pod" -n istio-system -- curl -s 'http://localhost:15000/config_dump') if echo "$gateway_status" | grep 'httpbin.example.com'; then echo "Istio Ingress Gateway has received correct configuration from Istiod." @@ -127,7 +127,7 @@ data: # Wait for the custom ingress gateway deployment to be ready echo "Waiting for the custom ingress gateway deployment to be ready..." - kubectl rollout status deployment/custom-ingressgateway -n solo-istio-system || error_exit "Custom Istio Ingress Gateway deployment is not ready." + kubectl rollout status deployment/custom-ingressgateway -n istio-system || error_exit "Custom Istio Ingress Gateway deployment is not ready." echo "Deploying test gateway..." deploy_test_gateway || error_exit "Failed to deploy test gateway." diff --git a/eks-anywhere-common/Testers/Solo.io/test-job-role.yaml b/eks-anywhere-common/Testers/Solo.io/test-job-role.yaml index e56b364a..54d3158e 100644 --- a/eks-anywhere-common/Testers/Solo.io/test-job-role.yaml +++ b/eks-anywhere-common/Testers/Solo.io/test-job-role.yaml @@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: solo-istiod-job-role - namespace: solo-istio-system + namespace: istio-system rules: - apiGroups: [""] resources: ["pods", "pods/exec", "services"] @@ -18,11 +18,11 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: solo-istiod-job-rolebinding - namespace: solo-istio-system + namespace: istio-system subjects: - kind: ServiceAccount name: default - namespace: solo-istio-system + namespace: istio-system roleRef: kind: Role name: solo-istiod-job-role