You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ossm-about-concepts-resources.adoc
+33-4Lines changed: 33 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,6 @@
7
7
8
8
{SMProductName} Operator manages the lifecycle of your Istio control planes. Instead of creating a new configuration schema, {SMProduct} Operator APIs are built around Istio's Helm chart APIs.
9
9
10
-
//All installation and configuration options that are exposed by Istio's Helm charts are available through the {SMProduct} Operator Custom Resource Definition (CRD) `values` fields.
11
-
12
10
[NOTE]
13
11
====
14
12
* Though {SMProductName} APIs are built around Istio's Helm chart APIs, Helm charts are not supported.
@@ -78,6 +76,35 @@ You can think of the relationship between the `Istio` and `IstioRevision` resour
78
76
79
77
Similarly, users create an `Istio` resource which instructs the {SMProduct} Operator to create a matching `IstioRevision` resource, which then in turn triggers the creation of the Istio control plane. To do that, the {SMProduct} Operator will copy all of your relevant configuration from the `Istio` resource to the `IstioRevision` resource.
80
78
79
+
[id="istiorevisiontag-resource_{context}"]
80
+
== IstioRevisionTag resource
81
+
82
+
The `IstioRevisionTag` resource represents a stable revision tag that functions as an alias for Istio control plane revisions. With the stable tag, `prod`, you can use the label `istio.io/rev=prod` to inject proxies into your workloads. When you perform an upgrade to a control plane with a new revision name, you can update your tag to point to the new revision instead of having to relabel your workloads and namespaces. For more information, see link:https://istio.io/latest/docs/setup/upgrade/canary/#stable-revision-labels[Stable revision labels] (Istio documentation).
83
+
84
+
You can use the `IstioRevisionTag` resource with the {SMProduct} Operator. Therefore you can reference both an `IstioRevision` and an `Istio` resource. When using an `Istio` resource, after you update your control plane, the underlying `IstioRevision` resource changes, and the {SMProduct} Operator automatically updates your revision tag. You only need to restart your deployments to re-inject the new proxies.
85
+
86
+
The `IstioRevisionTag` has one field in its `spec:` field, `targetRef`, which can reference an `Istio` or `IstioRevision` resource. After deploying the `IstioRevisionTag`, you can use both the `istio.io/rev=default` and `istio-injection=enabled` labels to inject proxies into your workloads.
87
+
88
+
[Important]
89
+
====
90
+
The `istio-injection` label can only be used for revisions and revision tags that have the name `default`, like the `IstioRevisionTag` resource in the following example:
91
+
92
+
.Example `IstioRevisionTag` resource
93
+
[source,yaml]
94
+
----
95
+
apiVersion: sailoperator.io/v1
96
+
kind: IstioRevisionTag
97
+
metadata:
98
+
name: default
99
+
spec:
100
+
targetRef:
101
+
kind: Istio <1>
102
+
name: prod <2>
103
+
----
104
+
<1> This value can be either `Istio` or `IstioRevision`.
105
+
<2> The name of the `Istio` or `IstioRevision` resource.
106
+
====
107
+
81
108
[id="istiocni-resource_{context}"]
82
109
== IstioCNI resource
83
110
@@ -102,9 +129,11 @@ spec:
102
129
- kube-system
103
130
----
104
131
105
-
//[role=_additional-resources]
132
+
//commenting out in case it is needed when more resources are added
133
+
//[role="_additional-resources"]
134
+
//[id="additional-resources_{context}"]
106
135
//== Additional resources
107
-
//builds keep failing due to xrefs so removed until this gets merged. May return to this prior to OSSM 3.x GA.
0 commit comments