Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Solo.io to the Partners #165

Merged
merged 9 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions eks-anywhere-common/Addons/Partner/Solo.io/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: istio-system
labels:
aws.conformance.vendor: solo.io
aws.conformance.vendor-solution: solo-istiod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: solo-istiod-charts
namespace: flux-system
spec:
interval: 30s
url: https://solo-io.github.io/eks-anywhere-istio-charts
17 changes: 17 additions & 0 deletions eks-anywhere-common/Addons/Partner/Solo.io/solo-istiod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: solo-istiod
namespace: istio-system
spec:
chart:
spec:
chart: solo-istiod
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: solo-istiod-charts
namespace: flux-system
version: 1.18.3-eks-a
interval: 1m0s
30 changes: 30 additions & 0 deletions eks-anywhere-common/Testers/Solo.io/solo-istiod-testJob.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: batch/v1
kind: Job
metadata:
name: solo-istiod-healthtest
namespace: istio-system
spec:
backoffLimit: 1
template:
spec:
containers:
- name: solo-istiod-healthtest
image: curlimages/curl:latest
command:
- /bin/sh
- -c
- >-
# Make a request to the Istiod service and store the HTTP status code
HTTP_STATUS=$(curl -o /dev/null -s -w "%{http_code}\n" --location --insecure "https://istiod.istio-system.svc.cluster.local:15012")

echo "Checking HTTP status code from Istiod service."

# Check if the HTTP status code is 200 (OK)
if [ "$HTTP_STATUS" -eq 200 ]; then
echo "Received 200 OK from Istiod service. Successful."
exit 0
else
echo "Istiod service check failed with status code: $HTTP_STATUS"
exit 1
fi
restartPolicy: Never