Skip to content

Commit

Permalink
OSSM-8242: use just one istio version so we can build it in cpaas + b…
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipB authored Oct 10, 2024
1 parent 64a14b8 commit c8c95fc
Show file tree
Hide file tree
Showing 409 changed files with 78 additions and 62,864 deletions.
4 changes: 2 additions & 2 deletions Makefile.vendor.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 3.0.0-tp.1
VERSION = 3.0.0-tp.2
OPERATOR_NAME = servicemeshoperator3
HUB = quay.io/maistra-dev
CHANNELS = candidates
HELM_VALUES_FILE = ossm/values.yaml
VERSIONS_YAML_FILE = versions.yaml
VERSIONS_YAML_FILE ?= ossm/versions.yaml
GENERATE_RELATED_IMAGES = false
10 changes: 5 additions & 5 deletions api/v1alpha1/istio_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ const (
type IstioSpec struct {
// +sail:version
// Defines the version of Istio to install.
// Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1,displayName="Istio Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:v1.23.0", "urn:alm:descriptor:com.tectonic.ui:select:v1.22.3", "urn:alm:descriptor:com.tectonic.ui:select:v1.21.5", "urn:alm:descriptor:com.tectonic.ui:select:latest"}
// +kubebuilder:validation:Enum=v1.23.0;v1.22.3;v1.21.5;latest
// Must be one of: v1.23.0.
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1,displayName="Istio Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:v1.23.0"}
// +kubebuilder:validation:Enum=v1.23.0
// +kubebuilder:default=v1.23.0
Version string `json:"version"`

Expand All @@ -51,10 +51,10 @@ type IstioSpec struct {
// +sail:profile
// The built-in installation configuration profile to use.
// The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
// Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
// Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
// +++PROFILES-DROPDOWN-HIDDEN-UNTIL-WE-FULLY-IMPLEMENT-THEM+++operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Profile",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:ambient", "urn:alm:descriptor:com.tectonic.ui:select:default", "urn:alm:descriptor:com.tectonic.ui:select:demo", "urn:alm:descriptor:com.tectonic.ui:select:empty", "urn:alm:descriptor:com.tectonic.ui:select:external", "urn:alm:descriptor:com.tectonic.ui:select:minimal", "urn:alm:descriptor:com.tectonic.ui:select:preview", "urn:alm:descriptor:com.tectonic.ui:select:remote"}
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"}
// +kubebuilder:validation:Enum=ambient;default;demo;empty;external;openshift-ambient;openshift;preview;stable
// +kubebuilder:validation:Enum=ambient;default;demo;empty;openshift-ambient;openshift;preview;stable
Profile string `json:"profile,omitempty"`

// Namespace to which the Istio components should be installed.
Expand Down
10 changes: 5 additions & 5 deletions api/v1alpha1/istiocni_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ const (
type IstioCNISpec struct {
// +sail:version
// Defines the version of Istio to install.
// Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1,displayName="Istio Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:v1.23.0", "urn:alm:descriptor:com.tectonic.ui:select:v1.22.3", "urn:alm:descriptor:com.tectonic.ui:select:v1.21.5", "urn:alm:descriptor:com.tectonic.ui:select:latest"}
// +kubebuilder:validation:Enum=v1.23.0;v1.22.3;v1.21.5;latest
// Must be one of: v1.23.0.
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1,displayName="Istio Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:v1.23.0"}
// +kubebuilder:validation:Enum=v1.23.0
// +kubebuilder:default=v1.23.0
Version string `json:"version"`

// +sail:profile
// The built-in installation configuration profile to use.
// The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
// Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
// Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
// +++PROFILES-DROPDOWN-HIDDEN-UNTIL-WE-FULLY-IMPLEMENT-THEM+++operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Profile",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:ambient", "urn:alm:descriptor:com.tectonic.ui:select:default", "urn:alm:descriptor:com.tectonic.ui:select:demo", "urn:alm:descriptor:com.tectonic.ui:select:empty", "urn:alm:descriptor:com.tectonic.ui:select:external", "urn:alm:descriptor:com.tectonic.ui:select:minimal", "urn:alm:descriptor:com.tectonic.ui:select:preview", "urn:alm:descriptor:com.tectonic.ui:select:remote"}
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"}
// +kubebuilder:validation:Enum=ambient;default;demo;empty;external;openshift-ambient;openshift;preview;stable
// +kubebuilder:validation:Enum=ambient;default;demo;empty;openshift-ambient;openshift;preview;stable
Profile string `json:"profile,omitempty"`

// Namespace to which the Istio CNI component should be installed.
Expand Down
6 changes: 3 additions & 3 deletions api/v1alpha1/istiorevision_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ type IstioRevisionSpec struct {

// +sail:version
// Defines the version of Istio to install.
// Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1,displayName="Istio Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:v1.23.0", "urn:alm:descriptor:com.tectonic.ui:select:v1.22.3", "urn:alm:descriptor:com.tectonic.ui:select:v1.21.5", "urn:alm:descriptor:com.tectonic.ui:select:latest"}
// +kubebuilder:validation:Enum=v1.23.0;v1.22.3;v1.21.5;latest
// Must be one of: v1.23.0.
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1,displayName="Istio Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:v1.23.0"}
// +kubebuilder:validation:Enum=v1.23.0
Version string `json:"version"`

// Namespace to which the Istio components should be installed.
Expand Down
10 changes: 5 additions & 5 deletions api/v1alpha1/remoteistio_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const RemoteIstioKind = "RemoteIstio"
type RemoteIstioSpec struct {
// +sail:version
// Defines the version of Istio to install.
// Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1,displayName="Istio Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:v1.23.0", "urn:alm:descriptor:com.tectonic.ui:select:v1.22.3", "urn:alm:descriptor:com.tectonic.ui:select:v1.21.5", "urn:alm:descriptor:com.tectonic.ui:select:latest"}
// +kubebuilder:validation:Enum=v1.23.0;v1.22.3;v1.21.5;latest
// Must be one of: v1.23.0.
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1,displayName="Istio Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:v1.23.0"}
// +kubebuilder:validation:Enum=v1.23.0
// +kubebuilder:default=v1.23.0
Version string `json:"version"`

Expand All @@ -41,10 +41,10 @@ type RemoteIstioSpec struct {
// +sail:profile
// The built-in installation configuration profile to use.
// The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
// Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
// Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
// +++PROFILES-DROPDOWN-HIDDEN-UNTIL-WE-FULLY-IMPLEMENT-THEM+++operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Profile",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:General", "urn:alm:descriptor:com.tectonic.ui:select:ambient", "urn:alm:descriptor:com.tectonic.ui:select:default", "urn:alm:descriptor:com.tectonic.ui:select:demo", "urn:alm:descriptor:com.tectonic.ui:select:empty", "urn:alm:descriptor:com.tectonic.ui:select:external", "urn:alm:descriptor:com.tectonic.ui:select:minimal", "urn:alm:descriptor:com.tectonic.ui:select:preview", "urn:alm:descriptor:com.tectonic.ui:select:remote"}
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"}
// +kubebuilder:validation:Enum=ambient;default;demo;empty;external;openshift-ambient;openshift;preview;stable
// +kubebuilder:validation:Enum=ambient;default;demo;empty;openshift-ambient;openshift;preview;stable
Profile string `json:"profile,omitempty"`

// Namespace to which the Istio components should be installed.
Expand Down
8 changes: 2 additions & 6 deletions bundle/manifests/sailoperator.io_istiocnis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,12 @@ spec:
description: |-
The built-in installation configuration profile to use.
The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
enum:
- ambient
- default
- demo
- empty
- external
- openshift-ambient
- openshift
- preview
Expand Down Expand Up @@ -1395,12 +1394,9 @@ spec:
default: v1.23.0
description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
enum:
- v1.23.0
- v1.22.3
- v1.21.5
- latest
type: string
required:
- namespace
Expand Down
5 changes: 1 addition & 4 deletions bundle/manifests/sailoperator.io_istiorevisions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7927,12 +7927,9 @@ spec:
version:
description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
enum:
- v1.23.0
- v1.22.3
- v1.21.5
- latest
type: string
required:
- namespace
Expand Down
8 changes: 2 additions & 6 deletions bundle/manifests/sailoperator.io_istios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,12 @@ spec:
description: |-
The built-in installation configuration profile to use.
The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
enum:
- ambient
- default
- demo
- empty
- external
- openshift-ambient
- openshift
- preview
Expand Down Expand Up @@ -7983,12 +7982,9 @@ spec:
default: v1.23.0
description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
enum:
- v1.23.0
- v1.22.3
- v1.21.5
- latest
type: string
required:
- namespace
Expand Down
8 changes: 2 additions & 6 deletions bundle/manifests/sailoperator.io_remoteistios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,12 @@ spec:
description: |-
The built-in installation configuration profile to use.
The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
enum:
- ambient
- default
- demo
- empty
- external
- openshift-ambient
- openshift
- preview
Expand Down Expand Up @@ -7978,12 +7977,9 @@ spec:
default: v1.23.0
description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
enum:
- v1.23.0
- v1.22.3
- v1.21.5
- latest
type: string
required:
- namespace
Expand Down
32 changes: 10 additions & 22 deletions bundle/manifests/servicemeshoperator3.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ metadata:
capabilities: Seamless Upgrades
categories: OpenShift Optional, Integration & Delivery, Networking, Security
containerImage: quay.io/maistra-dev/sail-operator:3.0-latest
createdAt: "2024-08-29T15:46:07Z"
createdAt: "2024-10-10T07:52:12Z"
description: The OpenShift Service Mesh Operator enables you to install, configure,
and manage an instance of Red Hat OpenShift Service Mesh. OpenShift Service
Mesh is based on the open source Istio project.
Expand All @@ -55,7 +55,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
repository: https://github.com/istio-ecosystem/sail-operator
support: Red Hat, Inc.
name: servicemeshoperator3.v3.0.0-tp.1
name: servicemeshoperator3.v3.0.0-tp.2
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -164,15 +164,12 @@ spec:
specDescriptors:
- description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
displayName: Istio Version
path: version
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:General
- urn:alm:descriptor:com.tectonic.ui:select:v1.23.0
- urn:alm:descriptor:com.tectonic.ui:select:v1.22.3
- urn:alm:descriptor:com.tectonic.ui:select:v1.21.5
- urn:alm:descriptor:com.tectonic.ui:select:latest
- description: Namespace to which the Istio CNI component should be installed.
displayName: Namespace
path: namespace
Expand All @@ -181,7 +178,7 @@ spec:
- description: |-
The built-in installation configuration profile to use.
The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
displayName: Profile
path: profile
x-descriptors:
Expand All @@ -202,15 +199,12 @@ spec:
specDescriptors:
- description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
displayName: Istio Version
path: version
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:General
- urn:alm:descriptor:com.tectonic.ui:select:v1.23.0
- urn:alm:descriptor:com.tectonic.ui:select:v1.22.3
- urn:alm:descriptor:com.tectonic.ui:select:v1.21.5
- urn:alm:descriptor:com.tectonic.ui:select:latest
- description: Namespace to which the Istio components should be installed.
displayName: Namespace
path: namespace
Expand Down Expand Up @@ -248,15 +242,12 @@ spec:
- urn:alm:descriptor:com.tectonic.ui:select:RevisionBased
- description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
displayName: Istio Version
path: version
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:General
- urn:alm:descriptor:com.tectonic.ui:select:v1.23.0
- urn:alm:descriptor:com.tectonic.ui:select:v1.22.3
- urn:alm:descriptor:com.tectonic.ui:select:v1.21.5
- urn:alm:descriptor:com.tectonic.ui:select:latest
- description: |-
Defines how many seconds the operator should wait before removing a non-active revision after all
the workloads have stopped using it. You may want to set this value on the order of minutes.
Expand Down Expand Up @@ -284,7 +275,7 @@ spec:
- description: |-
The built-in installation configuration profile to use.
The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
displayName: Profile
path: profile
x-descriptors:
Expand Down Expand Up @@ -320,15 +311,12 @@ spec:
- urn:alm:descriptor:com.tectonic.ui:select:RevisionBased
- description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
displayName: Istio Version
path: version
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:General
- urn:alm:descriptor:com.tectonic.ui:select:v1.23.0
- urn:alm:descriptor:com.tectonic.ui:select:v1.22.3
- urn:alm:descriptor:com.tectonic.ui:select:v1.21.5
- urn:alm:descriptor:com.tectonic.ui:select:latest
- description: |-
Defines how many seconds the operator should wait before removing a non-active revision after all
the workloads have stopped using it. You may want to set this value on the order of minutes.
Expand Down Expand Up @@ -356,7 +344,7 @@ spec:
- description: |-
The built-in installation configuration profile to use.
The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
displayName: Profile
path: profile
x-descriptors:
Expand Down Expand Up @@ -784,4 +772,4 @@ spec:
maturity: alpha
provider:
name: Red Hat, Inc.
version: 3.0.0-tp.1
version: 3.0.0-tp.2
4 changes: 2 additions & 2 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: sail-operator
description: A Helm chart for Kubernetes
type: application
version: 3.0.0-tp.1
appVersion: "3.0.0-tp.1"
version: 3.0.0-tp.2
appVersion: "3.0.0-tp.2"
8 changes: 2 additions & 6 deletions chart/crds/sailoperator.io_istiocnis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,12 @@ spec:
description: |-
The built-in installation configuration profile to use.
The 'default' profile is always applied. On OpenShift, the 'openshift' profile is also applied on top of 'default'.
Must be one of: ambient, default, demo, empty, external, openshift-ambient, openshift, preview, stable.
Must be one of: ambient, default, demo, empty, openshift-ambient, openshift, preview, stable.
enum:
- ambient
- default
- demo
- empty
- external
- openshift-ambient
- openshift
- preview
Expand Down Expand Up @@ -1395,12 +1394,9 @@ spec:
default: v1.23.0
description: |-
Defines the version of Istio to install.
Must be one of: v1.23.0, v1.22.3, v1.21.5, latest.
Must be one of: v1.23.0.
enum:
- v1.23.0
- v1.22.3
- v1.21.5
- latest
type: string
required:
- namespace
Expand Down
Loading

0 comments on commit c8c95fc

Please sign in to comment.