diff --git a/infrastructure/istio-base/base/helmrelease.yaml b/infrastructure/istio-base/base/helmrelease.yaml new file mode 100644 index 0000000..7e873c0 --- /dev/null +++ b/infrastructure/istio-base/base/helmrelease.yaml @@ -0,0 +1,22 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: istio-base + namespace: istio-system +spec: + interval: 10m + chart: + spec: + chart: istio-base-contour + version: "1.24.0" + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 \ No newline at end of file diff --git a/infrastructure/istio-base/base/kustomization.yaml b/infrastructure/istio-base/base/kustomization.yaml new file mode 100644 index 0000000..69a5e51 --- /dev/null +++ b/infrastructure/istio-base/base/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: cert-manager +resources: + - namespace.yaml + - helmrelease.yaml \ No newline at end of file diff --git a/infrastructure/istio-base/base/namespace.yaml b/infrastructure/istio-base/base/namespace.yaml new file mode 100644 index 0000000..d5eee5a --- /dev/null +++ b/infrastructure/istio-base/base/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: istio-system \ No newline at end of file diff --git a/infrastructure/istio-base/kustomization.yaml b/infrastructure/istio-base/kustomization.yaml new file mode 100644 index 0000000..65c9ea5 --- /dev/null +++ b/infrastructure/istio-base/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./base \ No newline at end of file diff --git a/infrastructure/istio-gateway/base/helmrelease.yaml b/infrastructure/istio-gateway/base/helmrelease.yaml new file mode 100644 index 0000000..0edeece --- /dev/null +++ b/infrastructure/istio-gateway/base/helmrelease.yaml @@ -0,0 +1,22 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: ingressgateway + namespace: istio-system +spec: + interval: 10m + chart: + spec: + chart: istio-gateway-contour + version: "1.24.0" + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 \ No newline at end of file diff --git a/infrastructure/istio-gateway/base/kustomization.yaml b/infrastructure/istio-gateway/base/kustomization.yaml new file mode 100644 index 0000000..69a5e51 --- /dev/null +++ b/infrastructure/istio-gateway/base/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: cert-manager +resources: + - namespace.yaml + - helmrelease.yaml \ No newline at end of file diff --git a/infrastructure/istio-gateway/kustomization.yaml b/infrastructure/istio-gateway/kustomization.yaml new file mode 100644 index 0000000..65c9ea5 --- /dev/null +++ b/infrastructure/istio-gateway/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./base \ No newline at end of file diff --git a/infrastructure/istio-pilot/base/helmrelease.yaml b/infrastructure/istio-pilot/base/helmrelease.yaml new file mode 100644 index 0000000..5465e30 --- /dev/null +++ b/infrastructure/istio-pilot/base/helmrelease.yaml @@ -0,0 +1,22 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: istiod + namespace: istio-system +spec: + interval: 10m + chart: + spec: + chart: istiod-contour + version: "1.24.0" + sourceRef: + kind: HelmRepository + name: yc-oci-charts + namespace: flux-system + interval: 10m + install: + remediation: + retries: 3 + upgrade: + remediation: + retries: 3 \ No newline at end of file diff --git a/infrastructure/istio-pilot/base/kustomization.yaml b/infrastructure/istio-pilot/base/kustomization.yaml new file mode 100644 index 0000000..69a5e51 --- /dev/null +++ b/infrastructure/istio-pilot/base/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: cert-manager +resources: + - namespace.yaml + - helmrelease.yaml \ No newline at end of file diff --git a/infrastructure/istio-pilot/kustomization.yaml b/infrastructure/istio-pilot/kustomization.yaml new file mode 100644 index 0000000..65c9ea5 --- /dev/null +++ b/infrastructure/istio-pilot/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./base \ No newline at end of file diff --git a/infrastructure/kustomization.yaml b/infrastructure/kustomization.yaml index f77becc..9153fd2 100644 --- a/infrastructure/kustomization.yaml +++ b/infrastructure/kustomization.yaml @@ -3,3 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - cert-manager + - istio-base + - istio-pilot + - istio-gateway