Skip to content

Commit

Permalink
spec.version is required
Browse files Browse the repository at this point in the history
  • Loading branch information
jmazzitelli committed Sep 16, 2024
1 parent 7819a31 commit ced438a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ $ kubectl annotate kiali my-kiali -n istio-system --overwrite kiali.io/reconcile
{{% /alert %}}

The Operator provides comprehensive defaults for all properties of the Kiali
CR. Hence, the minimal Kiali CR does not have a `spec`:
CR. You do, however, need to specify the version to install. Normally, you
can just set this to `default` which tells the Kiali Operator to install
the Kiali Server whose version is the same as that of the operator itself:

```yaml
apiVersion: kiali.io/v1alpha1
kind: Kiali
metadata:
name: kiali
spec:
version: default
```
Assuming you saved the previous YAML to a file named `my-kiali-cr.yaml`, and that you are
Expand Down Expand Up @@ -68,16 +72,17 @@ Status:
Namespace: istio-system
Environment:
Is Kubernetes: true
Kubernetes Version: 1.21.2
Operator Version: v1.40.0
Kubernetes Version: 1.27.3
Operator Version: v1.89.0
Progress:
Duration: 0:00:16
Message: 5. Creating core resources
Duration: 0:00:16
Message: 5. Creating core resources
Spec Version: default
Events: <none>
```

{{% alert color="warning" %}}
*Never* manually edit resources created by the Kiali Operator, only the Kiali CR.
*Never* manually edit resources created by the Kiali Operator; only edit the Kiali CR.
{{% /alert %}}

You may want to check the [example install page]({{< relref "example-install"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ kind: OSSMConsole
metadata:
namespace: openshift-operators
name: ossmconsole
spec:
version: default
EOM
```

Expand Down

0 comments on commit ced438a

Please sign in to comment.