rhpds / gitea-operator

Gitea Operator to deploy to OpenShift 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[RFE] Add the ability to create users

christianh814 opened this issue · comments

It would be cool to be able to add users declaratively, using this Operator. For example:

giteaCreateUsers:
  - name: "user1"
    password: "myPassowrd"
    email: "user1@example.com"
    changePassword: false
    sendNotification: false
  - name: "user2"
    generatePassword: true
    email: "user2@example.com"
    changePassword: true
    sendNotification: true

Right now, I'm doing this as a "post sync hook" in my workflow and want to switch off using curl and have the operator take care of it for me :)

@christianh814 This is a feature of the AgnosticD workload.

But for users not using AgnosticD, this would be a welcome feature!

@christianh814 v1.3.0 adds this capability. See the readme on how to use.