---
title: Charmhub | Deploy Forgejo K8s Operator using Charmhub - The Open Operator Collection
description: Deploy the latest version of Forgejo K8s Operator as a Kubernetes Operator
  on any cloud.
url: https://charmhub.io/forgejo-k8s/actions
---

# Forgejo K8s Operator

[Diko Parvanov](https://charmhub.io/publisher/dparv "View all packages from Diko Parvanov")

* [Diko Parvanov](https://charmhub.io/publisher/dparv "View all packages from Diko Parvanov")

Platform:

stable 4

```
juju deploy forgejo-k8s
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [create-admin-user](https://charmhub.io/forgejo-k8s/actions#create-admin-user)
* [generate-runner-secret](https://charmhub.io/forgejo-k8s/actions#generate-runner-secret)
* [generate-user-token](https://charmhub.io/forgejo-k8s/actions#generate-user-token)
* [reset-user-password](https://charmhub.io/forgejo-k8s/actions#reset-user-password)

[Learn about actions >](https://juju.is/docs/juju/action)

* create-admin-user

  Create an admin user in Forgejo with random password.

  Params

  + email
    string

    Email is requried
  + username
    string

    Username for the new admin user (default is "admin")

  Required

  username,
  email
* generate-runner-secret

  Generate a registration secret for a Forgejo Actions Runner.

  Params

  + labels
    string

    comma separated list of labels supported by the runner
    (e.g. docker,ubuntu-latest,self-hosted) (default is "docker")
  + name
    string

    Name of the runner (default is "runner")
  + scope
    string

    owner/repo; leave empty for a global runner
* generate-user-token

  Generate an API access token for the specified Forgejo user.

  Params

  + scopes
    string

    Comma separated list of scopes to apply to access token
    Examples "all", "public-only,read:issue", "write:repository,write:user" (default is "all")
  + token-name
    string

    Name to assign to the generated token (default is "charm-token").
  + username
    string

    Username of the Forgejo user to generate the token for.

  Required

  username
* reset-user-password

  Reset the password for a Forgejo user to a new random password.

  Params

  + password
    string

    New password to be set for the user.
  + username
    string

  Required

  username,
  password
