Skip to content

Commit

Permalink
Update Gitea Operator to v2 (#294)
Browse files Browse the repository at this point in the history
* Update Gitea Operator to v2

The previously referenced Gitea Operator was moved to another repo and was rewritten/updated.

https://github.com/rhpds/gitea-operator

* Update apiVersion

* Fix typo

Co-authored-by: Benjamin Affolter <[email protected]>

---------

Co-authored-by: Benjamin Affolter <[email protected]>
  • Loading branch information
cfahrni and bliemli authored Oct 12, 2023
1 parent 3c87cd3 commit 546a9db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
18 changes: 5 additions & 13 deletions content/en/docs/05/01_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,18 @@ It allows us to easily host a Git repository which we can use as our single sour

Unfortunately, the default Operator catalog sources don't contain a Gitea operator, but let's change that.

Add the following catalog source to your cluster:
Create the Gitea Operator by applying the YAML files from the Github repository:

```bash
oc apply -f https://raw.githubusercontent.com/redhat-gpte-devopsautomation/gitea-operator/master/catalog_source.yaml
oc apply -k https://github.com/rhpds/gitea-operator/OLMDeploy
```

Now find and install the Gitea Operator from the OperatorHub.
Now check the status of the Gitea Operator in the web console.

{{% details title="Hints" mode-switcher="normalexpertmode" %}}

* In the **Administrator** view of your web console, navigate to **Operators**, then **OperatorHub**
* Filter for "gitea"

{{% alert title="Note" color="primary" %}}
If the Gitea Operator does not appear yet, wait a few more seconds.
{{% /alert %}}

* Choose the Operator and click **Install**
* Don't change any of the pre-chosen values and again click **Install**
* Wait for the Operator to finish its installation successfully
* In the **Administrator** view of your web console, navigate to **Operators**, then **Installed Operators**
* Filter for "Gitea Operator" and wait for the Operator to finish its installation successfully

{{% /details %}}

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/05/resources/gitea_gitea.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: gpte.opentlc.com/v1
apiVersion: pfe.rhpds.com/v1
kind: Gitea
metadata:
name: gitea
Expand Down

0 comments on commit 546a9db

Please sign in to comment.