diff --git a/CODEOWNERS b/CODEOWNERS index 48ebe20bf31c..0df3a82b31e7 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -30,10 +30,8 @@ /installation @kyma-project/Jellyfish /installation/resources/crds/compass-runtime-agent @kyma-project/Framefrog -/installation/resources/crds/istio @kyma-project/goat /resources/compass-runtime-agent @kyma-project/Framefrog -/resources/istio @kyma-project/goat /tests/components/application-connector @kyma-project/Framefrog diff --git a/installation/resources/components.yaml b/installation/resources/components.yaml index 5964b3aec8a7..482f0192a66c 100644 --- a/installation/resources/components.yaml +++ b/installation/resources/components.yaml @@ -1,5 +1,2 @@ --- defaultNamespace: kyma-system -prerequisites: - - name: "istio" - namespace: "istio-system" diff --git a/installation/resources/crds/istio/istios.operator.crd.yaml b/installation/resources/crds/istio/istios.operator.crd.yaml deleted file mode 100644 index e2eb6e52d957..000000000000 --- a/installation/resources/crds/istio/istios.operator.crd.yaml +++ /dev/null @@ -1,134 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null - labels: - app.kubernetes.io/component: istio-operator.kyma-project.io - name: istios.operator.kyma-project.io -spec: - group: operator.kyma-project.io - names: - kind: Istio - listKind: IstioList - plural: istios - singular: istio - scope: Namespaced - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - description: Contains Istio CR specification and current status. - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: Defines the desired specification for installing or updating - Istio. - properties: - config: - description: Configures the Istio installation. - properties: - numTrustedProxies: - description: Specifies the number of trusted proxies deployed in - front of the Istio gateway proxy. - type: integer - type: object - type: object - status: - description: Describes the observed state of CustomObject. - properties: - conditions: - description: Contains conditions associated with CustomStatus. - items: - description: Describes one aspect of the current - state of the API resource. The struct is intended for direct - use as an array at the field path **.status.conditions**. For example, - a type of the FooStatus struct. It represents the observations of - foo's current state. The available **.status.conditions.type** are `Available`, - `Progressing`, and `Degraded`. - properties: - lastTransitionTime: - description: Specifies the last time when the condition - transitioned from one status to another. That is, when - the underlying condition changed. If not known, using - the last time when the API field changed is also acceptable. - format: date-time - type: string - message: - description: Displays a human readable message indicating - the details about the transition. It can be an empty string. - maxLength: 32768 - type: string - observedGeneration: - description: Represents the **.metadata.generation** - that the condition was based upon. For example, if **.metadata.generation** - is currently 12, but the **.status.conditions[x].observedGeneration** - is 9, the condition is out of date with respect to the current - state of the instance. - format: int64 - minimum: 0 - type: integer - reason: - description: Contains a programmatic identifier indicating - the reason for the condition's last transition. Producers - of specific condition types may define expected values and - meanings for this field, and whether the values are considered - a guaranteed API. The value must be a CamelCase string. - This field is required. - maxLength: 1024 - minLength: 1 - pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ - type: string - status: - description: Describes the status of the condition. The value is either `True`, `False`, or `Unknown`. - enum: - - "True" - - "False" - - Unknown - type: string - type: - description: Describes the type of the condition in CamelCase or in `foo.example.com/CamelCase`. - Many **.condition.type** values are consistent across all resources, for example - `Available`, but because arbitrary conditions can be useful - (see **.node.status.conditions**), the ability to deconflict is - important. It matches the following regex:/ (dns1123SubdomainFmt/)?(qualifiedNameFmt). - maxLength: 316 - pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ - type: string - required: - - lastTransitionTime - - message - - reason - - status - - type - type: object - type: array - state: - description: Signifies the current state of CustomObject. - The value is either `Ready`, `Processing`, `Error`, or `Deleting`. - enum: - - Processing - - Deleting - - Ready - - Error - type: string - required: - - state - type: object - type: object - served: true - storage: true - subresources: - status: {} diff --git a/resources/istio/Chart.yaml b/resources/istio/Chart.yaml deleted file mode 100644 index fc1fc50ae61e..000000000000 --- a/resources/istio/Chart.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -name: istio -version: 1.19.3 -appVersion: 1.19.3 -tillerVersion: ">=2.7.2-0" -description: Kyma 2.0 Helm chart for Istio Operator resource -keywords: - - istio - - security - - sidecarInjectorWebhook - - mixer - - pilot - - galley -sources: - - http://github.com/istio/istio -engine: gotpl -home: https://kyma-project.io -icon: https://github.com/kyma-project/kyma/blob/main/logo.png?raw=true diff --git a/resources/istio/README.md b/resources/istio/README.md deleted file mode 100644 index 35eadf4c4d21..000000000000 --- a/resources/istio/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# Istio - -## Overview - -[Istio](https://istio.io/) is an open-source service mesh providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies, and aggregate telemetry data. - -The Istio Helm chart includes the `istio-manager-config.yaml` file, which contains the configuration needed for the Istio module's installation. - -By default, the Istio module installs the following Istio components: - -- ingressgateway -- istiod (pilot, citadel, and galley) -- istio-cni - -## Installation - -The installation of the Istio chart requires [Reconciler](https://github.com/kyma-incubator/reconciler/tree/main/pkg/reconciler/instances/istio). Reconciler uses the [Istio library](https://github.com/istio/istio/tree/master/operator) and the `IstioOperatorConfiguration` file to install Istio on a cluster. To install the component, run: - -```bash -kyma deploy --components istio@istio-system -``` - -## Configuration - -The installation of Istio ships with a default configuration. There may be circumstances in which you want to change the defaults. - -Istio is installed as a module, which can be configured using the Istio custom resource. Visit the [Istio repository](https://github.com/kyma-project/istio) for more information. diff --git a/resources/istio/templates/_helpers.tpl b/resources/istio/templates/_helpers.tpl deleted file mode 100644 index f79bea415765..000000000000 --- a/resources/istio/templates/_helpers.tpl +++ /dev/null @@ -1,46 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "istio.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "istio.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "istio.chart" -}} -{{- .Chart.Name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a fully qualified configmap name. -*/}} -{{- define "istio.configmap.fullname" -}} -{{- printf "%s-%s" .Release.Name "istio-mesh-config" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Configmap checksum. -*/}} -{{- define "istio.configmap.checksum" -}} -{{- print $.Template.BasePath "/configmap.yaml" | sha256sum -}} -{{- end -}} diff --git a/resources/istio/templates/istio-manager-config.yaml b/resources/istio/templates/istio-manager-config.yaml deleted file mode 100644 index 68f7cf6f2aaa..000000000000 --- a/resources/istio/templates/istio-manager-config.yaml +++ /dev/null @@ -1,2 +0,0 @@ -kind: IstioOperatorConfiguration -tag: "1.1.1" diff --git a/resources/istio/values.yaml b/resources/istio/values.yaml deleted file mode 100644 index e60bd4eabffd..000000000000 --- a/resources/istio/values.yaml +++ /dev/null @@ -1,21 +0,0 @@ -global: - containerRegistry: - path: europe-docker.pkg.dev/kyma-project - images: - # these definitions aren't used by the chart, but they are required by external tool for list generation - istio_proxyv2: - name: "proxyv2" - version: "1.19.3-distroless" - directory: "prod/external/istio" - istio_pilot: - name: "pilot" - version: "1.19.3-distroless" - directory: "prod/external/istio" - istio_install-cni: - name: "install-cni" - version: "1.19.3-distroless" - directory: "prod/external/istio" - istio_operator_image: - name: "istio-manager" - version: "1.1.1" - directory: "prod"