Skip to content

Commit

Permalink
Update gitea cli usage for user creation
Browse files Browse the repository at this point in the history
  • Loading branch information
andykrohg committed Apr 14, 2021
1 parent f2dc7bc commit a8cb729
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/operate.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IMG=quay.io/redhatgov/gitea-operator
KIND=Gitea
CR_SAMPLE=redhatgov_v1alpha1_gitea_openshift.yaml
VERSION=0.0.6
VERSION=0.0.7
CHANNELS=alpha
OSDK_VERSION=1.4.2
2 changes: 1 addition & 1 deletion roles/gitea-ocp/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
pod: '{{ gitea_pod_name }}'
command: >
/home/gitea/gitea --config=/home/gitea/conf/app.ini
admin create-user --admin --access-token
admin user create --admin --access-token
--username '{{ _gitea_admin_user }}'
--password '{{ gitea_admin_password }}'
--email '{{ _gitea_admin_email }}'
Expand Down
2 changes: 1 addition & 1 deletion roles/gitea-ocp/tasks/user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
pod: '{{ gitea_pod_name }}'
command: >
/home/gitea/gitea --config=/home/gitea/conf/app.ini
admin create-user --access-token
admin user create --access-token
--username '{{ _giteauser.username }}'
--password '{{ _giteauser.password }}'
--email '{{ _giteauser.email }}'
Expand Down

0 comments on commit a8cb729

Please sign in to comment.