Skip to content

Commit

Permalink
Add a few lines about gitea and how to get the gitea secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaldessari committed Dec 4, 2024
1 parent 75ddddb commit ac5fb34
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/patterns/industrial-edge/application.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ Now let's turn on the temperature sensor. Go to the gitea link on the nine box l

[![gitea-signin](/images/industrial-edge/gitea-signin.png)](/images/industrial-edge/gitea-signin.png)

You can run the following command to obtain the gitea user's password automatically:

```
oc extract -n vp-gitea secret/gitea-admin-secret --to=- --keys=password 2>/dev/null
```

In the `industrial-edge` repository, edit the file called
`charts/datacenter/manuela-tst/templates/machine-sensor/machine-sensor-2-configmap.yaml`
and change `SENSOR_TEMPERATURE_ENABLED: "false"` to `SENSOR_TEMPERATURE_ENABLED: "true"`.
Expand Down
4 changes: 4 additions & 0 deletions content/patterns/industrial-edge/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ service](https://console.redhat.com/openshift/create).

For installation tooling dependencies, see [Patterns quick start](/learn/quickstart)

The Industrial Edge pattern installs an in-cluster gitea instance by default. This
means that there is no need to fork the pattern's git repository and that ArgoCD will point
directly at the in-cluster git repository. Changes should be done there and not on github.
See this [post](https://validatedpatterns.io/blog/2024-07-12-in-cluster-git/) for more information.

# How to deploy

Expand Down

0 comments on commit ac5fb34

Please sign in to comment.