Skip to content

Commit d12e615

Browse files
authored
Merge pull request kabanero-io#310 from kaczyns/avoidConsole
WIP - Avoid using the OpenShift console for editing Kabanero CR
2 parents da31c58 + fbb58cf commit d12e615

6 files changed

+14
-0
lines changed

ref/general/configuration/app-deploy-namespace.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ spec:
4040
+
4141
4242
For a full list of supported attributes in a `kabanero.yaml` configuration file, see link:kabanero-cr-config.html[Configuring a Kabanero CR instance].
43+
+
44+
Note: Avoid using the OpenShift Console to edit the Kabanero CR instance. The console may change the `apiVersion` of the Kabanero CR instance from `v1alpha2` to `v1alpha1`. There is a description of the issue link:https://github.com/openshift/console/issues/4444[here].
4345

4446
. Apply your changes to the Kabanero CR instance. For example, to apply changes to the Kabanero CR instance in the `kabanero` namespace, run the following command:
4547
+

ref/general/configuration/github-authorization.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ spec:
3535
- admins
3636
apiUrl: https://api.github.com
3737
```
38+
39+
Note: Avoid using the OpenShift Console to edit the Kabanero CR instance. The console may change the `apiVersion` of the Kabanero CR instance from `v1alpha2` to `v1alpha1`. There is a description of the issue link:https://github.com/openshift/console/issues/4444[here].

ref/general/configuration/kabanero-cr-config.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,5 @@ spec:
292292
cli:
293293
sessionExpirationSeconds: 1h
294294
```
295+
296+
Note: Avoid using the OpenShift Console to edit the Kabanero CR instance. The console may change the `apiVersion` of the Kabanero CR instance from `v1alpha2` to `v1alpha1`. There is a description of the issue link:https://github.com/openshift/console/issues/4444[here].

ref/general/configuration/rhsso.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,7 @@ spec:
4747
.. set enable to `true`
4848
.. set adminSecretName to `rhsso-secret`
4949
.. click **Save**
50+
+
51+
Note: Avoid using the OpenShift Console to edit the Kabanero CR instance. The console may change the `apiVersion` of the Kabanero CR instance from `v1alpha2` to `v1alpha1`. There is a description of the issue link:https://github.com/openshift/console/issues/4444[here].
5052

5153
. The URL to the RHSSO console can be found in the OCP console, in the kabanero project namespace, under networking, in the **sso** route. Use the values that were supplied in the secret for `username` and `password` to login in to the RHSSO console.

ref/general/configuration/stack-install.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ link:https://appsody.dev/docs/stacks/publish[Publishing Stacks], follow these st
1717
* Replace `<release>` with the name of the release that was created
1818

1919
. Find the name of your Kabanero CR instance. Use `oc get kabaneros -n kabanero` to obtain a list of all Kabanero CR instances in namespace `kabanero`. The default name for the CR instance is `kabanero`. Then, edit the specific CR instance using `oc edit kabanero <name> -n kabanero`, replacing `<name>` with the instance name.
20+
+
21+
Note: Avoid using the OpenShift Console to edit the Kabanero CR instance. The console may change the `apiVersion` of the Kabanero CR instance from `v1alpha2` to `v1alpha1`. There is a description of the issue link:https://github.com/openshift/console/issues/4444[here].
2022

2123
. Modify your Kabanero CR instance to target the new stacks that were pushed to the remote GitHub repository and the teams in GitHub that will administer the stacks. Specifically:
2224
* The `Spec.Stacks.Repositories.Https.url` attribute should be set to the URL of the alternative stack repository.

ref/general/reference/troubleshooting.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ If the data does not show a `Ready` state and the problem is persistent, there m
148148
- Use the `oc get kservice -n tekton-pipelines` command.
149149
- If the `webhooks-extension-sink` KService is not in the `Ready` state, delete a revision object that is associated with the `webhooks-extension-sink`. For example, use the `oc delete rev -l serving.knative.dev/configuration=webhooks-extension-sink` command.
150150
151+
== Changes to Kabanero CR instance are not persisted
152+
153+
Avoid using the OpenShift Console to edit the Kabanero CR instance. The console may change the `apiVersion` of the Kabanero CR instance from `v1alpha2` to `v1alpha1`. The fields of the Kabanero CR instance which were not defined in the `v1alpha` version may be deleted. There is a description of the issue link:https://github.com/openshift/console/issues/4444[here].
154+
151155
== Debugging subcomponents
152156
153157
You can use the `oc get` or the `oc describe` command to obtain the status of the subcomponents for the product operator.

0 commit comments

Comments
 (0)