From e980ab18604bd15c8382d07886f5439b5454360c Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Wed, 5 Mar 2025 15:49:42 -0600 Subject: [PATCH] add Istio --- .../controllers/istio/istio-base.yaml | 18 ++++++++++++++++++ .../istio/istio-ingressgateway.yaml | 17 +++++++++++++++++ .../controllers/istio/istio-istiod.yaml | 16 ++++++++++++++++ .../controllers/istio/kustomization.yaml | 9 +++++++++ .../controllers/istio/namespace.yaml | 10 ++++++++++ .../controllers/istio/repository.yaml | 9 +++++++++ 6 files changed, 79 insertions(+) create mode 100644 infrastructure/controllers/istio/istio-base.yaml create mode 100644 infrastructure/controllers/istio/istio-ingressgateway.yaml create mode 100644 infrastructure/controllers/istio/istio-istiod.yaml create mode 100644 infrastructure/controllers/istio/kustomization.yaml create mode 100644 infrastructure/controllers/istio/namespace.yaml create mode 100644 infrastructure/controllers/istio/repository.yaml diff --git a/infrastructure/controllers/istio/istio-base.yaml b/infrastructure/controllers/istio/istio-base.yaml new file mode 100644 index 0000000..c88f0c2 --- /dev/null +++ b/infrastructure/controllers/istio/istio-base.yaml @@ -0,0 +1,18 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: istio-base + namespace: istio-system +spec: + releaseName: istio-base + interval: 5m + chart: + spec: + chart: base + sourceRef: + kind: HelmRepository + name: istio + interval: 1m + values: + defaultRevision: default diff --git a/infrastructure/controllers/istio/istio-ingressgateway.yaml b/infrastructure/controllers/istio/istio-ingressgateway.yaml new file mode 100644 index 0000000..ee1fd5f --- /dev/null +++ b/infrastructure/controllers/istio/istio-ingressgateway.yaml @@ -0,0 +1,17 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: istio-ingressgateway + namespace: istio-ingress +spec: + releaseName: istio-ingressgateway + interval: 5m + chart: + spec: + chart: gateway + sourceRef: + kind: HelmRepository + name: istio + namespace: istio-system + interval: 1m diff --git a/infrastructure/controllers/istio/istio-istiod.yaml b/infrastructure/controllers/istio/istio-istiod.yaml new file mode 100644 index 0000000..86ac91f --- /dev/null +++ b/infrastructure/controllers/istio/istio-istiod.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: istio-istiod + namespace: istio-system +spec: + releaseName: istio-istiod + interval: 5m + chart: + spec: + chart: istiod + sourceRef: + kind: HelmRepository + name: istio + interval: 1m diff --git a/infrastructure/controllers/istio/kustomization.yaml b/infrastructure/controllers/istio/kustomization.yaml new file mode 100644 index 0000000..5772dcd --- /dev/null +++ b/infrastructure/controllers/istio/kustomization.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - namespace.yaml + - repository.yaml + - istio-base.yaml + - istio-istiod.yaml + - istio-ingressgateway.yaml diff --git a/infrastructure/controllers/istio/namespace.yaml b/infrastructure/controllers/istio/namespace.yaml new file mode 100644 index 0000000..1e75d81 --- /dev/null +++ b/infrastructure/controllers/istio/namespace.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: istio-system +--- +apiVersion: v1 +kind: Namespace +metadata: + name: istio-ingress diff --git a/infrastructure/controllers/istio/repository.yaml b/infrastructure/controllers/istio/repository.yaml new file mode 100644 index 0000000..00da8b3 --- /dev/null +++ b/infrastructure/controllers/istio/repository.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: istio + namespace: istio-system +spec: + interval: 5m + url: https://istio-release.storage.googleapis.com/charts