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-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..75bcb73 --- /dev/null +++ b/infrastructure/controllers/istio/kustomization.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - namespace.yaml + - repository.yaml + - istio-base.yaml + - istio-istiod.yaml diff --git a/infrastructure/controllers/istio/namespace.yaml b/infrastructure/controllers/istio/namespace.yaml new file mode 100644 index 0000000..60de14f --- /dev/null +++ b/infrastructure/controllers/istio/namespace.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: istio-system 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